2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:23 +04: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 23:24:43 +04:00
|
|
|
EXPORTS.snappy += [
|
|
|
|
'snappy-stubs-public.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'src/snappy-c.h',
|
|
|
|
'src/snappy.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2013-11-30 12:17:00 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-10-03 11:10:00 +04:00
|
|
|
'src/snappy-c.cc',
|
|
|
|
'src/snappy-sinksource.cc',
|
|
|
|
'src/snappy-stubs-internal.cc',
|
|
|
|
'src/snappy.cc',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2015-10-20 04:05:20 +03:00
|
|
|
# We allow warnings for third-party code that can be updated from upstream.
|
2015-08-28 06:44:53 +03:00
|
|
|
ALLOW_COMPILER_WARNINGS = True
|
|
|
|
|
2013-11-19 06:47:14 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2014-03-16 10:24:47 +04:00
|
|
|
|
|
|
|
# Suppress warnings in third-party code.
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += [
|
|
|
|
'-Wno-sign-compare',
|
|
|
|
'-Wno-unused-function'
|
|
|
|
]
|