# 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/. DEPTH = @DEPTH@ topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk LIBRARY_NAME = android FORCE_STATIC_LIB = 1 STL_FLAGS= FAIL_ON_WARNINGS := 1 DEFINES += \ -DANDROID_PACKAGE_NAME='"$(ANDROID_PACKAGE_NAME)"' \ $(NULL) ifdef MOZ_FOLD_LIBS DEFINES += -DMOZ_FOLD_LIBS endif CPPSRCS = \ nsGeckoUtils.cpp \ APKOpen.cpp \ SQLiteBridge.cpp \ NSSBridge.cpp \ $(NULL) LOCAL_INCLUDES += -I$(DEPTH)/build LOCAL_INCLUDES += -I$(topsrcdir)/xpcom/build LOCAL_INCLUDES += -I$(srcdir)/../linker LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/components/startup LOCAL_INCLUDES += -I$(topsrcdir)/db/sqlite3/src 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/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 include $(topsrcdir)/config/rules.mk prcpucfg.h: $(topsrcdir)/nsprpub/pr/include/md/_linux.cfg cp $< $@ $(OBJS): prcpucfg.h GARBAGE += \ prcpucfg.h \ $(NULL)