Android.mk revision 373aa5c665fe6df6b9c5586d397dc3617f25aab5
1LOCAL_PATH:= $(call my-dir)
2
3instrumentation_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# =====================================================
15include $(CLEAR_VARS)
16
17LOCAL_MODULE:= libLLVMInstrumentation
18LOCAL_MODULE_TAGS := optional
19LOCAL_SRC_FILES := $(instrumentation_SRC_FILES)
20
21include $(LLVM_HOST_BUILD_MK)
22include $(LLVM_GEN_INTRINSICS_MK)
23include $(BUILD_HOST_STATIC_LIBRARY)
24
25# For the target
26# =====================================================
27include $(CLEAR_VARS)
28
29LOCAL_MODULE:= libLLVMInstrumentation
30LOCAL_MODULE_TAGS := optional
31LOCAL_SRC_FILES := $(instrumentation_SRC_FILES)
32
33include $(LLVM_DEVICE_BUILD_MK)
34include $(LLVM_GEN_INTRINSICS_MK)
35include $(BUILD_STATIC_LIBRARY)
36