summaryrefslogtreecommitdiffstats
path: root/Android.mk
blob: 467d7a0a7740de1790687acb955b5d0ff4f35c39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
LOCAL_PATH := $(call my-dir)

ifneq ($(filter msm8960,$(TARGET_BOARD_PLATFORM)),)

include $(CLEAR_VARS)

LOCAL_MODULE := keystore.msm8960

LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw

LOCAL_SRC_FILES := keymaster_qcom.cpp

LOCAL_C_INCLUDES := $(TARGET_OUT_HEADERS)/common/inc \
                    external/openssl/include

LOCAL_C_FLAGS = -fvisibility=hidden -Wall -Werror

LOCAL_SHARED_LIBRARIES := \
        libcrypto \
        liblog \
        libc \
        libdl

LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk

LOCAL_MODULE_TAGS := optional

include $(BUILD_SHARED_LIBRARY)

endif # msm8960 == TARGET_BOARD_PLATFORM