Loading target/product/angle_default.mk 0 → 100644 +23 −0 Original line number Diff line number Diff line # # Copyright 2023 The Android Open-Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # To enable ANGLE as the default system GLES drivers, add # $(call inherit-product, $(SRC_TARGET_DIR)/product/angle_enabled.mk) to the Makefile. $(call inherit-product, $(SRC_TARGET_DIR)/product/angle_supported.mk) PRODUCT_VENDOR_PROPERTIES += \ persist.graphics.egl=angle target/product/angle.mk→target/product/angle_supported.mk +4 −3 Original line number Diff line number Diff line Loading @@ -14,8 +14,9 @@ # limitations under the License. # # To include ANGLE drivers into the build, add # $(call inherit-product, $(SRC_TARGET_DIR)/product/angle.mk) to the Makefile. # To include ANGLE into the image build, add # $(call inherit-product, $(SRC_TARGET_DIR)/product/angle_supported.mk) to the Makefile. # By default, this will allow ANGLE binaries to coexist with native GLES drivers. PRODUCT_PACKAGES += \ libEGL_angle \ Loading @@ -23,4 +24,4 @@ PRODUCT_PACKAGES += \ libGLESv2_angle # Set ro.gfx.angle.supported based on if ANGLE is installed in vendor partition PRODUCT_VENDOR_PROPERTIES := ro.gfx.angle.supported=true PRODUCT_VENDOR_PROPERTIES += ro.gfx.angle.supported=true Loading
target/product/angle_default.mk 0 → 100644 +23 −0 Original line number Diff line number Diff line # # Copyright 2023 The Android Open-Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # To enable ANGLE as the default system GLES drivers, add # $(call inherit-product, $(SRC_TARGET_DIR)/product/angle_enabled.mk) to the Makefile. $(call inherit-product, $(SRC_TARGET_DIR)/product/angle_supported.mk) PRODUCT_VENDOR_PROPERTIES += \ persist.graphics.egl=angle
target/product/angle.mk→target/product/angle_supported.mk +4 −3 Original line number Diff line number Diff line Loading @@ -14,8 +14,9 @@ # limitations under the License. # # To include ANGLE drivers into the build, add # $(call inherit-product, $(SRC_TARGET_DIR)/product/angle.mk) to the Makefile. # To include ANGLE into the image build, add # $(call inherit-product, $(SRC_TARGET_DIR)/product/angle_supported.mk) to the Makefile. # By default, this will allow ANGLE binaries to coexist with native GLES drivers. PRODUCT_PACKAGES += \ libEGL_angle \ Loading @@ -23,4 +24,4 @@ PRODUCT_PACKAGES += \ libGLESv2_angle # Set ro.gfx.angle.supported based on if ANGLE is installed in vendor partition PRODUCT_VENDOR_PROPERTIES := ro.gfx.angle.supported=true PRODUCT_VENDOR_PROPERTIES += ro.gfx.angle.supported=true