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