| LOCAL_PATH:= $(call my-dir) |
| include $(CLEAR_VARS) |
| |
| 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 |
| |
| LOCAL_STATIC_JAVA_LIBRARIES := NfcLogTags |
| |
| LOCAL_JNI_SHARED_LIBRARIES := libnfc_jni |
| |
| LOCAL_PROGUARD_ENABLED := disabled |
| |
| include $(BUILD_PACKAGE) |
| |
| |
| ##### |
| # static lib for the log tags |
| ##### |
| include $(CLEAR_VARS) |
| |
| LOCAL_MODULE_TAGS := optional |
| |
| LOCAL_SRC_FILES := src/com/android/nfc/EventLogTags.logtags |
| |
| LOCAL_MODULE:= NfcLogTags |
| |
| include $(BUILD_STATIC_JAVA_LIBRARY) |
| |
| |
| include $(call all-makefiles-under,$(LOCAL_PATH)) |