71af449630
As ANGLE will become the default GLES drivers and by shipped by Google, this patch allows ANGLE to be built into Android OS image. Bug: b/293503000 Test: atest CtsAngleDeveloperOptionHostTest -c with ANGLE being default Test: atest CtsAngleDeveloperOptionHostTest -c with native being default Change-Id: I72aa4e126916419d2350a4ce980bd33cb4537c73
23 lines
880 B
Makefile
23 lines
880 B
Makefile
#
|
|
# 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_default.mk) to the Makefile.
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/angle_supported.mk)
|
|
|
|
PRODUCT_SYSTEM_PROPERTIES += \
|
|
persist.graphics.egl=angle
|