Add DISABLE_LLVM_DEVICE_BUILDS to libbcc.
Change-Id: Iaad7b2ea8eea6c89c1c1a3d0e145bbb7bf60c6b9
diff --git a/lib/Renderscript/Android.mk b/lib/Renderscript/Android.mk
index 1f77e0b..357571f 100644
--- a/lib/Renderscript/Android.mk
+++ b/lib/Renderscript/Android.mk
@@ -36,7 +36,7 @@
#=====================================================================
# Device Static Library: libbccRenderscript
#=====================================================================
-
+ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
include $(CLEAR_VARS)
# not supported on 64-bit yet
@@ -52,7 +52,7 @@
include $(LIBBCC_GEN_CONFIG_MK)
include $(LLVM_DEVICE_BUILD_MK)
include $(BUILD_STATIC_LIBRARY)
-
+endif
#=====================================================================
# Host Static Library: libbccRenderscript