1LOCAL_PATH:= $(call my-dir) 2 3transforms_objcarc_SRC_FILES := \ 4 DependencyAnalysis.cpp \ 5 ObjCARCAPElim.cpp \ 6 ObjCARCContract.cpp \ 7 ObjCARC.cpp \ 8 ObjCARCExpand.cpp \ 9 ObjCARCOpts.cpp \ 10 PtrState.cpp \ 11 ProvenanceAnalysis.cpp \ 12 ProvenanceAnalysisEvaluator.cpp 13 14# For the host 15# ===================================================== 16include $(CLEAR_VARS) 17 18LOCAL_SRC_FILES := $(transforms_objcarc_SRC_FILES) 19LOCAL_MODULE:= libLLVMTransformObjCARC 20 21LOCAL_MODULE_HOST_OS := darwin linux windows 22 23include $(LLVM_HOST_BUILD_MK) 24include $(LLVM_GEN_ATTRIBUTES_MK) 25include $(LLVM_GEN_INTRINSICS_MK) 26include $(BUILD_HOST_STATIC_LIBRARY) 27 28# For the device 29# ===================================================== 30ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 31include $(CLEAR_VARS) 32 33LOCAL_SRC_FILES := $(transforms_objcarc_SRC_FILES) 34LOCAL_MODULE:= libLLVMTransformObjCARC 35 36include $(LLVM_DEVICE_BUILD_MK) 37include $(LLVM_GEN_ATTRIBUTES_MK) 38include $(LLVM_GEN_INTRINSICS_MK) 39include $(BUILD_STATIC_LIBRARY) 40endif 41