OSDN Git Service

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