diff options
-rw-r--r-- | Android.mk | 1 | ||||
-rw-r--r-- | tools/bugpoint-passes/Android.mk | 21 |
2 files changed, 22 insertions, 0 deletions
@@ -85,6 +85,7 @@ subdirs += \ # LLVM Command Line Tools subdirs += \ tools/bugpoint \ + tools/bugpoint-passes \ tools/dsymutil \ tools/llc \ tools/lli \ diff --git a/tools/bugpoint-passes/Android.mk b/tools/bugpoint-passes/Android.mk new file mode 100644 index 0000000..51b35c7 --- /dev/null +++ b/tools/bugpoint-passes/Android.mk @@ -0,0 +1,21 @@ +LOCAL_PATH := $(call my-dir) + +LLVM_ROOT_PATH := $(LOCAL_PATH)/../.. +include $(LLVM_ROOT_PATH)/llvm.mk + +bugpoint_passes_SRC_FILES := \ + TestPasses.cpp + +# BugpointPasses module for the host +# ===================================================== +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := $(bugpoint_passes_SRC_FILES) +LOCAL_MODULE := BugpointPasses + +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_CLASS := SHARED_LIBRARIES # needed for tblgen + +include $(LLVM_HOST_BUILD_MK) +include $(LLVM_GEN_INTRINSICS_MK) +include $(BUILD_HOST_SHARED_LIBRARY) |