OSDN Git Service

resolved conflicts for merge of 8f698b54 to master
[android-x86/external-llvm.git] / lib / Transforms / Instrumentation / Android.mk
1 LOCAL_PATH:= $(call my-dir)
2
3 instrumentation_SRC_FILES := \
4   AddressSanitizer.cpp \
5   EdgeProfiling.cpp \
6   GCOVProfiling.cpp \
7   Instrumentation.cpp \
8   OptimalEdgeProfiling.cpp \
9   PathProfiling.cpp \
10   ProfilingUtils.cpp
11
12 # For the host
13 # =====================================================
14 include $(CLEAR_VARS)
15
16 LOCAL_MODULE:= libLLVMInstrumentation
17 LOCAL_MODULE_TAGS := optional
18 LOCAL_SRC_FILES := $(instrumentation_SRC_FILES)
19
20 include $(LLVM_HOST_BUILD_MK)
21 include $(LLVM_GEN_INTRINSICS_MK)
22 include $(BUILD_HOST_STATIC_LIBRARY)
23
24 # For the target
25 # =====================================================
26 include $(CLEAR_VARS)
27
28 LOCAL_MODULE:= libLLVMInstrumentation
29 LOCAL_MODULE_TAGS := optional
30 LOCAL_SRC_FILES := $(instrumentation_SRC_FILES)
31
32 include $(LLVM_DEVICE_BUILD_MK)
33 include $(LLVM_GEN_INTRINSICS_MK)
34 include $(BUILD_STATIC_LIBRARY)