Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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/.
7 LIBRARY_NAME = 'stlport_static'
9 FORCE_STATIC_LIB = True
11 SOURCES += [
12 'src/allocators.cpp',
13 'src/bitset.cpp',
14 'src/codecvt.cpp',
15 'src/collate.cpp',
16 'src/complex.cpp',
17 'src/complex_io.cpp',
18 'src/complex_trig.cpp',
19 'src/ctype.cpp',
20 'src/dll_main.cpp',
21 'src/facets_byname.cpp',
22 'src/fstream.cpp',
23 'src/ios.cpp',
24 'src/iostream.cpp',
25 'src/istream.cpp',
26 'src/locale.cpp',
27 'src/locale_catalog.cpp',
28 'src/locale_impl.cpp',
29 'src/messages.cpp',
30 'src/monetary.cpp',
31 'src/num_get.cpp',
32 'src/num_get_float.cpp',
33 'src/num_put.cpp',
34 'src/num_put_float.cpp',
35 'src/numpunct.cpp',
36 'src/ostream.cpp',
37 'src/sstream.cpp',
38 'src/stdio_streambuf.cpp',
39 'src/string.cpp',
40 'src/strstream.cpp',
41 'src/time_facets.cpp',
42 ]
44 SOURCES += [
45 'src/c_locale.c',
46 'src/cxa.c',
47 ]
49 DEFINES['_GNU_SOURCE'] = True
51 LOCAL_INCLUDES += [
52 'stlport',
53 ]
55 DISABLE_STL_WRAPPING = True
57 # Suppress warnings in third-party code.
58 if CONFIG['GNU_CXX']:
59 CXXFLAGS += [
60 '-Wno-empty-body',
61 '-Wno-type-limits',
62 ]