1LOCAL_PATH:= $(call my-dir) 2 3analysis_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# ===================================================== 14include $(CLEAR_VARS) 15 16LOCAL_SRC_FILES := $(analysis_ipa_SRC_FILES) 17 18LOCAL_MODULE:= libLLVMipa 19 20LOCAL_MODULE_TAGS := optional 21 22include $(LLVM_HOST_BUILD_MK) 23include $(LLVM_GEN_INTRINSICS_MK) 24include $(BUILD_HOST_STATIC_LIBRARY) 25 26# For the device 27# ===================================================== 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) 39