summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2012-07-20 15:09:37 -0400
committerMartijn Coenen <maco@google.com>2012-07-24 20:29:18 -0700
commit26f6049196acaa9768ba6bdef343216ea878a4c1 (patch)
tree6dbe4f38ed6d175bb4cdc1c3c8fc8f2810302f50 /Android.mk
parent63cccc4b5096fd9cbcb08410e69f7932375b4bc6 (diff)
downloadpackages_apps_nfc-26f6049196acaa9768ba6bdef343216ea878a4c1.zip
packages_apps_nfc-26f6049196acaa9768ba6bdef343216ea878a4c1.tar.gz
packages_apps_nfc-26f6049196acaa9768ba6bdef343216ea878a4c1.tar.bz2
Move NXP JNI and DeviceHost implementation into separate dir.
Preparation for the new NCI stack. The idea is to build either the NXP or the NCI stack, triggered by a makefile switch. To that end, move the DeviceHost and JNI implementations in their own directory, so we can build them only if needed. Change-Id: Ibb6aeb11f0bb887e153fd457860b1ad0e39e7933
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index a041854..2cdfc68 100644
--- a/Android.mk
+++ b/Android.mk
@@ -6,6 +6,14 @@ LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := \
$(call all-java-files-under, src)
+ifeq ($(NFC_USE_NCI_STACK), true)
+ LOCAL_SRC_FILES += \
+ $(call all-java-files-under, nci)
+else
+ LOCAL_SRC_FILES += \
+ $(call all-java-files-under, nxp)
+endif
+
LOCAL_PACKAGE_NAME := Nfc
LOCAL_CERTIFICATE := platform