OSDN Git Service

Merge branch 'jb-mr1-dev' of https://googleplex-android.googlesource.com/a/platform...
[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   BlackList.cpp \
6   BoundsChecking.cpp \
7   EdgeProfiling.cpp \
8   GCOVProfiling.cpp \
9   Instrumentation.cpp \
10   OptimalEdgeProfiling.cpp \
11   PathProfiling.cpp \
12   ProfilingUtils.cpp \
13   ThreadSanitizer.cpp
14
15 # For the host
16 # =====================================================
17 include $(CLEAR_VARS)
18
19 LOCAL_MODULE:= libLLVMInstrumentation
20 LOCAL_MODULE_TAGS := optional
21 LOCAL_SRC_FILES := $(instrumentation_SRC_FILES)
22
23 include $(LLVM_HOST_BUILD_MK)
24 include $(LLVM_GEN_INTRINSICS_MK)
25 include $(BUILD_HOST_STATIC_LIBRARY)
26
27 # For the target
28 # =====================================================
29 include $(CLEAR_VARS)
30
31 LOCAL_MODULE:= libLLVMInstrumentation
32 LOCAL_MODULE_TAGS := optional
33 LOCAL_SRC_FILES := $(instrumentation_SRC_FILES)
34
35 include $(LLVM_DEVICE_BUILD_MK)
36 include $(LLVM_GEN_INTRINSICS_MK)
37 include $(BUILD_STATIC_LIBRARY)