1 LOCAL_PATH := $(call my-dir) 2 3 codegen_asmprinter_SRC_FILES := \ 4 AsmPrinter.cpp 5 6 # For the host 7 # ===================================================== 8 include $(CLEAR_VARS) 9 10 LOCAL_SRC_FILES := \ 11 AsmPrinter.cpp \ 12 AsmPrinterDwarf.cpp \ 13 AsmPrinterInlineAsm.cpp \ 14 ARMException.cpp \ 15 DIE.cpp \ 16 DwarfAccelTable.cpp \ 17 DwarfCFIException.cpp \ 18 DwarfCompileUnit.cpp \ 19 DwarfDebug.cpp \ 20 DwarfException.cpp \ 21 OcamlGCPrinter.cpp \ 22 Win64Exception.cpp 23 24 LOCAL_MODULE:= libLLVMAsmPrinter 25 26 LOCAL_MODULE_TAGS := optional 27 28 include $(LLVM_HOST_BUILD_MK) 29 include $(BUILD_HOST_STATIC_LIBRARY) 30 31 # For the device 32 # ===================================================== 33 include $(CLEAR_VARS) 34 35 LOCAL_SRC_FILES := \ 36 AsmPrinter.cpp \ 37 AsmPrinterDwarf.cpp \ 38 AsmPrinterInlineAsm.cpp 39 40 ifeq ($(TARGET_BUILD_VARIANT),eng) 41 LOCAL_SRC_FILES := \ 42 ARMException.cpp \ 43 DIE.cpp \ 44 DwarfAccelTable.cpp \ 45 DwarfCFIException.cpp \ 46 DwarfCompileUnit.cpp \ 47 DwarfDebug.cpp \ 48 DwarfException.cpp \ 49 Win64Exception.cpp \ 50 $(LOCAL_SRC_FILES) 51 endif 52 53 LOCAL_MODULE:= libLLVMAsmPrinter 54 55 LOCAL_MODULE_TAGS := optional 56 57 include $(LLVM_DEVICE_BUILD_MK) 58 include $(BUILD_STATIC_LIBRARY) 59