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