2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:23 +00:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS.snappy += [
|
|
|
|
'snappy-stubs-public.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'src/snappy-c.h',
|
|
|
|
'src/snappy.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
2013-11-30 08:17:00 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-10-03 07:10:00 +00:00
|
|
|
'src/snappy-c.cc',
|
|
|
|
'src/snappy-sinksource.cc',
|
|
|
|
'src/snappy-stubs-internal.cc',
|
|
|
|
'src/snappy.cc',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
|
|
|
|
2015-10-20 01:05:20 +00:00
|
|
|
# We allow warnings for third-party code that can be updated from upstream.
|
2015-08-28 03:44:53 +00:00
|
|
|
ALLOW_COMPILER_WARNINGS = True
|
|
|
|
|
2013-11-19 02:47:14 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2014-03-16 06:24:47 +00:00
|
|
|
|
|
|
|
# Suppress warnings in third-party code.
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += [
|
|
|
|
'-Wno-sign-compare',
|
|
|
|
'-Wno-unused-function'
|
|
|
|
]
|