diff options
author | Steve Kondik <shade@chemlab.org> | 2012-11-18 22:49:42 -0800 |
---|---|---|
committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2012-11-21 21:08:23 +0000 |
commit | 6a645b3241be2ba27b2b38f0cd68ad7e6fafafa5 (patch) | |
tree | 4db310cf6ff3ab0dbb5407ffa13235b1d834be3a /nci/jni/Android.mk | |
parent | 3d402b5b2bd83007c5bffa4d40977e3314da4a91 (diff) | |
parent | eba57c26732d3313befb574af85770452d841b87 (diff) | |
download | packages_apps_nfc-6a645b3241be2ba27b2b38f0cd68ad7e6fafafa5.zip packages_apps_nfc-6a645b3241be2ba27b2b38f0cd68ad7e6fafafa5.tar.gz packages_apps_nfc-6a645b3241be2ba27b2b38f0cd68ad7e6fafafa5.tar.bz2 |
Merge branch 'jb-mr1-release' of https://android.googlesource.com/platform/packages/apps/Nfc into HEAD
Conflicts:
nxp/jni/com_android_nfc_NativeNfcManager.cpp
Change-Id: Ic84af6ad1cda79984f40e9fc464d2cbaa994b89a
Diffstat (limited to 'nci/jni/Android.mk')
-rw-r--r-- | nci/jni/Android.mk | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/nci/jni/Android.mk b/nci/jni/Android.mk new file mode 100644 index 0000000..39832fd --- /dev/null +++ b/nci/jni/Android.mk @@ -0,0 +1,54 @@ +VOB_COMPONENTS := external/libnfc-nci/src +NFA := $(VOB_COMPONENTS)/nfa +NFC := $(VOB_COMPONENTS)/nfc + +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_PRELINK_MODULE := false + +ifneq ($(NCI_VERSION),) +LOCAL_CFLAGS += -DNCI_VERSION=$(NCI_VERSION) -O0 -g +endif + +define all-cpp-files-under +$(patsubst ./%,%, \ + $(shell cd $(LOCAL_PATH) ; \ + find $(1) -name "*.cpp" -and -not -name ".*") \ + ) +endef + +LOCAL_SRC_FILES:= $(call all-cpp-files-under, .) + +LOCAL_C_INCLUDES += \ + bionic \ + bionic/libstdc++ \ + external/stlport/stlport \ + external/libxml2/include \ + external/icu4c/common \ + frameworks/native/include \ + $(NFA)/include \ + $(NFA)/brcm \ + $(NFC)/include \ + $(NFC)/brcm \ + $(NFC)/int \ + $(VOB_COMPONENTS)/hal/include \ + $(VOB_COMPONENTS)/hal/int \ + $(VOB_COMPONENTS)/include \ + $(VOB_COMPONENTS)/gki/ulinux \ + $(VOB_COMPONENTS)/gki/common + +LOCAL_SHARED_LIBRARIES := \ + libicuuc \ + libnativehelper \ + libcutils \ + libutils \ + libnfc-nci \ + libstlport + +LOCAL_STATIC_LIBRARIES := libxml2 + +LOCAL_MODULE := libnfc_nci_jni +LOCAL_MODULE_TAGS := optional + +include $(BUILD_SHARED_LIBRARY) + |