Home | History | Annotate | Download | only in keymaster
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 ifneq ($(filter msm8960 msm8974 msm8226,$(TARGET_BOARD_PLATFORM)),)
      4 
      5 include $(CLEAR_VARS)
      6 
      7 LOCAL_MODULE := keystore.$(TARGET_BOARD_PLATFORM)
      8 
      9 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
     10 
     11 LOCAL_SRC_FILES := keymaster_qcom.cpp
     12 
     13 LOCAL_C_INCLUDES := $(TARGET_OUT_HEADERS)/common/inc \
     14                     external/openssl/include
     15 
     16 LOCAL_C_FLAGS = -fvisibility=hidden -Wall -Werror
     17 
     18 LOCAL_SHARED_LIBRARIES := \
     19         libcrypto \
     20         liblog \
     21         libc \
     22         libdl
     23 
     24 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
     25 
     26 LOCAL_MODULE_TAGS := optional
     27 
     28 include $(BUILD_SHARED_LIBRARY)
     29 
     30 endif # TARGET_BOARD_PLATFORM
     31