1 Star 0 Fork 192

LiFeng/ability_dmsfwk

forked from OpenHarmony/ability_dmsfwk 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
dmsfwk.gni 1.80 KB
一键复制 编辑 原始数据 按行查看 历史
liuxiaowei42 提交于 2023-09-21 20:05 . os_account做条件编译
# Copyright (c) 2021-2023 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() {
dms_path = "//foundation/ability/dmsfwk"
module_output_path = "dmsfwk/dmsfwk"
communication_path = "//foundation/communication"
dmsfwk_standard_form_share = true
dmsfwk_mission_manager = false
efficiency_manager_service_enable = false
dmsfwk_report_memmgr = false
dmsfwk_report_memmgr_plugins = false
dmsfwk_softbus_adapter_common = true
dmsfwk_service_disable = false
if (defined(global_parts_info)) {
if (defined(global_parts_info.multimedia_image_framework)) {
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
}
}
if (!defined(global_parts_info) ||
defined(global_parts_info.distributedhardware_device_manager)) {
token_sync_enable = true
} else {
token_sync_enable = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.account_os_account)) {
os_account_part = true
} else {
os_account_part = false
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/ICEMAGE117/ability_dmsfwk.git
git@gitee.com:ICEMAGE117/ability_dmsfwk.git
ICEMAGE117
ability_dmsfwk
ability_dmsfwk
master

搜索帮助