LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_CPPFLAGS += -fexceptions LOCAL_CFLAGS += -DPLATFORM_NAME=$(TARGET_BOARD_PLATFORM) LOCAL_MODULE := android.hardware.keymaster@3.0-impl LOCAL_PROPRIETARY_MODULE := true LOCAL_MODULE_RELATIVE_PATH := hw LOCAL_SRC_FILES := \ KeymasterDevice.cpp LOCAL_C_INCLUDES := system/keymaster/include LOCAL_SHARED_LIBRARIES := \ liblog \ libcrypto \ libhidlbase \ libutils \ libcutils \ libhardware \ libkeymaster3device \ libsoftkeymasterdevice \ libkeymaster_portable \ libpuresoftkeymasterdevice \ android.hardware.keymaster@3.0 include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE_RELATIVE_PATH := hw LOCAL_PROPRIETARY_MODULE := true LOCAL_MODULE := android.hardware.keymaster@3.0-service LOCAL_INIT_RC := android.hardware.keymaster@3.0-service.rc LOCAL_SRC_FILES := \ service.cpp LOCAL_SHARED_LIBRARIES := \ liblog \ libcutils \ libdl \ libbase \ libutils \ libhardware \ libhidlbase \ android.hardware.keymaster@3.0 LOCAL_CFLAGS := -Wno-inconsistent-missing-override include $(BUILD_EXECUTABLE)