1 # -*- Mode: python; 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/.
11 EXPORTS.mozilla += ['Ashmem.h']
19 'SharedMemNatives.cpp',
22 if CONFIG['MOZ_CRASHREPORTER']:
28 '/toolkit/crashreporter/minidump-analyzer',
31 FINAL_LIBRARY = 'mozglue'
33 for var in ('ANDROID_PACKAGE_NAME',
35 DEFINES[var] = '"%s"' % CONFIG[var]
37 if CONFIG['MOZ_FOLD_LIBS']:
38 DEFINES['MOZ_FOLD_LIBS'] = True
45 '/nsprpub/lib/libc/include',
46 '/nsprpub/pr/include',
47 '/security/nss/lib/base',
48 '/security/nss/lib/certdb',
49 '/security/nss/lib/cryptohi',
50 '/security/nss/lib/dev',
51 '/security/nss/lib/freebl',
52 '/security/nss/lib/nss',
53 '/security/nss/lib/pk11wrap',
54 '/security/nss/lib/pkcs7',
55 '/security/nss/lib/pki',
56 '/security/nss/lib/smime',
57 '/security/nss/lib/softoken',
58 '/security/nss/lib/ssl',
59 '/security/nss/lib/util',
60 '/third_party/sqlite3/src',
61 '/toolkit/components/startup',
65 if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
66 CXXFLAGS += ['-Wno-error=shadow']
68 DEFINES['XPCOM_GLUE'] = True