| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 3 | support_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 \ |
| Stephen Hines | 8019aac | 2012-03-05 15:03:32 -0800 | [diff] [blame] | 15 | DataStream.cpp \ |
| Logan Chien | 62da23e | 2012-06-26 10:50:56 +0800 | [diff] [blame^] | 16 | DataExtractor.cpp \ |
| Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 17 | Debug.cpp \ |
| 18 | DeltaAlgorithm.cpp \ |
| 19 | Dwarf.cpp \ |
| 20 | DynamicLibrary.cpp \ |
| 21 | Errno.cpp \ |
| 22 | ErrorHandling.cpp \ |
| 23 | FileUtilities.cpp \ |
| 24 | FoldingSet.cpp \ |
| 25 | FormattedStream.cpp \ |
| 26 | GraphWriter.cpp \ |
| Stephen Hines | 8019aac | 2012-03-05 15:03:32 -0800 | [diff] [blame] | 27 | Hashing.cpp \ |
| Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 28 | Host.cpp \ |
| 29 | IntervalMap.cpp \ |
| 30 | IntEqClasses.cpp \ |
| Stephen Hines | 8019aac | 2012-03-05 15:03:32 -0800 | [diff] [blame] | 31 | IntrusiveRefCntPtr.cpp \ |
| Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 32 | IsInf.cpp \ |
| 33 | IsNAN.cpp \ |
| Shih-wei Liao | db0e8a7 | 2012-04-24 11:31:11 -0700 | [diff] [blame] | 34 | Locale.cpp \ |
| Stephen Hines | 8019aac | 2012-03-05 15:03:32 -0800 | [diff] [blame] | 35 | LockFileManager.cpp \ |
| Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 36 | ManagedStatic.cpp \ |
| 37 | Memory.cpp \ |
| 38 | MemoryBuffer.cpp \ |
| 39 | MemoryObject.cpp \ |
| 40 | Mutex.cpp \ |
| 41 | Path.cpp \ |
| 42 | PathV2.cpp \ |
| 43 | PluginLoader.cpp \ |
| 44 | PrettyStackTrace.cpp \ |
| 45 | Process.cpp \ |
| 46 | Program.cpp \ |
| 47 | Regex.cpp \ |
| 48 | RWMutex.cpp \ |
| 49 | SearchForAddressOfSpecialSymbol.cpp \ |
| 50 | Signals.cpp \ |
| 51 | SmallPtrSet.cpp \ |
| 52 | SmallVector.cpp \ |
| 53 | SourceMgr.cpp \ |
| 54 | Statistic.cpp \ |
| Stephen Hines | 8019aac | 2012-03-05 15:03:32 -0800 | [diff] [blame] | 55 | StreamableMemoryObject.cpp \ |
| Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 56 | StringExtras.cpp \ |
| 57 | StringMap.cpp \ |
| 58 | StringPool.cpp \ |
| 59 | StringRef.cpp \ |
| 60 | SystemUtils.cpp \ |
| 61 | TargetRegistry.cpp \ |
| 62 | Threading.cpp \ |
| 63 | ThreadLocal.cpp \ |
| 64 | Timer.cpp \ |
| 65 | TimeValue.cpp \ |
| 66 | ToolOutputFile.cpp \ |
| 67 | Triple.cpp \ |
| 68 | Twine.cpp \ |
| 69 | Valgrind.cpp \ |
| 70 | circular_raw_ostream.cpp \ |
| 71 | raw_os_ostream.cpp \ |
| 72 | raw_ostream.cpp \ |
| 73 | regcomp.c \ |
| 74 | regerror.c \ |
| 75 | regexec.c \ |
| 76 | regfree.c \ |
| 77 | regstrlcpy.c \ |
| 78 | system_error.cpp |
| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 79 | |
| 80 | # For the host |
| 81 | # ===================================================== |
| 82 | include $(CLEAR_VARS) |
| 83 | |
| 84 | # FIXME: This only requires RTTI because tblgen uses it. Fix that. |
| 85 | REQUIRES_RTTI := 1 |
| 86 | |
| 87 | LOCAL_SRC_FILES := $(support_SRC_FILES) |
| 88 | |
| 89 | LOCAL_MODULE:= libLLVMSupport |
| 90 | |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 91 | LOCAL_CFLAGS := -D__android__ |
| 92 | |
| Logan | 42c32da | 2011-01-15 12:10:18 +0800 | [diff] [blame] | 93 | LOCAL_MODULE_TAGS := optional |
| 94 | |
| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 95 | include $(LLVM_HOST_BUILD_MK) |
| 96 | include $(BUILD_HOST_STATIC_LIBRARY) |
| 97 | |
| 98 | # For the device |
| 99 | # ===================================================== |
| 100 | include $(CLEAR_VARS) |
| 101 | |
| 102 | LOCAL_SRC_FILES := $(support_SRC_FILES) |
| 103 | |
| 104 | LOCAL_MODULE:= libLLVMSupport |
| 105 | |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 106 | LOCAL_CFLAGS := -D__android__ |
| 107 | |
| Logan | 42c32da | 2011-01-15 12:10:18 +0800 | [diff] [blame] | 108 | LOCAL_MODULE_TAGS := optional |
| 109 | |
| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 110 | include $(LLVM_DEVICE_BUILD_MK) |
| 111 | include $(BUILD_STATIC_LIBRARY) |