1f8af9c48Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd. 2f8af9c48Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3f8af9c48Sopenharmony_ci# you may not use this file except in compliance with the License. 4f8af9c48Sopenharmony_ci# You may obtain a copy of the License at 5f8af9c48Sopenharmony_ci# 6f8af9c48Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7f8af9c48Sopenharmony_ci# 8f8af9c48Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9f8af9c48Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10f8af9c48Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11f8af9c48Sopenharmony_ci# See the License for the specific language governing permissions and 12f8af9c48Sopenharmony_ci# limitations under the License. 13f8af9c48Sopenharmony_ci 14f8af9c48Sopenharmony_cideclare_args() { 15f8af9c48Sopenharmony_ci device_info_manager_feature_coverage = false 16f8af9c48Sopenharmony_ci} 17f8af9c48Sopenharmony_ci 18f8af9c48Sopenharmony_ciconfig("coverage_flags") { 19f8af9c48Sopenharmony_ci if (device_info_manager_feature_coverage) { 20f8af9c48Sopenharmony_ci cflags = [ "--coverage" ] 21f8af9c48Sopenharmony_ci ldflags = [ "--coverage" ] 22f8af9c48Sopenharmony_ci } 23f8af9c48Sopenharmony_ci} 24