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