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