2023-05-12 07:52:47 +00:00
|
|
|
# Copyright (c) 2021-2023 Huawei Device Co., Ltd.
|
2022-03-11 07:03:59 +00:00
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
declare_args() {
|
2023-03-13 07:47:27 +00:00
|
|
|
dms_path = "//foundation/ability/dmsfwk"
|
2023-09-12 13:53:27 +00:00
|
|
|
module_output_path = "dmsfwk/dmsfwk"
|
2023-05-12 07:52:47 +00:00
|
|
|
communication_path = "//foundation/communication"
|
2022-08-03 06:52:21 +00:00
|
|
|
dmsfwk_standard_form_share = true
|
2022-09-15 11:36:59 +00:00
|
|
|
dmsfwk_mission_manager = false
|
|
|
|
efficiency_manager_service_enable = false
|
|
|
|
dmsfwk_report_memmgr = false
|
|
|
|
dmsfwk_report_memmgr_plugins = false
|
2023-05-31 08:02:02 +00:00
|
|
|
dmsfwk_softbus_adapter_common = true
|
2022-09-16 00:58:46 +00:00
|
|
|
if (defined(global_parts_info)) {
|
2023-07-06 07:23:25 +00:00
|
|
|
if (defined(global_parts_info.multimedia_image_framework)) {
|
2022-09-15 11:36:59 +00:00
|
|
|
dmsfwk_mission_manager = true
|
|
|
|
}
|
|
|
|
if (defined(global_parts_info.resourceschedule_efficiency_manager)) {
|
|
|
|
efficiency_manager_service_enable = true
|
|
|
|
}
|
|
|
|
if (defined(global_parts_info.resourceschedule_memmgr)) {
|
|
|
|
dmsfwk_report_memmgr = true
|
|
|
|
}
|
|
|
|
if (defined(global_parts_info.resourceschedule_plugins_memmgr)) {
|
|
|
|
dmsfwk_report_memmgr_plugins = true
|
|
|
|
}
|
2022-08-27 04:34:58 +00:00
|
|
|
}
|
2023-05-11 03:18:00 +00:00
|
|
|
if (!defined(global_parts_info) ||
|
|
|
|
defined(global_parts_info.distributedhardware_device_manager)) {
|
|
|
|
token_sync_enable = true
|
|
|
|
} else {
|
|
|
|
token_sync_enable = false
|
|
|
|
}
|
2022-03-11 07:03:59 +00:00
|
|
|
}
|