Disable LOCAL_RENDERSCRIPT_COMPATIBILITY for non-arm builds

This fixes the x86 build.

Change-Id: I370063fc83915c4c20cee08cc4feae68c7d7292b
This commit is contained in:
Ying Wang 2013-02-13 10:48:28 -08:00
parent cd33a7c8f1
commit 8392284a70
1 changed files with 4 additions and 0 deletions

View File

@ -196,6 +196,10 @@ $(RenderScript_file_stamp): PRIVATE_RS_TARGET_API := $(renderscript_target_api)
$(RenderScript_file_stamp): $(renderscript_sources_fullpath) $(LOCAL_RENDERSCRIPT_CC)
$(transform-renderscripts-to-java-and-bc)
# Now LOCAL_RENDERSCRIPT_COMPATIBILITY only supports arm
ifneq ($(TARGET_ARCH),arm)
LOCAL_RENDERSCRIPT_COMPATIBILITY :=
endif
ifneq ($(LOCAL_RENDERSCRIPT_COMPATIBILITY),)
bc_files := $(patsubst %.fs,%.bc, $(patsubst %.rs,%.bc, $(notdir $(renderscript_sources))))
rs_generated_bc := $(addprefix \