From cc63340cd180d9b8433920115e9121d32c44a5e7 Mon Sep 17 00:00:00 2001 From: Peiyong Lin Date: Thu, 29 Feb 2024 01:34:09 +0000 Subject: [PATCH] Clean up ANGLE on system build configuration. Now that ANGLE on system is in fully released, clean up the build file configuration and remove the flags. Bug: b/293503000 Test: atest CtsAngleIntegrationHostTestCases Change-Id: Ie8294b6494e2fad44ff102ecf0018916d61b082a Merged-In: Ie8294b6494e2fad44ff102ecf0018916d61b082a --- target/product/angle_default.mk | 2 -- target/product/angle_supported.mk | 29 ----------------------------- target/product/base_system.mk | 4 ---- 3 files changed, 35 deletions(-) delete mode 100644 target/product/angle_supported.mk diff --git a/target/product/angle_default.mk b/target/product/angle_default.mk index fdfc7f5795..72846d3b02 100644 --- a/target/product/angle_default.mk +++ b/target/product/angle_default.mk @@ -17,7 +17,5 @@ # To enable ANGLE as the default system GLES drivers, add # $(call inherit-product, $(SRC_TARGET_DIR)/product/angle_default.mk) to the Makefile. -$(call inherit-product, $(SRC_TARGET_DIR)/product/angle_supported.mk) - PRODUCT_SYSTEM_PROPERTIES += \ persist.graphics.egl=angle diff --git a/target/product/angle_supported.mk b/target/product/angle_supported.mk deleted file mode 100644 index 59e6ea3500..0000000000 --- a/target/product/angle_supported.mk +++ /dev/null @@ -1,29 +0,0 @@ -# -# 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 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. - -ifneq ($(RELEASE_ANGLE_ON_SYSTEM),true) -PRODUCT_PACKAGES += \ - libEGL_angle \ - libGLESv1_CM_angle \ - libGLESv2_angle - -# Set ro.gfx.angle.supported based on if ANGLE is installed in vendor partition -PRODUCT_VENDOR_PROPERTIES += ro.gfx.angle.supported=true -endif diff --git a/target/product/base_system.mk b/target/product/base_system.mk index 3d057e2556..e7dbd1f7d2 100644 --- a/target/product/base_system.mk +++ b/target/product/base_system.mk @@ -374,14 +374,10 @@ ifeq (,$(DISABLE_WALLPAPER_BACKUP)) WallpaperBackup endif -# Moving angle from vendor to system -ifeq ($(RELEASE_ANGLE_ON_SYSTEM),true) PRODUCT_PACKAGES += \ libEGL_angle \ libGLESv1_CM_angle \ libGLESv2_angle -$(call soong_config_set,angle,angle_on_system,true) -endif # For testing purposes ifeq ($(FORCE_AUDIO_SILENT), true)