ability_dmsfwk/dmsfwk.gni
du-zhihai 83e6b9dea4 upload distributed component to memmgr
Signed-off-by: du-zhihai <duzhihai@huawei.com>
Change-Id: Ib6ab51f2b227f2d853a7ab801ff543f4f6c15cc6
2022-08-29 21:14:22 +08:00

34 lines
1.3 KiB
Plaintext

# Copyright (c) 2022 Huawei Device Co., Ltd.
# 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() {
dmsfwk_standard_form_share = true
dmsfwk_mission_manager = true
efficiency_manager_service_enable = true
dmsfwk_report_distributedcomponent_memmgr = true
if (defined(global_parts_info) &&
!defined(global_parts_info.multimedia_multimedia_image_standard)) {
dmsfwk_mission_manager = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.resourceschedule_efficiency_manager)) {
efficiency_manager_service_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.resourceschedule_memmgr) &&
!defined(global_parts_info.resourceschedule_plugins_memmgr)) {
dmsfwk_report_distributedcomponent_memmgr = false
}
}