2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:17 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
|
|
|
'APKOpen.h',
|
|
|
|
]
|
|
|
|
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'APKOpen.cpp',
|
2014-03-07 00:10:54 +04:00
|
|
|
'NativeCrypto.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'nsGeckoUtils.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'NSSBridge.cpp',
|
2014-03-07 00:10:54 +04:00
|
|
|
'pbkdf2_sha256.c',
|
2016-10-06 11:21:24 +03:00
|
|
|
'SharedMemNatives.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'SQLiteBridge.cpp',
|
|
|
|
]
|
|
|
|
|
2013-11-19 06:47:14 +04:00
|
|
|
FINAL_LIBRARY = 'mozglue'
|
2013-11-27 17:55:07 +04:00
|
|
|
|
2014-11-04 07:04:20 +03:00
|
|
|
for var in ('ANDROID_PACKAGE_NAME',
|
|
|
|
'ANDROID_CPU_ARCH'):
|
|
|
|
DEFINES[var] = '"%s"' % CONFIG[var]
|
2013-11-27 17:55:07 +04:00
|
|
|
|
|
|
|
if CONFIG['MOZ_FOLD_LIBS']:
|
|
|
|
DEFINES['MOZ_FOLD_LIBS'] = True
|
2014-02-18 10:02:32 +04:00
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
2015-11-04 08:20:20 +03:00
|
|
|
'!/build',
|
2014-02-18 10:02:32 +04:00
|
|
|
'../linker',
|
|
|
|
'/db/sqlite3/src',
|
|
|
|
'/ipc/chromium/src',
|
|
|
|
'/nsprpub/lib/ds',
|
|
|
|
'/nsprpub/lib/libc/include',
|
|
|
|
'/nsprpub/pr/include',
|
|
|
|
'/security/nss/lib/base',
|
|
|
|
'/security/nss/lib/certdb',
|
|
|
|
'/security/nss/lib/cryptohi',
|
|
|
|
'/security/nss/lib/dev',
|
|
|
|
'/security/nss/lib/freebl',
|
|
|
|
'/security/nss/lib/nss',
|
|
|
|
'/security/nss/lib/pk11wrap',
|
|
|
|
'/security/nss/lib/pkcs7',
|
|
|
|
'/security/nss/lib/pki',
|
|
|
|
'/security/nss/lib/smime',
|
|
|
|
'/security/nss/lib/softoken',
|
|
|
|
'/security/nss/lib/ssl',
|
|
|
|
'/security/nss/lib/util',
|
|
|
|
'/toolkit/components/startup',
|
|
|
|
'/xpcom/build',
|
|
|
|
]
|
2014-03-05 04:39:06 +04:00
|
|
|
|
|
|
|
DISABLE_STL_WRAPPING = True
|
2016-05-11 10:00:01 +03:00
|
|
|
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|
2016-12-17 00:48:01 +03:00
|
|
|
|
|
|
|
DEFINES['XPCOM_GLUE'] = True
|
|
|
|
|
|
|
|
USE_LIBS += [
|
|
|
|
'xpcomglue',
|
|
|
|
]
|