summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2014-12-04 01:12:46 -0800
committerStephen Hines <srhines@google.com>2014-12-19 18:23:29 -0800
commit34949bb1a6677c6be4d74fab694f09fbd6eb0e95 (patch)
tree6322671467be8570e8b72a9c77a73b9bb59c4486 /lib
parent121f20f7317b160aedcaabfbe532e328912ffa18 (diff)
downloadexternal_llvm-34949bb1a6677c6be4d74fab694f09fbd6eb0e95.zip
external_llvm-34949bb1a6677c6be4d74fab694f09fbd6eb0e95.tar.gz
external_llvm-34949bb1a6677c6be4d74fab694f09fbd6eb0e95.tar.bz2
Update LLVM lit test configuration to be able to work for 3.6.
Add support for building more host verification tools: + LLVMHello.so (loadable plugin pass) + lli-child-target + llvm-symbolizer (missing some Android.mk magic) + llvm-vtabledump + verify-uselistorder Change-Id: Id7a9397bf458e97fc330ea0301ebb001750aac7c
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Hello/Android.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/Transforms/Hello/Android.mk b/lib/Transforms/Hello/Android.mk
new file mode 100644
index 0000000..4998478
--- /dev/null
+++ b/lib/Transforms/Hello/Android.mk
@@ -0,0 +1,24 @@
+LOCAL_PATH:= $(call my-dir)
+
+LLVM_ROOT_PATH := $(LOCAL_PATH)/../../..
+include $(LLVM_ROOT_PATH)/llvm.mk
+
+transforms_hello_SRC_FILES := \
+ Hello.cpp
+
+# For the host
+# =====================================================
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := $(transforms_hello_SRC_FILES)
+LOCAL_MODULE:= LLVMHello
+
+#LOCAL_SHARED_LIBRARIES := libLLVM
+LOCAL_STATIC_LIBRARIES := \
+ libLLVMCore \
+ libLLVMSupport
+
+LOCAL_MODULE_TAGS := optional
+
+include $(LLVM_HOST_BUILD_MK)
+include $(BUILD_HOST_SHARED_LIBRARY)