|
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 += [ |
|
8 'APKOpen.h', |
|
9 ] |
|
10 |
|
11 SOURCES += [ |
|
12 'APKOpen.cpp', |
|
13 'NativeCrypto.cpp', |
|
14 'nsGeckoUtils.cpp', |
|
15 'NSSBridge.cpp', |
|
16 'pbkdf2_sha256.c', |
|
17 'SQLiteBridge.cpp', |
|
18 ] |
|
19 |
|
20 FAIL_ON_WARNINGS = True |
|
21 |
|
22 FINAL_LIBRARY = 'mozglue' |
|
23 |
|
24 DEFINES['ANDROID_PACKAGE_NAME'] = '"%s"' % CONFIG['ANDROID_PACKAGE_NAME'] |
|
25 |
|
26 if CONFIG['MOZ_FOLD_LIBS']: |
|
27 DEFINES['MOZ_FOLD_LIBS'] = True |
|
28 |
|
29 GENERATED_INCLUDES += ['/build'] |
|
30 LOCAL_INCLUDES += [ |
|
31 '../linker', |
|
32 '/db/sqlite3/src', |
|
33 '/ipc/chromium/src', |
|
34 '/nsprpub/lib/ds', |
|
35 '/nsprpub/lib/libc/include', |
|
36 '/nsprpub/pr/include', |
|
37 '/security/nss/lib/base', |
|
38 '/security/nss/lib/certdb', |
|
39 '/security/nss/lib/cryptohi', |
|
40 '/security/nss/lib/dev', |
|
41 '/security/nss/lib/freebl', |
|
42 '/security/nss/lib/nss', |
|
43 '/security/nss/lib/pk11wrap', |
|
44 '/security/nss/lib/pkcs7', |
|
45 '/security/nss/lib/pki', |
|
46 '/security/nss/lib/smime', |
|
47 '/security/nss/lib/softoken', |
|
48 '/security/nss/lib/ssl', |
|
49 '/security/nss/lib/util', |
|
50 '/toolkit/components/startup', |
|
51 '/xpcom/build', |
|
52 ] |
|
53 |
|
54 DISABLE_STL_WRAPPING = True |