commit | 20d1b668dbb4d4b2fe8df1ec827c891650adbfb3 | [log] [tgz] |
---|---|---|
author | Peiyong Lin <lpy@google.com> | Wed May 03 16:44:07 2023 +0000 |
committer | Peiyong Lin <lpy@google.com> | Wed May 03 16:44:26 2023 +0000 |
tree | 99c5b80046d34e267a557303fe3a12d21d3054b8 | |
parent | cf972638768a379dc5bce4fbfaf48238a0a6b0e7 [diff] |
Split ANGLE supported and enabled into different Makefiles. ANGLE binaries should be added to the PRODUCT_PACKAGES instead. This patch also splits the angle.mk to angle_supported.mk and angle_default.mk so that when a device just wants to ship ANGLE binaries to coexist with native GLES drivers, it only needs to inherit the angle_supported.mk and when a device wants to ship ANGLE as the default system GLES drivers, it only needs to inherit the angle_default.mk. When ANGLE is the default system GLES driver, make sure persist.graphics.egl is defined so that ANGLE is loaded properly. Bug: 270994705 Test: atest CtsAngleIntegrationHostTestCases Change-Id: I3de4a40b62b39c91c8f6df56d68755830b303f10
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.