mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-23 23:20:32 +00:00
0551908294
Change-Id: Ie02bbb8d5b2add783b03b9dca82524e621ba6b67 Signed-off-by: lizheng <lizheng2@huawei.com>
27 lines
874 B
Plaintext
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 = []
|
|
}
|