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