other-licenses/snappy/moz.build

branch
TOR_BUG_9701
changeset 8
97036ab72558
equal deleted inserted replaced
-1:000000000000 0:67d6b0a024dd
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7 EXPORTS.snappy += [
8 'snappy-stubs-public.h',
9 'src/snappy-c.h',
10 'src/snappy.h',
11 ]
12
13 UNIFIED_SOURCES += [
14 'src/snappy-c.cc',
15 'src/snappy-sinksource.cc',
16 'src/snappy-stubs-internal.cc',
17 'src/snappy.cc',
18 ]
19
20 FINAL_LIBRARY = 'xul'
21
22 # Suppress warnings in third-party code.
23 if CONFIG['GNU_CXX']:
24 CXXFLAGS += [
25 '-Wno-sign-compare',
26 '-Wno-unused-function'
27 ]

mercurial