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

Commit dbd7c047 authored by Yuxin Hu's avatar Yuxin Hu
Browse files

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

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

Change-Id: I0fb881962ab77abd18f05d33393c4ee11694109c
parent 3fb8d2ba
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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)