aboutsummaryrefslogtreecommitdiffstats
path: root/shared_llvm.mk
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-09-06 16:55:14 -0700
committerStephen Hines <srhines@google.com>2013-09-11 17:01:36 -0700
commit5ed5257af0efad3b0a1d57b285af10bae152dcaa (patch)
tree8254841f1fb442b619e1da8d872ea3dd31887117 /shared_llvm.mk
parent0210adda57353b4542220b496d812818995627ff (diff)
downloadexternal_llvm-5ed5257af0efad3b0a1d57b285af10bae152dcaa.zip
external_llvm-5ed5257af0efad3b0a1d57b285af10bae152dcaa.tar.gz
external_llvm-5ed5257af0efad3b0a1d57b285af10bae152dcaa.tar.bz2
Only build HOST LLVM when forced to do so.
Bug: 10653601 Change-Id: Icba0b2fcfcfc668871dcbcd8837b14cd7686309a
Diffstat (limited to 'shared_llvm.mk')
-rw-r--r--shared_llvm.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared_llvm.mk b/shared_llvm.mk
index 128bc6b..3fe43fe 100644
--- a/shared_llvm.mk
+++ b/shared_llvm.mk
@@ -56,6 +56,7 @@ llvm_post_static_libraries := \
libLLVMSupport \
libLLVMVectorize
+ifeq (true,$(FORCE_BUILD_LLVM_COMPONENTS))
# HOST LLVM shared library build
include $(CLEAR_VARS)
LOCAL_IS_HOST_MODULE := true
@@ -80,6 +81,7 @@ endif
include $(LLVM_HOST_BUILD_MK)
include $(BUILD_HOST_SHARED_LIBRARY)
+endif
# DEVICE LLVM shared library build