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

Commit 9dfc376c authored by Yuxin Hu's avatar Yuxin Hu
Browse files

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
parent 9362cc8e
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)