Use ro.gfx.angle.supported to indicate if ANGLE is built in vendor

This is a change cherry-picked from aosp:
https://r.android.com/2560175

Merged-In: I0fb881962ab77abd18f05d33393c4ee11694109c

Bug: b/270994705
Test: m -j45; flash and check Pixel 7 boots fine
atest CtsAngleIntegrationHostTestCases

Change-Id: I4632ff64bc26623c796b992a71761a754149955a
This commit is contained in:
Yuxin Hu 2023-04-25 01:58:05 +00:00
parent 9362cc8e1c
commit 9dfc376c19

View file

@ -320,6 +320,10 @@ ADDITIONAL_VENDOR_PROPERTIES += \
ro.board.platform=$(TARGET_BOARD_PLATFORM) \
ro.hwui.use_vulkan=$(TARGET_USES_VULKAN)
# Set ro.gfx.angle.supported based on if ANGLE is installed in vendor partition
ADDITIONAL_VENDOR_PROPERTIES += \
ro.gfx.angle.supported=$(USE_ANGLE)
ifdef TARGET_SCREEN_DENSITY
ADDITIONAL_VENDOR_PROPERTIES += \
ro.sf.lcd_density=$(TARGET_SCREEN_DENSITY)