OSDN Git Service

LLVM_HOST_BUILD_MK to LLVM70_HOST_BUILD_MK
[android-x86/external-llvm.git] / lib / DebugInfo / DWARF / Android.mk
1 LOCAL_PATH:= $(call my-dir)
2
3 debuginfo_dwarf_SRC_FILES := \
4   DWARFAbbreviationDeclaration.cpp \
5   DWARFAcceleratorTable.cpp \
6   DWARFCompileUnit.cpp \
7   DWARFContext.cpp \
8   DWARFDataExtractor.cpp \
9   DWARFDebugAbbrev.cpp \
10   DWARFDebugArangeSet.cpp \
11   DWARFDebugAranges.cpp \
12   DWARFDebugFrame.cpp \
13   DWARFDebugInfoEntry.cpp \
14   DWARFDebugLine.cpp \
15   DWARFDebugLoc.cpp \
16   DWARFDebugMacro.cpp \
17   DWARFDebugPubTable.cpp \
18   DWARFDebugRangeList.cpp \
19   DWARFDie.cpp \
20   DWARFFormValue.cpp \
21   DWARFGdbIndex.cpp \
22   DWARFTypeUnit.cpp \
23   DWARFUnitIndex.cpp \
24   DWARFUnit.cpp \
25   DWARFVerifier.cpp \
26   SyntaxHighlighting.cpp
27
28 # For the host
29 # =====================================================
30 include $(CLEAR_VARS)
31
32 REQUIRES_RTTI := 1
33
34 LOCAL_SRC_FILES := $(debuginfo_dwarf_SRC_FILES)
35
36 LOCAL_MODULE:= libLLVM70DebugInfoDWARF
37
38 LOCAL_MODULE_HOST_OS := darwin linux windows
39
40 include $(LLVM70_HOST_BUILD_MK)
41 include $(LLVM_GEN_INTRINSICS_MK)
42 include $(BUILD_HOST_STATIC_LIBRARY)
43
44 # For the device
45 # =====================================================
46 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
47 include $(CLEAR_VARS)
48
49 REQUIRES_RTTI := 1
50
51 LOCAL_SRC_FILES := $(debuginfo_dwarf_SRC_FILES)
52
53 LOCAL_MODULE:= libLLVM70DebugInfoDWARF
54
55 include $(LLVM_DEVICE_BUILD_MK)
56 include $(LLVM_GEN_INTRINSICS_MK)
57 include $(BUILD_STATIC_LIBRARY)
58 endif