OSDN Git Service

am 039ace80: Remove ENABLE_TIMESTAMPS to ensure reproducible builds.
[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   GCOVProfiling.cpp \
8   InstrProfiling.cpp \
9   Instrumentation.cpp \
10   MemorySanitizer.cpp \
11   SafeStack.cpp \
12   SanitizerCoverage.cpp \
13   ThreadSanitizer.cpp
14
15 # For the host
16 # =====================================================
17 include $(CLEAR_VARS)
18
19 LOCAL_MODULE:= libLLVMInstrumentation
20 LOCAL_MODULE_HOST_OS := darwin linux windows
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 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
30 include $(CLEAR_VARS)
31
32 LOCAL_MODULE:= libLLVMInstrumentation
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)
38 endif