| 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 \ |
| Stephen Hines | 2123c1c | 2013-03-05 23:29:52 -0800 | [diff] [blame] | 13 | ConvertUTF.c \ |
| 14 | ConvertUTFWrapper.cpp \ |
| Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 15 | CrashRecoveryContext.cpp \ |
| 16 | DAGDeltaAlgorithm.cpp \ |
| Stephen Hines | 8019aac | 2012-03-05 15:03:32 -0800 | [diff] [blame] | 17 | DataStream.cpp \ |
| Logan Chien | 62da23e | 2012-06-26 10:50:56 +0800 | [diff] [blame] | 18 | DataExtractor.cpp \ |
| Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 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 \ |
| Stephen Hines | 8019aac | 2012-03-05 15:03:32 -0800 | [diff] [blame] | 29 | Hashing.cpp \ |
| Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 30 | Host.cpp \ |
| 31 | IntervalMap.cpp \ |
| 32 | IntEqClasses.cpp \ |
| Stephen Hines | 8019aac | 2012-03-05 15:03:32 -0800 | [diff] [blame] | 33 | IntrusiveRefCntPtr.cpp \ |
| Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 34 | IsInf.cpp \ |
| 35 | IsNAN.cpp \ |
| Shih-wei Liao | db0e8a7 | 2012-04-24 11:31:11 -0700 | [diff] [blame] | 36 | Locale.cpp \ |
| Stephen Hines | 8019aac | 2012-03-05 15:03:32 -0800 | [diff] [blame] | 37 | LockFileManager.cpp \ |
| Stephen Hines | ead8d02 | 2013-08-07 19:25:16 -0700 | [diff] [blame] | 38 | MD5.cpp \ |
| Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 39 | ManagedStatic.cpp \ |
| 40 | Memory.cpp \ |
| 41 | MemoryBuffer.cpp \ |
| 42 | MemoryObject.cpp \ |
| 43 | Mutex.cpp \ |
| 44 | Path.cpp \ |
| Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 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 \ |
| Stephen Hines | 8019aac | 2012-03-05 15:03:32 -0800 | [diff] [blame] | 57 | StreamableMemoryObject.cpp \ |
| Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 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 \ |
| Stephen Hines | 373aa5c | 2014-02-06 23:41:26 -0800 | [diff] [blame^] | 71 | Unicode.cpp \ |
| Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 72 | Valgrind.cpp \ |
| Stephen Hines | 9dbeb69 | 2013-05-03 13:11:35 -0700 | [diff] [blame] | 73 | Watchdog.cpp \ |
| Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 74 | circular_raw_ostream.cpp \ |
| 75 | raw_os_ostream.cpp \ |
| 76 | raw_ostream.cpp \ |
| 77 | regcomp.c \ |
| 78 | regerror.c \ |
| 79 | regexec.c \ |
| 80 | regfree.c \ |
| 81 | regstrlcpy.c \ |
| 82 | system_error.cpp |
| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 83 | |
| 84 | # For the host |
| 85 | # ===================================================== |
| 86 | include $(CLEAR_VARS) |
| 87 | |
| 88 | # FIXME: This only requires RTTI because tblgen uses it. Fix that. |
| 89 | REQUIRES_RTTI := 1 |
| 90 | |
| 91 | LOCAL_SRC_FILES := $(support_SRC_FILES) |
| 92 | |
| 93 | LOCAL_MODULE:= libLLVMSupport |
| 94 | |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 95 | LOCAL_CFLAGS := -D__android__ |
| 96 | |
| Logan | 42c32da | 2011-01-15 12:10:18 +0800 | [diff] [blame] | 97 | LOCAL_MODULE_TAGS := optional |
| 98 | |
| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 99 | include $(LLVM_HOST_BUILD_MK) |
| 100 | include $(BUILD_HOST_STATIC_LIBRARY) |
| 101 | |
| 102 | # For the device |
| 103 | # ===================================================== |
| 104 | include $(CLEAR_VARS) |
| 105 | |
| 106 | LOCAL_SRC_FILES := $(support_SRC_FILES) |
| 107 | |
| 108 | LOCAL_MODULE:= libLLVMSupport |
| 109 | |
| Jush Lu | cc7665f | 2011-03-10 03:06:08 +0800 | [diff] [blame] | 110 | LOCAL_CFLAGS := -D__android__ |
| 111 | |
| Logan | 42c32da | 2011-01-15 12:10:18 +0800 | [diff] [blame] | 112 | LOCAL_MODULE_TAGS := optional |
| 113 | |
| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 114 | include $(LLVM_DEVICE_BUILD_MK) |
| 115 | include $(BUILD_STATIC_LIBRARY) |