merge mozilla-aurora to b2g44 a=merge
[gecko.git] / mozglue / android / moz.build
blob71d87af80afce6f522e8d3b3d9e1e84d67232a00
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 EXPORTS += [
8     'APKOpen.h',
11 SOURCES += [
12     'APKOpen.cpp',
13     'NativeCrypto.cpp',
14     'nsGeckoUtils.cpp',
15     'NSSBridge.cpp',
16     'pbkdf2_sha256.c',
17     'SQLiteBridge.cpp',
20 FINAL_LIBRARY = 'mozglue'
22 for var in ('ANDROID_PACKAGE_NAME',
23             'ANDROID_CPU_ARCH'):
24     DEFINES[var] = '"%s"' % CONFIG[var]
26 if CONFIG['MOZ_FOLD_LIBS']:
27     DEFINES['MOZ_FOLD_LIBS'] = True
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',
54 DISABLE_STL_WRAPPING = True