OSDN Git Service

Merge with LLVM upstream r144606 (Nov 15th 2011)
[android-x86/external-llvm.git] / lib / Transforms / Instrumentation / Android.mk
1 LOCAL_PATH:= $(call my-dir)
2
3 instrumentation_SRC_FILES := \
4   EdgeProfiling.cpp \
5   GCOVProfiling.cpp \
6   Instrumentation.cpp \
7   ProfilingUtils.cpp \
8   PathProfiling.cpp \
9   OptimalEdgeProfiling.cpp
10
11 # For the host
12 # =====================================================
13 include $(CLEAR_VARS)
14
15 LOCAL_MODULE:= libLLVMInstrumentation
16 LOCAL_MODULE_TAGS := optional
17 LOCAL_SRC_FILES := $(instrumentation_SRC_FILES)
18
19 include $(LLVM_HOST_BUILD_MK)
20 include $(BUILD_HOST_STATIC_LIBRARY)
21
22 # For the target
23 # =====================================================
24 include $(CLEAR_VARS)
25
26 LOCAL_MODULE:= libLLVMInstrumentation
27 LOCAL_MODULE_TAGS := optional
28 LOCAL_SRC_FILES := $(instrumentation_SRC_FILES)
29
30 include $(LLVM_DEVICE_BUILD_MK)
31 include $(BUILD_STATIC_LIBRARY)