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
diff --git a/core/main.mk b/core/main.mk
index e84dfaa..f352387 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -320,6 +320,10 @@
     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)