181b96c26Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
281b96c26Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
381b96c26Sopenharmony_ci# you may not use this file except in compliance with the License.
481b96c26Sopenharmony_ci# You may obtain a copy of the License at
581b96c26Sopenharmony_ci#
681b96c26Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
781b96c26Sopenharmony_ci#
881b96c26Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
981b96c26Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
1081b96c26Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1181b96c26Sopenharmony_ci# See the License for the specific language governing permissions and
1281b96c26Sopenharmony_ci# limitations under the License.
1381b96c26Sopenharmony_ci
1481b96c26Sopenharmony_cideclare_args() {
1581b96c26Sopenharmony_ci  dlp_permission_service_feature_coverage = false
1681b96c26Sopenharmony_ci}
1781b96c26Sopenharmony_ci
1881b96c26Sopenharmony_ciconfig("coverage_flags") {
1981b96c26Sopenharmony_ci  if (dlp_permission_service_feature_coverage) {
2081b96c26Sopenharmony_ci    cflags = [ "--coverage" ]
2181b96c26Sopenharmony_ci    ldflags = [ "--coverage" ]
2281b96c26Sopenharmony_ci  }
2381b96c26Sopenharmony_ci}
24