OSDN Git Service

android: DebugInfo/DWARF: update sources list
[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   DWARFAddressRange.cpp \
6   DWARFAcceleratorTable.cpp \
7   DWARFCompileUnit.cpp \
8   DWARFContext.cpp \
9   DWARFDataExtractor.cpp \
10   DWARFDebugAbbrev.cpp \
11   DWARFDebugArangeSet.cpp \
12   DWARFDebugAranges.cpp \
13   DWARFDebugFrame.cpp \
14   DWARFDebugInfoEntry.cpp \
15   DWARFDebugLine.cpp \
16   DWARFDebugLoc.cpp \
17   DWARFDebugMacro.cpp \
18   DWARFDebugPubTable.cpp \
19   DWARFDebugRangeList.cpp \
20   DWARFDebugRnglists.cpp \
21   DWARFDie.cpp \
22   DWARFExpression.cpp \
23   DWARFFormValue.cpp \
24   DWARFGdbIndex.cpp \
25   DWARFTypeUnit.cpp \
26   DWARFUnitIndex.cpp \
27   DWARFUnit.cpp \
28   DWARFVerifier.cpp \
29
30 # For the host
31 # =====================================================
32 include $(CLEAR_VARS)
33
34 REQUIRES_RTTI := 1
35
36 LOCAL_SRC_FILES := $(debuginfo_dwarf_SRC_FILES)
37
38 LOCAL_MODULE:= libLLVM70DebugInfoDWARF
39
40 LOCAL_MODULE_HOST_OS := darwin linux windows
41
42 include $(LLVM70_HOST_BUILD_MK)
43 include $(LLVM70_GEN_INTRINSICS_MK)
44 include $(BUILD_HOST_STATIC_LIBRARY)
45
46 # For the device
47 # =====================================================
48 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
49 include $(CLEAR_VARS)
50
51 REQUIRES_RTTI := 1
52
53 LOCAL_SRC_FILES := $(debuginfo_dwarf_SRC_FILES)
54
55 LOCAL_MODULE:= libLLVM70DebugInfoDWARF
56
57 include $(LLVM70_DEVICE_BUILD_MK)
58 include $(LLVM70_GEN_INTRINSICS_MK)
59 include $(BUILD_STATIC_LIBRARY)
60 endif