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