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 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 # ===================================================== 31 include $(CLEAR_VARS) 32 33 LOCAL_SRC_FILES := $(codegen_asmprinter_SRC_FILES) 34 LOCAL_MODULE:= libLLVMAsmPrinter 35 36 LOCAL_MODULE_HOST_OS := darwin linux windows 37 38 include $(LLVM_HOST_BUILD_MK) 39 include $(LLVM_GEN_ATTRIBUTES_MK) 40 include $(LLVM_GEN_INTRINSICS_MK) 41 include $(BUILD_HOST_STATIC_LIBRARY) 42 43 # For the device 44 # ===================================================== 45 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 46 include $(CLEAR_VARS) 47 48 LOCAL_SRC_FILES := $(codegen_asmprinter_SRC_FILES) 49 LOCAL_MODULE:= libLLVMAsmPrinter 50 51 include $(LLVM_DEVICE_BUILD_MK) 52 include $(LLVM_GEN_ATTRIBUTES_MK) 53 include $(LLVM_GEN_INTRINSICS_MK) 54 include $(BUILD_STATIC_LIBRARY) 55 endif 56