Android.mk revision 3aef70314b053a1df4f85ca4a6f3890d06ebbdd6
1LOCAL_PATH:= $(call my-dir) 2 3transforms_scalar_SRC_FILES := \ 4 ADCE.cpp \ 5 BasicBlockPlacement.cpp \ 6 CodeGenPrepare.cpp \ 7 ConstantProp.cpp \ 8 CorrelatedValuePropagation.cpp \ 9 DCE.cpp \ 10 DeadStoreElimination.cpp \ 11 EarlyCSE.cpp \ 12 GlobalMerge.cpp \ 13 GVN.cpp \ 14 IndVarSimplify.cpp \ 15 JumpThreading.cpp \ 16 LICM.cpp \ 17 LoopDeletion.cpp \ 18 LoopIdiomRecognize.cpp \ 19 LoopInstSimplify.cpp \ 20 LoopRotation.cpp \ 21 LoopStrengthReduce.cpp \ 22 LoopUnrollPass.cpp \ 23 LoopUnswitch.cpp \ 24 LowerAtomic.cpp \ 25 MemCpyOptimizer.cpp \ 26 ObjCARC.cpp \ 27 Reassociate.cpp \ 28 Reg2Mem.cpp \ 29 SCCP.cpp \ 30 SROA.cpp \ 31 Scalar.cpp \ 32 ScalarReplAggregates.cpp \ 33 SimplifyCFGPass.cpp \ 34 SimplifyLibCalls.cpp \ 35 Sink.cpp \ 36 TailRecursionElimination.cpp 37 38# For the host 39# ===================================================== 40include $(CLEAR_VARS) 41 42LOCAL_SRC_FILES := \ 43 $(transforms_scalar_SRC_FILES) 44 45LOCAL_MODULE:= libLLVMScalarOpts 46 47LOCAL_MODULE_TAGS := optional 48 49include $(LLVM_HOST_BUILD_MK) 50include $(LLVM_GEN_INTRINSICS_MK) 51include $(BUILD_HOST_STATIC_LIBRARY) 52 53# For the device 54# ===================================================== 55include $(CLEAR_VARS) 56 57LOCAL_SRC_FILES := $(transforms_scalar_SRC_FILES) 58LOCAL_MODULE:= libLLVMScalarOpts 59 60LOCAL_MODULE_TAGS := optional 61 62include $(LLVM_DEVICE_BUILD_MK) 63include $(LLVM_GEN_INTRINSICS_MK) 64include $(BUILD_STATIC_LIBRARY) 65