1LOCAL_PATH := $(call my-dir) 2 3LLVM_ROOT_PATH := $(LOCAL_PATH)/../.. 4 5 6#===---------------------------------------------------------------=== 7# llvm-profdata command line tool 8#===---------------------------------------------------------------=== 9 10llvm_profdata_SRC_FILES := \ 11 llvm-profdata.cpp 12 13llvm_profdata_STATIC_LIBRARIES := \ 14 libLLVMObject \ 15 libLLVMProfileData \ 16 libLLVMCore \ 17 libLLVMSupport \ 18 19include $(CLEAR_VARS) 20 21LOCAL_MODULE := llvm-profdata 22LOCAL_MODULE_TAGS := optional 23LOCAL_MODULE_CLASS := EXECUTABLES 24LOCAL_IS_HOST_MODULE := true 25 26LOCAL_SRC_FILES := $(llvm_profdata_SRC_FILES) 27 28LOCAL_STATIC_LIBRARIES := $(llvm_profdata_STATIC_LIBRARIES) 29 30LOCAL_LDLIBS += -lpthread -lm -ldl 31 32include $(LLVM_ROOT_PATH)/llvm.mk 33include $(LLVM_HOST_BUILD_MK) 34include $(LLVM_GEN_INTRINSICS_MK) 35include $(BUILD_HOST_EXECUTABLE) 36