Properly define angle.mk

Previously we used USE_ANGLE to determine whether the build should include
ANGLE drivers, this patch consolidates that into a separate Makefile.

Bug: b/270994705
Test: atest CtsAngleIntegrationHostTestCases
Change-Id: I4d7ffb869ced219009446d907230178e4b940157
This commit is contained in:
Peiyong Lin
2023-04-26 01:07:35 +00:00
parent e872adfc97
commit 148276b55a
2 changed files with 26 additions and 4 deletions

View File

@@ -320,10 +320,6 @@ 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)