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