Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8392284a authored by Ying Wang's avatar Ying Wang
Browse files

Disable LOCAL_RENDERSCRIPT_COMPATIBILITY for non-arm builds

This fixes the x86 build.

Change-Id: I370063fc83915c4c20cee08cc4feae68c7d7292b
parent cd33a7c8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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 \