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