1595d5899Sopenharmony_ci# Copyright (c) 2021-2023 Huawei Device Co., Ltd. 2595d5899Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3595d5899Sopenharmony_ci# you may not use this file except in compliance with the License. 4595d5899Sopenharmony_ci# You may obtain a copy of the License at 5595d5899Sopenharmony_ci# 6595d5899Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7595d5899Sopenharmony_ci# 8595d5899Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9595d5899Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10595d5899Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11595d5899Sopenharmony_ci# See the License for the specific language governing permissions and 12595d5899Sopenharmony_ci# limitations under the License. 13595d5899Sopenharmony_ci 14595d5899Sopenharmony_ciimport("../../displaymgr.gni") 15595d5899Sopenharmony_ci 16595d5899Sopenharmony_ciconfig("utils_config") { 17595d5899Sopenharmony_ci include_dirs = [ "native/include" ] 18595d5899Sopenharmony_ci} 19595d5899Sopenharmony_ci 20595d5899Sopenharmony_cideclare_args() { 21595d5899Sopenharmony_ci display_manager_feature_coverage = false 22595d5899Sopenharmony_ci} 23595d5899Sopenharmony_ci 24595d5899Sopenharmony_ciconfig("coverage_flags") { 25595d5899Sopenharmony_ci if (display_manager_feature_coverage) { 26595d5899Sopenharmony_ci cflags = [ "--coverage" ] 27595d5899Sopenharmony_ci cflags_cc = [ "--coverage" ] 28595d5899Sopenharmony_ci ldflags = [ "--coverage" ] 29595d5899Sopenharmony_ci } 30595d5899Sopenharmony_ci} 31