summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2012-07-25 08:56:11 -0700
committerMartijn Coenen <maco@google.com>2012-07-25 08:57:34 -0700
commit4bbd47e5507d4c47a4d722216606307e45195a0a (patch)
tree5a28cbb02a1b5cadfcac4648d89afe3cec7b1e11 /Android.mk
parentff94ceff4c2715134c85a84c75d47a5835f1a598 (diff)
downloadpackages_apps_nfc-4bbd47e5507d4c47a4d722216606307e45195a0a.zip
packages_apps_nfc-4bbd47e5507d4c47a4d722216606307e45195a0a.tar.gz
packages_apps_nfc-4bbd47e5507d4c47a4d722216606307e45195a0a.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: I8579ec30ceb1908e4cd180cfbd10224aa4bddb8d
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