aboutsummaryrefslogtreecommitdiffstats
path: root/shared_llvm.mk
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2013-03-06 10:12:07 -0800
committerTim Murray <timmurray@google.com>2013-03-06 10:19:37 -0800
commitd2ba544d44789c76cad3c03b3289ae9e3cfe3f8e (patch)
tree5ad452d5ea7f6ddd150abe4ed40121752256588d /shared_llvm.mk
parent2123c1c0de9e6006dfffe9123b4b992703202e3e (diff)
downloadexternal_llvm-d2ba544d44789c76cad3c03b3289ae9e3cfe3f8e.zip
external_llvm-d2ba544d44789c76cad3c03b3289ae9e3cfe3f8e.tar.gz
external_llvm-d2ba544d44789c76cad3c03b3289ae9e3cfe3f8e.tar.bz2
Only build libLLVM in bundled branches.
Change-Id: Ia9f18562e70f947b2e0c0fb937e3e17e847cacab
Diffstat (limited to 'shared_llvm.mk')
-rw-r--r--shared_llvm.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared_llvm.mk b/shared_llvm.mk
index 74868cf..43f0947 100644
--- a/shared_llvm.mk
+++ b/shared_llvm.mk
@@ -1,3 +1,6 @@
+# Don't build the library in unbundled branches.
+ifeq (,$(TARGET_BUILD_APPS))
+
LOCAL_PATH:= $(call my-dir)
llvm_pre_static_libraries := \
@@ -109,3 +112,5 @@ LOCAL_SHARED_LIBRARIES := libcutils libdl libstlport
include $(LLVM_DEVICE_BUILD_MK)
include $(BUILD_SHARED_LIBRARY)
+
+endif # don't build in unbundled branches \ No newline at end of file