112636162Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd. 212636162Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 312636162Sopenharmony_ci# you may not use this file except in compliance with the License. 412636162Sopenharmony_ci# You may obtain a copy of the License at 512636162Sopenharmony_ci# 612636162Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 712636162Sopenharmony_ci# 812636162Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 912636162Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 1012636162Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1112636162Sopenharmony_ci# See the License for the specific language governing permissions and 1212636162Sopenharmony_ci# limitations under the License. 1312636162Sopenharmony_ci 1412636162Sopenharmony_ciconfig("utils_config") { 1512636162Sopenharmony_ci include_dirs = [ "include" ] 1612636162Sopenharmony_ci} 1712636162Sopenharmony_ci 1812636162Sopenharmony_cideclare_args() { 1912636162Sopenharmony_ci external_device_manager_coverage = false 2012636162Sopenharmony_ci} 2112636162Sopenharmony_ci 2212636162Sopenharmony_ciconfig("coverage_flags") { 2312636162Sopenharmony_ci if (external_device_manager_coverage) { 2412636162Sopenharmony_ci cflags = [ "--coverage" ] 2512636162Sopenharmony_ci ldflags = [ "--coverage" ] 2612636162Sopenharmony_ci } 2712636162Sopenharmony_ci} 28