Android.mk revision 28188e1c4986d9e4985f0f4a8ce268743eb94631
1# Only use this on the device or emulator. 2ifeq ($(TARGET_ARCH),arm) 3 4LOCAL_PATH := $(call my-dir) 5 6codegen_asmprinter_SRC_FILES := \ 7 AsmPrinter.cpp 8 9# For the host 10# ===================================================== 11include $(CLEAR_VARS) 12 13LOCAL_SRC_FILES := \ 14 AsmPrinter.cpp \ 15 AsmPrinterDwarf.cpp \ 16 AsmPrinterInlineAsm.cpp \ 17 DIE.cpp \ 18 DwarfDebug.cpp \ 19 DwarfException.cpp \ 20 OcamlGCPrinter.cpp 21 22LOCAL_MODULE:= libLLVMAsmPrinter 23 24include $(LLVM_HOST_BUILD_MK) 25include $(BUILD_HOST_STATIC_LIBRARY) 26 27# For the device 28# ===================================================== 29include $(CLEAR_VARS) 30 31LOCAL_SRC_FILES := \ 32 AsmPrinter.cpp \ 33 AsmPrinterInlineAsm.cpp 34 35LOCAL_MODULE:= libLLVMAsmPrinter 36 37include $(LLVM_DEVICE_BUILD_MK) 38include $(BUILD_STATIC_LIBRARY) 39 40endif 41