1VOB_COMPONENTS := external/libnfc-nci/src 2NFA := $(VOB_COMPONENTS)/nfa 3NFC := $(VOB_COMPONENTS)/nfc 4 5LOCAL_PATH := $(call my-dir) 6include $(CLEAR_VARS) 7include $(call all-makefiles-under,$(LOCAL_PATH)) 8 9ifneq ($(NCI_VERSION),) 10LOCAL_CFLAGS += -DNCI_VERSION=$(NCI_VERSION) -O0 -g 11endif 12 13LOCAL_CFLAGS += -Wall -Wextra -Wno-unused-parameter -Werror 14 15LOCAL_SRC_FILES := $(call all-subdir-cpp-files) $(call all-subdir-c-files) 16 17LOCAL_C_INCLUDES += \ 18 external/libxml2/include \ 19 frameworks/native/include \ 20 libcore/include \ 21 $(NFA)/include \ 22 $(NFA)/brcm \ 23 $(NFC)/include \ 24 $(NFC)/brcm \ 25 $(NFC)/int \ 26 $(VOB_COMPONENTS)/hal/include \ 27 $(VOB_COMPONENTS)/hal/int \ 28 $(VOB_COMPONENTS)/include \ 29 $(VOB_COMPONENTS)/gki/ulinux \ 30 $(VOB_COMPONENTS)/gki/common 31 32LOCAL_SHARED_LIBRARIES := \ 33 libicuuc \ 34 libnativehelper \ 35 libcutils \ 36 libutils \ 37 liblog \ 38 libnfc-nci \ 39 40LOCAL_STATIC_LIBRARIES := libxml2 41 42LOCAL_MODULE := libnfc_nci_jni 43 44include $(BUILD_SHARED_LIBRARY) 45