aboutsummaryrefslogtreecommitdiffstats
path: root/shared_llvm.mk
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-09-14 05:36:55 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-09-14 05:36:55 +0000
commitc0c7ba114994c207930632a1d9f3dae92054ade2 (patch)
tree177db8f282e7b281ce0af4d9b07e654ecd8624b2 /shared_llvm.mk
parent917ae8fb30e31b065310aea214dbb5655d9a23d0 (diff)
parent5ed5257af0efad3b0a1d57b285af10bae152dcaa (diff)
downloadexternal_llvm-c0c7ba114994c207930632a1d9f3dae92054ade2.zip
external_llvm-c0c7ba114994c207930632a1d9f3dae92054ade2.tar.gz
external_llvm-c0c7ba114994c207930632a1d9f3dae92054ade2.tar.bz2
Merge "Only build HOST LLVM when forced to do so."
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