1LOCAL_PATH:= $(call my-dir) 2 3transforms_ipo_SRC_FILES := \ 4 ArgumentPromotion.cpp \ 5 BarrierNoopPass.cpp \ 6 ConstantMerge.cpp \ 7 DeadArgumentElimination.cpp \ 8 ExtractGV.cpp \ 9 FunctionAttrs.cpp \ 10 GlobalDCE.cpp \ 11 GlobalOpt.cpp \ 12 IPConstantPropagation.cpp \ 13 IPO.cpp \ 14 InlineAlways.cpp \ 15 InlineSimple.cpp \ 16 Inliner.cpp \ 17 Internalize.cpp \ 18 LoopExtractor.cpp \ 19 LowerBitSets.cpp \ 20 MergeFunctions.cpp \ 21 PartialInlining.cpp \ 22 PassManagerBuilder.cpp \ 23 PruneEH.cpp \ 24 StripDeadPrototypes.cpp \ 25 StripSymbols.cpp 26 27# For the host 28# ===================================================== 29include $(CLEAR_VARS) 30 31LOCAL_SRC_FILES := $(transforms_ipo_SRC_FILES) 32LOCAL_MODULE:= libLLVMipo 33 34LOCAL_MODULE_TAGS := optional 35 36include $(LLVM_HOST_BUILD_MK) 37include $(LLVM_GEN_INTRINSICS_MK) 38include $(BUILD_HOST_STATIC_LIBRARY) 39 40# For the device 41# ===================================================== 42ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 43include $(CLEAR_VARS) 44 45LOCAL_SRC_FILES := $(transforms_ipo_SRC_FILES) 46LOCAL_MODULE:= libLLVMipo 47 48LOCAL_MODULE_TAGS := optional 49 50include $(LLVM_DEVICE_BUILD_MK) 51include $(LLVM_GEN_INTRINSICS_MK) 52include $(BUILD_STATIC_LIBRARY) 53endif 54