aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorChris Wailes <chriswailes@google.com>2014-06-02 11:53:16 -0700
committerChris Wailes <chriswailes@google.com>2014-06-06 18:19:16 -0700
commit075c621d834af7ffc32d2067fadb147cc1758b99 (patch)
treef4f29ff2e71102ee86111bc695830ae5850ec50c /Android.mk
parenta637ea99e253d9d3bd16ebb9e33f5828d38d94de (diff)
downloadexternal_llvm-075c621d834af7ffc32d2067fadb147cc1758b99.zip
external_llvm-075c621d834af7ffc32d2067fadb147cc1758b99.tar.gz
external_llvm-075c621d834af7ffc32d2067fadb147cc1758b99.tar.bz2
Adds the ability to run the llvm test suite in-tree.
This was accomplished by building additional tools and hand-generating several files that are auto-generated by the configuration system when LLVM is built out-of-tree. The LTO, Interpreter, and DebugInfo libraries are now being compiled, and several source files were added to existing compilation targets. To run these tests you must first run build/envsetup.sh and have used lunch to select a target. You can then launch the test script by running: cd $ANDROID_BUILD_TOP/external/llvm && ./android_test.sh Bug: 15433215 Change-Id: I43d87de0a4620cdd46c8d0f825dd4428e8409702
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk46
1 files changed, 39 insertions, 7 deletions
diff --git a/Android.mk b/Android.mk
index ea75e5e..d456977 100644
--- a/Android.mk
+++ b/Android.mk
@@ -15,12 +15,15 @@ subdirs := \
lib/ExecutionEngine/RuntimeDyld \
lib/ExecutionEngine/JIT \
lib/ExecutionEngine/MCJIT \
+ lib/ExecutionEngine/Interpreter \
lib/CodeGen \
lib/CodeGen/AsmPrinter \
lib/CodeGen/SelectionDAG \
+ lib/DebugInfo \
lib/IR \
lib/IRReader \
lib/Linker \
+ lib/LTO \
lib/MC \
lib/MC/MCDisassembler \
lib/MC/MCParser \
@@ -37,8 +40,6 @@ subdirs := \
lib/Transforms/Scalar \
lib/Transforms/Utils \
lib/Transforms/Vectorize \
- utils/FileCheck \
- utils/TableGen
# ARM Code Generation Libraries
subdirs += \
@@ -79,11 +80,42 @@ subdirs += \
lib/Target/X86/Utils
# LLVM Command Line Tools
-subdirs += tools/llc
-subdirs += tools/llvm-as
-subdirs += tools/llvm-dis
-subdirs += tools/llvm-link
-#subdirs += tools/opt
+subdirs += \
+ tools/bugpoint \
+ tools/llc \
+ tools/lli \
+ tools/llvm-ar \
+ tools/llvm-as \
+ tools/llvm-bcanalyzer \
+ tools/llvm-c-test \
+ tools/llvm-config \
+ tools/llvm-cov \
+ tools/llvm-dis \
+ tools/llvm-diff \
+ tools/llvm-dwarfdump \
+ tools/llvm-extract \
+ tools/llvm-link \
+ tools/llvm-lto \
+ tools/llvm-mc \
+ tools/llvm-mcmarkup \
+ tools/llvm-nm \
+ tools/llvm-objdump \
+ tools/llvm-profdata \
+ tools/llvm-readobj \
+ tools/llvm-rtdyld \
+ tools/llvm-size \
+ tools/macho-dump \
+ tools/obj2yaml \
+ tools/opt \
+ tools/yaml2obj \
+
+# LLVM Command Line Utilities
+subdirs += \
+ utils/count \
+ utils/FileCheck \
+ utils/FileUpdate \
+ utils/not \
+ utils/TableGen \
include $(LOCAL_PATH)/llvm.mk
include $(LOCAL_PATH)/shared_llvm.mk