1686862fbSopenharmony_ci# Copyright (c) 2021-2023 Huawei Device Co., Ltd. 2686862fbSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3686862fbSopenharmony_ci# you may not use this file except in compliance with the License. 4686862fbSopenharmony_ci# You may obtain a copy of the License at 5686862fbSopenharmony_ci# 6686862fbSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7686862fbSopenharmony_ci# 8686862fbSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9686862fbSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10686862fbSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11686862fbSopenharmony_ci# See the License for the specific language governing permissions and 12686862fbSopenharmony_ci# limitations under the License. 13686862fbSopenharmony_ci 14686862fbSopenharmony_cideclare_args() { 15686862fbSopenharmony_ci dms_path = "//foundation/ability/dmsfwk" 16686862fbSopenharmony_ci module_output_path = "dmsfwk/dmsfwk" 17686862fbSopenharmony_ci 18686862fbSopenharmony_ci dmsfwk_standard_form_share = true 19686862fbSopenharmony_ci dmsfwk_mission_manager = false 20686862fbSopenharmony_ci efficiency_manager_service_enable = false 21686862fbSopenharmony_ci dmsfwk_report_memmgr = false 22686862fbSopenharmony_ci dmsfwk_report_memmgr_plugins = false 23686862fbSopenharmony_ci dmsfwk_softbus_adapter_common = true 24686862fbSopenharmony_ci dmsfwk_service_disable = false 25686862fbSopenharmony_ci dmsfwk_ces_listener = false 26686862fbSopenharmony_ci dmsfwk_mmi_listener = false 27686862fbSopenharmony_ci if (defined(global_parts_info)) { 28686862fbSopenharmony_ci if (defined(global_parts_info.multimedia_image_framework)) { 29686862fbSopenharmony_ci dmsfwk_mission_manager = true 30686862fbSopenharmony_ci } 31686862fbSopenharmony_ci if (defined(global_parts_info.resourceschedule_efficiency_manager)) { 32686862fbSopenharmony_ci efficiency_manager_service_enable = true 33686862fbSopenharmony_ci } 34686862fbSopenharmony_ci if (defined(global_parts_info.resourceschedule_memmgr)) { 35686862fbSopenharmony_ci dmsfwk_report_memmgr = true 36686862fbSopenharmony_ci } 37686862fbSopenharmony_ci if (defined(global_parts_info.resourceschedule_plugins_memmgr)) { 38686862fbSopenharmony_ci dmsfwk_report_memmgr_plugins = true 39686862fbSopenharmony_ci } 40686862fbSopenharmony_ci if (defined(global_parts_info.notification_common_event_service)) { 41686862fbSopenharmony_ci dmsfwk_ces_listener = true 42686862fbSopenharmony_ci } 43686862fbSopenharmony_ci if (defined(global_parts_info.multimodalinput_input)) { 44686862fbSopenharmony_ci dmsfwk_mmi_listener = true 45686862fbSopenharmony_ci } 46686862fbSopenharmony_ci } 47686862fbSopenharmony_ci if (!defined(global_parts_info) || 48686862fbSopenharmony_ci defined(global_parts_info.distributedhardware_device_manager)) { 49686862fbSopenharmony_ci token_sync_enable = true 50686862fbSopenharmony_ci } else { 51686862fbSopenharmony_ci token_sync_enable = false 52686862fbSopenharmony_ci } 53686862fbSopenharmony_ci if (!defined(global_parts_info) || 54686862fbSopenharmony_ci defined(global_parts_info.account_os_account)) { 55686862fbSopenharmony_ci os_account_part = true 56686862fbSopenharmony_ci } else { 57686862fbSopenharmony_ci os_account_part = false 58686862fbSopenharmony_ci } 59686862fbSopenharmony_ci} 60