moz.build (881B)
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/. 6 7 EXPORTS += [ 8 "APKOpen.h", 9 ] 10 11 SOURCES += [ 12 "APKOpen.cpp", 13 "nsGeckoUtils.cpp", 14 "SharedMemNatives.cpp", 15 ] 16 17 FINAL_LIBRARY = "mozglue" 18 19 DEFINES["ANDROID_CPU_ARCH"] = '"%s"' % CONFIG["ANDROID_CPU_ARCH"] 20 21 if CONFIG["MOZ_FOLD_LIBS"]: 22 DEFINES["MOZ_FOLD_LIBS"] = True 23 24 LOCAL_INCLUDES += [ 25 "!/build", 26 "../linker", 27 "/ipc/chromium/src", 28 "/nsprpub/lib/ds", 29 "/nsprpub/lib/libc/include", 30 "/nsprpub/pr/include", 31 "/third_party/sqlite3/src", 32 "/toolkit/components/startup", 33 "/xpcom/build", 34 ] 35 36 DEFINES["XPCOM_GLUE"] = True 37 38 USE_LIBS += [ 39 "xpcomglue", 40 ]