1 Star 0 Fork 54

wangweihao/resourceschedule_device_standby

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
standby_service.gni 1.94 KB
一键复制 编辑 原始数据 按行查看 历史
geraltxu 提交于 2023-07-10 21:54 . co-build
# Copyright (c) 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.
import("//build/ohos.gni")
standby_service_root_path = "//foundation/resourceschedule/device_standby"
standby_service_part_name = "device_standby"
standby_interfaces_path = "${standby_service_root_path}/interfaces"
standby_innerkits_path = "${standby_interfaces_path}/innerkits"
standby_plugins_path = "${standby_service_root_path}/plugins"
standby_service_constraints_path = "${standby_plugins_path}/extend_constraints"
standby_service_strategy_path = "${standby_plugins_path}/strategy"
standby_service_message_listener_path = "${standby_plugins_path}/message_listener"
standby_service_standby_state_path = "${standby_plugins_path}/standby_state"
standby_service_utils_path = "${standby_service_root_path}/utils"
standby_utils_common_path = "${standby_service_utils_path}/common"
standby_utils_policy_path = "${standby_service_utils_path}/policy"
standby_service_frameworks_path = "${standby_service_root_path}/frameworks"
standby_service_path = "${standby_service_root_path}/services"
declare_args() {
enable_standby_configpolicy = true
enable_background_task_mgr = true
if (defined(global_parts_info) &&
!defined(global_parts_info.customization_config_policy)) {
enable_standby_configpolicy = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.resourceschedule_background_task_mgr)) {
enable_background_task_mgr = false
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wangweihao8/resourceschedule_device_standby.git
git@gitee.com:wangweihao8/resourceschedule_device_standby.git
wangweihao8
resourceschedule_device_standby
resourceschedule_device_standby
master

搜索帮助