summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index a041854..9aa7ee2 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,4 +1,8 @@
LOCAL_PATH:= $(call my-dir)
+
+########################################
+# NXP Configuration
+########################################
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
@@ -6,6 +10,9 @@ LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := \
$(call all-java-files-under, src)
+LOCAL_SRC_FILES += \
+ $(call all-java-files-under, nxp)
+
LOCAL_PACKAGE_NAME := Nfc
LOCAL_CERTIFICATE := platform
@@ -17,6 +24,30 @@ LOCAL_PROGUARD_ENABLED := disabled
include $(BUILD_PACKAGE)
+########################################
+# NCI Configuration
+########################################
+include $(CLEAR_VARS)
+
+LOCAL_MODULE_TAGS := optional
+
+LOCAL_SRC_FILES := \
+ $(call all-java-files-under, src)
+
+LOCAL_SRC_FILES += \
+ $(call all-java-files-under, nci)
+
+LOCAL_PACKAGE_NAME := NfcNci
+LOCAL_OVERRIDES_PACKAGES := Nfc
+LOCAL_CERTIFICATE := platform
+
+LOCAL_STATIC_JAVA_LIBRARIES := NfcLogTags
+
+LOCAL_JNI_SHARED_LIBRARIES := libnfc_nci_jni
+
+LOCAL_PROGUARD_ENABLED := disabled
+
+include $(BUILD_PACKAGE)
#####
# static lib for the log tags