• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH:= $(call my-dir)
2
3support_SRC_FILES := \
4  Allocator.cpp \
5  APFloat.cpp \
6  APInt.cpp \
7  APSInt.cpp \
8  Atomic.cpp \
9  BlockFrequency.cpp \
10  BranchProbability.cpp \
11  CommandLine.cpp \
12  ConstantRange.cpp \
13  CrashRecoveryContext.cpp \
14  DAGDeltaAlgorithm.cpp \
15  DataStream.cpp \
16  Debug.cpp \
17  DeltaAlgorithm.cpp \
18  Dwarf.cpp \
19  DynamicLibrary.cpp \
20  Errno.cpp \
21  ErrorHandling.cpp \
22  FileUtilities.cpp \
23  FoldingSet.cpp \
24  FormattedStream.cpp \
25  GraphWriter.cpp \
26  Hashing.cpp \
27  Host.cpp \
28  IntervalMap.cpp \
29  IntEqClasses.cpp \
30  IntrusiveRefCntPtr.cpp \
31  IsInf.cpp \
32  IsNAN.cpp \
33  Locale.cpp \
34  LockFileManager.cpp \
35  ManagedStatic.cpp \
36  Memory.cpp \
37  MemoryBuffer.cpp \
38  MemoryObject.cpp \
39  Mutex.cpp \
40  Path.cpp \
41  PathV2.cpp \
42  PluginLoader.cpp \
43  PrettyStackTrace.cpp \
44  Process.cpp \
45  Program.cpp \
46  Regex.cpp \
47  RWMutex.cpp \
48  SearchForAddressOfSpecialSymbol.cpp \
49  Signals.cpp \
50  SmallPtrSet.cpp \
51  SmallVector.cpp \
52  SourceMgr.cpp \
53  Statistic.cpp \
54  StreamableMemoryObject.cpp \
55  StringExtras.cpp \
56  StringMap.cpp \
57  StringPool.cpp \
58  StringRef.cpp \
59  SystemUtils.cpp \
60  TargetRegistry.cpp \
61  Threading.cpp \
62  ThreadLocal.cpp \
63  Timer.cpp \
64  TimeValue.cpp \
65  ToolOutputFile.cpp \
66  Triple.cpp \
67  Twine.cpp \
68  Valgrind.cpp \
69  circular_raw_ostream.cpp \
70  raw_os_ostream.cpp \
71  raw_ostream.cpp \
72  regcomp.c \
73  regerror.c \
74  regexec.c \
75  regfree.c \
76  regstrlcpy.c \
77  system_error.cpp
78
79# For the host
80# =====================================================
81include $(CLEAR_VARS)
82
83# FIXME: This only requires RTTI because tblgen uses it.  Fix that.
84REQUIRES_RTTI := 1
85
86LOCAL_SRC_FILES := $(support_SRC_FILES)
87
88LOCAL_MODULE:= libLLVMSupport
89
90LOCAL_CFLAGS := -D__android__
91
92LOCAL_MODULE_TAGS := optional
93
94include $(LLVM_HOST_BUILD_MK)
95include $(BUILD_HOST_STATIC_LIBRARY)
96
97# For the device
98# =====================================================
99include $(CLEAR_VARS)
100
101LOCAL_SRC_FILES := $(support_SRC_FILES)
102
103LOCAL_MODULE:= libLLVMSupport
104
105LOCAL_CFLAGS := -D__android__
106
107LOCAL_MODULE_TAGS := optional
108
109include $(LLVM_DEVICE_BUILD_MK)
110include $(BUILD_STATIC_LIBRARY)
111