1 LOCAL_PATH:= $(call my-dir) 2 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 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 MD5.cpp \ 39 ManagedStatic.cpp \ 40 Memory.cpp \ 41 MemoryBuffer.cpp \ 42 MemoryObject.cpp \ 43 Mutex.cpp \ 44 Path.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 Watchdog.cpp \ 73 circular_raw_ostream.cpp \ 74 raw_os_ostream.cpp \ 75 raw_ostream.cpp \ 76 regcomp.c \ 77 regerror.c \ 78 regexec.c \ 79 regfree.c \ 80 regstrlcpy.c \ 81 system_error.cpp 82 83 # For the host 84 # ===================================================== 85 include $(CLEAR_VARS) 86 87 # FIXME: This only requires RTTI because tblgen uses it. Fix that. 88 REQUIRES_RTTI := 1 89 90 LOCAL_SRC_FILES := $(support_SRC_FILES) 91 92 LOCAL_MODULE:= libLLVMSupport 93 94 LOCAL_CFLAGS := -D__android__ 95 96 LOCAL_MODULE_TAGS := optional 97 98 include $(LLVM_HOST_BUILD_MK) 99 include $(BUILD_HOST_STATIC_LIBRARY) 100 101 # For the device 102 # ===================================================== 103 include $(CLEAR_VARS) 104 105 LOCAL_SRC_FILES := $(support_SRC_FILES) 106 107 LOCAL_MODULE:= libLLVMSupport 108 109 LOCAL_CFLAGS := -D__android__ 110 111 LOCAL_MODULE_TAGS := optional 112 113 include $(LLVM_DEVICE_BUILD_MK) 114 include $(BUILD_STATIC_LIBRARY) 115