1 LOCAL_PATH := $(call my-dir) 2 3 codegen_asmprinter_SRC_FILES := \ 4 AddressPool.cpp \ 5 ARMException.cpp \ 6 AsmPrinter.cpp \ 7 AsmPrinterDwarf.cpp \ 8 AsmPrinterInlineAsm.cpp \ 9 DbgValueHistoryCalculator.cpp \ 10 DIE.cpp \ 11 DIEHash.cpp \ 12 DwarfAccelTable.cpp \ 13 DwarfCFIException.cpp \ 14 DwarfDebug.cpp \ 15 DwarfFile.cpp \ 16 DwarfStringPool.cpp \ 17 DwarfUnit.cpp \ 18 EHStreamer.cpp \ 19 ErlangGCPrinter.cpp \ 20 OcamlGCPrinter.cpp \ 21 Win64Exception.cpp \ 22 WinCodeViewLineTables.cpp 23 24 25 26 # For the host 27 # ===================================================== 28 include $(CLEAR_VARS) 29 30 LOCAL_SRC_FILES := $(codegen_asmprinter_SRC_FILES) 31 LOCAL_MODULE:= libLLVMAsmPrinter 32 33 LOCAL_MODULE_TAGS := optional 34 35 include $(LLVM_HOST_BUILD_MK) 36 include $(LLVM_GEN_INTRINSICS_MK) 37 include $(BUILD_HOST_STATIC_LIBRARY) 38 39 # For the device 40 # ===================================================== 41 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 42 include $(CLEAR_VARS) 43 44 LOCAL_SRC_FILES := $(codegen_asmprinter_SRC_FILES) 45 LOCAL_MODULE:= libLLVMAsmPrinter 46 47 LOCAL_MODULE_TAGS := optional 48 49 include $(LLVM_DEVICE_BUILD_MK) 50 include $(LLVM_GEN_INTRINSICS_MK) 51 include $(BUILD_STATIC_LIBRARY) 52 endif 53