OSDN Git Service

am 6832e344: am 735d70fa: am 5803f741: am ba309b04: Added libs to the host\'s libLLVM.so.
[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   BoundsChecking.cpp \
6   DataFlowSanitizer.cpp \
7   DebugIR.cpp \
8   GCOVProfiling.cpp \
9   Instrumentation.cpp \
10   MemorySanitizer.cpp \
11   ThreadSanitizer.cpp
12
13 # For the host
14 # =====================================================
15 include $(CLEAR_VARS)
16
17 LOCAL_MODULE:= libLLVMInstrumentation
18 LOCAL_MODULE_TAGS := optional
19 LOCAL_SRC_FILES := $(instrumentation_SRC_FILES)
20
21 include $(LLVM_HOST_BUILD_MK)
22 include $(LLVM_GEN_INTRINSICS_MK)
23 include $(BUILD_HOST_STATIC_LIBRARY)
24
25 # For the target
26 # =====================================================
27 include $(CLEAR_VARS)
28
29 LOCAL_MODULE:= libLLVMInstrumentation
30 LOCAL_MODULE_TAGS := optional
31 LOCAL_SRC_FILES := $(instrumentation_SRC_FILES)
32
33 include $(LLVM_DEVICE_BUILD_MK)
34 include $(LLVM_GEN_INTRINSICS_MK)
35 include $(BUILD_STATIC_LIBRARY)