From 8af858e9b6577d074c5427e601b6418d288fdb9d Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Thu, 23 Jul 2009 16:10:46 -0700 Subject: Unbreak build by making the build of renderscript again conditional on BUILD_RENDERSCRIPT until we can figure out why the build servers see an error that does not reproduce locally. --- graphics/jni/Android.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'graphics/jni') diff --git a/graphics/jni/Android.mk b/graphics/jni/Android.mk index c0279b6..a19134d 100644 --- a/graphics/jni/Android.mk +++ b/graphics/jni/Android.mk @@ -1,3 +1,5 @@ +ifeq ($(BUILD_RENDERSCRIPT),true) + LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) @@ -27,10 +29,11 @@ LOCAL_C_INCLUDES += \ LOCAL_CFLAGS += LOCAL_LDLIBS := -lpthread - LOCAL_ADDITIONAL_DEPENDENCIES := $(addprefix $(rs_generated_include_dir)/,rsgApiFuncDecl.h) LOCAL_MODULE:= librs_jni LOCAL_ADDITIONAL_DEPENDENCIES += $(rs_generated_source) LOCAL_MODULE_TAGS := optional include $(BUILD_SHARED_LIBRARY) + +endif -- cgit v1.1