1 LOCAL_PATH:= $(call my-dir) 2 3 analysis_ipa_SRC_FILES := \ 4 CallGraph.cpp \ 5 CallGraphSCCPass.cpp \ 6 CallPrinter.cpp \ 7 FindUsedTypes.cpp \ 8 GlobalsModRef.cpp \ 9 IPA.cpp \ 10 InlineCost.cpp 11 12 # For the host 13 # ===================================================== 14 include $(CLEAR_VARS) 15 16 LOCAL_SRC_FILES := $(analysis_ipa_SRC_FILES) 17 18 LOCAL_MODULE:= libLLVMipa 19 20 LOCAL_MODULE_TAGS := optional 21 22 include $(LLVM_HOST_BUILD_MK) 23 include $(LLVM_GEN_INTRINSICS_MK) 24 include $(BUILD_HOST_STATIC_LIBRARY) 25 26 # For the device 27 # ===================================================== 28 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 29 include $(CLEAR_VARS) 30 31 LOCAL_SRC_FILES := $(analysis_ipa_SRC_FILES) 32 33 LOCAL_MODULE:= libLLVMipa 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