18e745fdaSopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd.
28e745fdaSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
38e745fdaSopenharmony_ci# you may not use this file except in compliance with the License.
48e745fdaSopenharmony_ci# You may obtain a copy of the License at
58e745fdaSopenharmony_ci#
68e745fdaSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
78e745fdaSopenharmony_ci#
88e745fdaSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
98e745fdaSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
108e745fdaSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
118e745fdaSopenharmony_ci# See the License for the specific language governing permissions and
128e745fdaSopenharmony_ci# limitations under the License.
138e745fdaSopenharmony_ci
148e745fdaSopenharmony_ciimport("//build/ohos.gni")
158e745fdaSopenharmony_ciimport("//foundation/communication/netmanager_ext/netmanager_ext_config.gni")
168e745fdaSopenharmony_ci
178e745fdaSopenharmony_ciconfig("coverage_flags") {
188e745fdaSopenharmony_ci  if (netmanager_ext_feature_coverage) {
198e745fdaSopenharmony_ci    cflags = [ "--coverage" ]
208e745fdaSopenharmony_ci    ldflags = [ "--coverage" ]
218e745fdaSopenharmony_ci  }
228e745fdaSopenharmony_ci}
23