14faa1673Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd. 24faa1673Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 34faa1673Sopenharmony_ci# you may not use this file except in compliance with the License. 44faa1673Sopenharmony_ci# You may obtain a copy of the License at 54faa1673Sopenharmony_ci# 64faa1673Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 74faa1673Sopenharmony_ci# 84faa1673Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 94faa1673Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 104faa1673Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 114faa1673Sopenharmony_ci# See the License for the specific language governing permissions and 124faa1673Sopenharmony_ci# limitations under the License. 134faa1673Sopenharmony_ci 144faa1673Sopenharmony_cideclare_args() { 154faa1673Sopenharmony_ci sandbox_manager_feature_coverage = false 164faa1673Sopenharmony_ci} 174faa1673Sopenharmony_ci 184faa1673Sopenharmony_ciconfig("coverage_flags") { 194faa1673Sopenharmony_ci if (sandbox_manager_feature_coverage) { 204faa1673Sopenharmony_ci cflags = [ "--coverage" ] 214faa1673Sopenharmony_ci ldflags = [ "--coverage" ] 224faa1673Sopenharmony_ci } 234faa1673Sopenharmony_ci} 24