1# Copyright (C) 2022 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14resourceschedule_path = "//foundation/resourceschedule" 15 16ressched_services = 17 "${resourceschedule_path}/resource_schedule_service/ressched/services" 18 19ressched_common = 20 "${resourceschedule_path}/resource_schedule_service/ressched/common" 21 22ressched_interfaces = 23 "${resourceschedule_path}/resource_schedule_service/ressched/interfaces" 24 25ressched_plugins = 26 "${resourceschedule_path}/resource_schedule_service/ressched/plugins" 27 28ressched_test = 29 "${resourceschedule_path}/resource_schedule_service/ressched/test" 30 31declare_args() { 32 component_sched_enable = true 33 device_movement_perception_enable = true 34 35 if (defined(global_parts_info) && 36 !defined(global_parts_info.resourceschedule_efficiency_manager)) { 37 component_sched_enable = false 38 } 39 40 if (defined(global_parts_info) && !defined(global_parts_info.msdp_movement)) { 41 device_movement_perception_enable = false 42 } 43} 44