Disable frameworks loading of renderscript libs

Bug: 206676167
Test: Verified during boot that frameworks skips loading of rs_jni by
injecting logs into frameworks/base/rs.

Change-Id: I856367df816c8ad28dde54af69ab36e4f1605146
This commit is contained in:
Prashanth Swaminathan
2023-03-14 15:49:16 -07:00
parent afb2495f6f
commit 06713a0e89

View File

@@ -79,6 +79,12 @@ PRODUCT_USES_DEFAULT_ART_CONFIG := false
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
root/init.zygote64.rc
# TODO(b/206676167): This property can be removed when renderscript is removed.
# Prevents framework from attempting to load renderscript libraries, which are
# not supported on this architecture.
PRODUCT_SYSTEM_PROPERTIES += \
config.disable_renderscript=1 \
# This build configuration supports 64-bit apps only
PRODUCT_NAME := aosp_riscv64
PRODUCT_DEVICE := generic_riscv64