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