1ifneq (,$(findstring $(TARGET_DEVICE),dragon)) 2 3LOCAL_PATH := $(call my-dir) 4 5include $(CLEAR_VARS) 6LOCAL_CLANG := true 7LOCAL_MODULE_TAGS := optional 8LOCAL_MODULE := librecovery_updater_dragon 9LOCAL_SRC_FILES := flash_ec.c flash_mtd.c flash_device.c vboot_interface.c flash_file.cpp recovery_updater.cpp update_fw.cpp 10LOCAL_C_INCLUDES += bootable/recovery 11# For vboot_struct.h 12LOCAL_C_INCLUDES += external/vboot_reference/firmware/include 13 14include $(BUILD_STATIC_LIBRARY) 15 16include $(CLEAR_VARS) 17LOCAL_CLANG := true 18LOCAL_MODULE_TAGS := optional 19LOCAL_MODULE := librecovery_ui_dragon 20LOCAL_SRC_FILES := flash_ec.c flash_mtd.c flash_device.c vboot_interface.c flash_file.cpp recovery_ui.cpp update_fw.cpp 21LOCAL_C_INCLUDES += bootable/recovery 22# For vboot_struct.h 23LOCAL_C_INCLUDES += external/vboot_reference/firmware/include 24 25include $(BUILD_STATIC_LIBRARY) 26 27include $(CLEAR_VARS) 28LOCAL_MODULE := fwtool 29LOCAL_MODULE_TAGS := optional 30LOCAL_CLANG := true 31LOCAL_SRC_FILES := flash_ec.c flash_mtd.c flash_device.c vboot_interface.c debug_ec.c flash_file.cpp fwtool.cpp update_fw.cpp 32LOCAL_SHARED_LIBRARIES := liblog 33LOCAL_CFLAGS += -Wno-unused-parameter -DUSE_LOGCAT 34LOCAL_C_INCLUDES += bootable/recovery 35# For vboot_struct.h 36LOCAL_C_INCLUDES += external/vboot_reference/firmware/include 37 38include $(BUILD_EXECUTABLE) 39 40endif 41