2012-05-21 04:12:37 -07:00
|
|
|
# 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/.
|
2011-12-12 07:22:25 -08:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2011-12-12 07:22:25 -08:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = android
|
|
|
|
LIBRARY_NAME = android
|
|
|
|
FORCE_STATIC_LIB = 1
|
2012-02-15 02:30:35 -08:00
|
|
|
STL_FLAGS=
|
2011-12-12 07:22:25 -08:00
|
|
|
|
|
|
|
DEFINES += \
|
|
|
|
-DANDROID_PACKAGE_NAME='"$(ANDROID_PACKAGE_NAME)"' \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
nsGeckoUtils.cpp \
|
|
|
|
APKOpen.cpp \
|
2012-01-19 12:19:56 -08:00
|
|
|
SQLiteBridge.cpp \
|
2012-03-08 10:25:44 -08:00
|
|
|
NSSBridge.cpp \
|
2011-12-12 07:22:25 -08:00
|
|
|
$(NULL)
|
|
|
|
|
2012-02-21 23:12:15 -08:00
|
|
|
LOCAL_INCLUDES += -I$(DEPTH)/build
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/xpcom/build
|
|
|
|
|
2012-01-11 02:11:02 -08:00
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../linker
|
2011-12-12 07:22:25 -08:00
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/components/startup
|
2012-01-19 12:19:56 -08:00
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/db/sqlite3/src
|
2012-03-08 10:25:44 -08:00
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/base/src
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/nsprpub/lib/ds
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/nsprpub/lib/libc/include
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/nsprpub/pr/include
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/ipc/chromium/src
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/security/nss/lib/nss
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/security/nss/lib/util
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/security/nss/lib/softoken
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/security/nss/lib/pk11wrap
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/security/nss/cmd/ecperf
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/security/nss/lib/pkcs7
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/security/nss/lib/certdb
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/security/nss/lib/cryptohi
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/security/nss/lib/dev
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/security/nss/lib/base
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/security/nss/lib/pki
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/security/nss/lib/smime
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/security/nss/lib/freebl/
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/security/nss/lib/ssl
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/security/nss/cmd/lib/
|
|
|
|
|
2012-01-11 02:10:59 -08:00
|
|
|
ifdef MOZ_OLD_LINKER
|
2012-01-20 00:49:07 -08:00
|
|
|
DEFINES += -DMOZ_OLD_LINKER
|
2011-12-12 07:22:25 -08:00
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/other-licenses/android
|
|
|
|
ifeq ($(CPU_ARCH),arm)
|
|
|
|
DEFINES += -DANDROID_ARM_LINKER
|
|
|
|
endif
|
2012-01-11 02:10:59 -08:00
|
|
|
endif
|
2011-12-12 07:22:25 -08:00
|
|
|
|
|
|
|
EXPORTS = APKOpen.h
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
2012-06-06 00:24:55 -07:00
|
|
|
|
|
|
|
prcpucfg.h: $(topsrcdir)/nsprpub/pr/include/md/_linux.cfg
|
|
|
|
cp $< $@
|
|
|
|
|
|
|
|
$(OBJS): prcpucfg.h
|
|
|
|
|
|
|
|
GARBAGE += \
|
|
|
|
prcpucfg.h \
|
|
|
|
$(NULL)
|