graphic_graphic_2d/graphic_config.gni
lizheng 0551908294 gles
Change-Id: Ie02bbb8d5b2add783b03b9dca82524e621ba6b67
Signed-off-by: lizheng <lizheng2@huawei.com>
2021-11-25 20:44:29 +08:00

27 lines
874 B
Plaintext

# Copyright (c) 2021 Huawei Device Co., Ltd.
# 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.
import("//build/ohos_var.gni")
if ("${product_name}" == "rk3566" || "${product_name}" == "rk3568") {
ace_enable_gpu = true
} else {
ace_enable_gpu = false
}
if (ace_enable_gpu) {
libgl = [ "//device/hihope/hardware/gpu:mali-bifrost-g52-g2p0-wayland" ]
} else {
libgl = []
}