1LOCAL_PATH:= $(call my-dir)
2
3# No dia support
4debuginfo_pdb_SRC_FILES := \
5  IPDBSourceFile.cpp \
6  PDB.cpp \
7  PDBExtras.cpp \
8  PDBInterfaceAnchors.cpp \
9  PDBSymbolAnnotation.cpp \
10  PDBSymbolBlock.cpp \
11  PDBSymbolCompiland.cpp \
12  PDBSymbolCompilandDetails.cpp \
13  PDBSymbolCompilandEnv.cpp \
14  PDBSymbol.cpp \
15  PDBSymbolCustom.cpp \
16  PDBSymbolData.cpp \
17  PDBSymbolExe.cpp \
18  PDBSymbolFunc.cpp \
19  PDBSymbolFuncDebugEnd.cpp \
20  PDBSymbolFuncDebugStart.cpp \
21  PDBSymbolLabel.cpp \
22  PDBSymbolPublicSymbol.cpp \
23  PDBSymbolThunk.cpp \
24  PDBSymbolTypeArray.cpp \
25  PDBSymbolTypeBaseClass.cpp \
26  PDBSymbolTypeBuiltin.cpp \
27  PDBSymbolTypeCustom.cpp \
28  PDBSymbolTypeDimension.cpp \
29  PDBSymbolTypeEnum.cpp \
30  PDBSymbolTypeFriend.cpp \
31  PDBSymbolTypeFunctionArg.cpp \
32  PDBSymbolTypeFunctionSig.cpp \
33  PDBSymbolTypeManaged.cpp \
34  PDBSymbolTypePointer.cpp \
35  PDBSymbolTypeTypedef.cpp \
36  PDBSymbolTypeUDT.cpp \
37  PDBSymbolTypeVTable.cpp \
38  PDBSymbolTypeVTableShape.cpp \
39  PDBSymbolUnknown.cpp \
40  PDBSymbolUsingNamespace.cpp \
41  PDBSymDumper.cpp
42
43# For the host
44# =====================================================
45include $(CLEAR_VARS)
46
47REQUIRES_RTTI := 1
48
49LOCAL_SRC_FILES := $(debuginfo_pdb_SRC_FILES)
50
51LOCAL_MODULE:= libLLVMDebugInfoPDB
52
53LOCAL_MODULE_TAGS := optional
54
55include $(LLVM_HOST_BUILD_MK)
56include $(LLVM_GEN_INTRINSICS_MK)
57include $(BUILD_HOST_STATIC_LIBRARY)
58
59# For the device
60# =====================================================
61ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
62include $(CLEAR_VARS)
63
64REQUIRES_RTTI := 1
65
66LOCAL_SRC_FILES := $(debuginfo_pdb_SRC_FILES)
67
68LOCAL_MODULE:= libLLVMDebugInfoPDB
69
70LOCAL_MODULE_TAGS := optional
71
72include $(LLVM_DEVICE_BUILD_MK)
73include $(LLVM_GEN_INTRINSICS_MK)
74include $(BUILD_STATIC_LIBRARY)
75endif
76