OSDN Git Service

LLVM_HOST_BUILD_MK to LLVM70_HOST_BUILD_MK
[android-x86/external-llvm.git] / lib / DebugInfo / CodeView / Android.mk
1 LOCAL_PATH:= $(call my-dir)
2
3 debuginfo_codeview_SRC_FILES := \
4   CodeViewError.cpp \
5   CodeViewRecordIO.cpp \
6   CVSymbolVisitor.cpp \
7   CVTypeVisitor.cpp \
8   DebugChecksumsSubsection.cpp \
9   DebugCrossExSubsection.cpp \
10   DebugCrossImpSubsection.cpp \
11   DebugFrameDataSubsection.cpp \
12   DebugInlineeLinesSubsection.cpp \
13   DebugLinesSubsection.cpp \
14   DebugStringTableSubsection.cpp \
15   DebugSubsection.cpp \
16   DebugSubsectionRecord.cpp \
17   DebugSubsectionVisitor.cpp \
18   DebugSymbolRVASubsection.cpp \
19   DebugSymbolsSubsection.cpp \
20   EnumTables.cpp \
21   Formatters.cpp \
22   LazyRandomTypeCollection.cpp \
23   Line.cpp \
24   RecordSerialization.cpp \
25   StringsAndChecksums.cpp \
26   SymbolRecordMapping.cpp \
27   SymbolDumper.cpp \
28   SymbolSerializer.cpp \
29   TypeDumpVisitor.cpp \
30   TypeIndex.cpp \
31   TypeIndexDiscovery.cpp \
32   TypeName.cpp \
33   TypeRecordMapping.cpp \
34   TypeSerializer.cpp \
35   TypeStreamMerger.cpp \
36   TypeTableCollection.cpp
37
38 # For the host
39 # =====================================================
40 include $(CLEAR_VARS)
41
42 REQUIRES_RTTI := 1
43
44 LOCAL_SRC_FILES := $(debuginfo_codeview_SRC_FILES)
45
46 LOCAL_MODULE:= libLLVM70DebugInfoCodeView
47
48 LOCAL_MODULE_HOST_OS := darwin linux windows
49
50 include $(LLVM70_HOST_BUILD_MK)
51 include $(LLVM_GEN_INTRINSICS_MK)
52 include $(BUILD_HOST_STATIC_LIBRARY)
53
54 # For the device
55 # =====================================================
56 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
57 include $(CLEAR_VARS)
58
59 REQUIRES_RTTI := 1
60
61 LOCAL_SRC_FILES := $(debuginfo_codeview_SRC_FILES)
62
63 LOCAL_MODULE:= libLLVM70DebugInfoCodeView
64
65 include $(LLVM_DEVICE_BUILD_MK)
66 include $(LLVM_GEN_INTRINSICS_MK)
67 include $(BUILD_STATIC_LIBRARY)
68 endif