michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: EXPORTS += [ michael@0: 'APKOpen.h', michael@0: ] michael@0: michael@0: SOURCES += [ michael@0: 'APKOpen.cpp', michael@0: 'NativeCrypto.cpp', michael@0: 'nsGeckoUtils.cpp', michael@0: 'NSSBridge.cpp', michael@0: 'pbkdf2_sha256.c', michael@0: 'SQLiteBridge.cpp', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: FINAL_LIBRARY = 'mozglue' michael@0: michael@0: DEFINES['ANDROID_PACKAGE_NAME'] = '"%s"' % CONFIG['ANDROID_PACKAGE_NAME'] michael@0: michael@0: if CONFIG['MOZ_FOLD_LIBS']: michael@0: DEFINES['MOZ_FOLD_LIBS'] = True michael@0: michael@0: GENERATED_INCLUDES += ['/build'] michael@0: LOCAL_INCLUDES += [ michael@0: '../linker', michael@0: '/db/sqlite3/src', michael@0: '/ipc/chromium/src', michael@0: '/nsprpub/lib/ds', michael@0: '/nsprpub/lib/libc/include', michael@0: '/nsprpub/pr/include', michael@0: '/security/nss/lib/base', michael@0: '/security/nss/lib/certdb', michael@0: '/security/nss/lib/cryptohi', michael@0: '/security/nss/lib/dev', michael@0: '/security/nss/lib/freebl', michael@0: '/security/nss/lib/nss', michael@0: '/security/nss/lib/pk11wrap', michael@0: '/security/nss/lib/pkcs7', michael@0: '/security/nss/lib/pki', michael@0: '/security/nss/lib/smime', michael@0: '/security/nss/lib/softoken', michael@0: '/security/nss/lib/ssl', michael@0: '/security/nss/lib/util', michael@0: '/toolkit/components/startup', michael@0: '/xpcom/build', michael@0: ] michael@0: michael@0: DISABLE_STL_WRAPPING = True