1LOCAL_PATH := $(call my-dir) 2 3ifneq ($(filter msm8960 msm8084,$(TARGET_BOARD_PLATFORM)),) 4 5keymaster-def := -fvisibility=hidden -Wall 6ifeq ($(TARGET_BOARD_PLATFORM),msm8084) 7keymaster-def += -D_ION_HEAP_MASK_COMPATIBILITY_WA 8endif 9 10include $(CLEAR_VARS) 11 12LOCAL_MODULE := keystore.$(TARGET_BOARD_PLATFORM) 13 14LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw 15 16LOCAL_SRC_FILES := keymaster_qcom.cpp 17 18LOCAL_C_INCLUDES := $(TARGET_OUT_HEADERS)/common/inc 19 20LOCAL_CFLAGS := $(keymaster-def) 21 22LOCAL_SHARED_LIBRARIES := \ 23 libcrypto \ 24 liblog \ 25 libc \ 26 libdl 27 28LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 29 30LOCAL_MODULE_TAGS := optional 31 32include $(BUILD_SHARED_LIBRARY) 33 34endif # TARGET_BOARD_PLATFORM 35