195489c19Sopenharmony_ci# Copyright (C) 2021 Huawei Device Co., Ltd.
295489c19Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
395489c19Sopenharmony_ci# you may not use this file except in compliance with the License.
495489c19Sopenharmony_ci# You may obtain a copy of the License at
595489c19Sopenharmony_ci#
695489c19Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
795489c19Sopenharmony_ci#
895489c19Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
995489c19Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
1095489c19Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1195489c19Sopenharmony_ci# See the License for the specific language governing permissions and
1295489c19Sopenharmony_ci# limitations under the License.
1395489c19Sopenharmony_ci
1495489c19Sopenharmony_cideclare_args() {
1595489c19Sopenharmony_ci  bluetooth_service_resourceschedule = true
1695489c19Sopenharmony_ci
1795489c19Sopenharmony_ci  if (defined(global_parts_info) &&
1895489c19Sopenharmony_ci      !defined(global_parts_info.resourceschedule_resource_schedule_service)) {
1995489c19Sopenharmony_ci    bluetooth_service_resourceschedule = false
2095489c19Sopenharmony_ci  }
2195489c19Sopenharmony_ci}
22