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