1 Star 0 Fork 307

littlebee/notification_distributed_notification_service

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
notification.gni 3.49 KB
一键复制 编辑 原始数据 按行查看 历史
lx18032707081 提交于 2024-04-23 14:43 . 协同提醒决策代码隔离
# 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.
ability_runtime_path = "//foundation/ability/ability_runtime"
ability_runtime_inner_api_path = "${ability_runtime_path}/interfaces/inner_api"
ability_runtime_services_path = "${ability_runtime_path}/services"
ability_runtime_kits_path = "${ability_runtime_path}/frameworks/kits"
ability_runtime_napi_path = "${ability_runtime_path}/frameworks/js/napi"
access_token_path = "//base/security/access_token"
ffrt_path = "//foundation/resourceschedule/ffrt"
component_name = "distributed_notification_service"
component_path = "//base/notification/distributed_notification_service"
multimedia_path = "//foundation/multimedia/image_framework"
commonlibrary_utils_path = "//commonlibrary/c_utils"
services_path = "${component_path}/services"
frameworks_path = "${component_path}/frameworks"
frameworks_module_ans_path = "${frameworks_path}/ans"
interfaces_path = "${component_path}/interfaces"
inner_api_path = "${interfaces_path}/inner_api"
core_path = "${frameworks_path}/core"
test_path = "${component_path}/test"
tools_path = "${component_path}/tools"
service_fuzz_test_path =
"distributed_notification_service/distributed_notification_service"
distributed_notification_supported = true
subsystem_name = "notification"
component_external_deps = [
"ability_base:base",
"ability_base:want",
"ability_base:zuri",
"bundle_framework:appexecfwk_base",
"bundle_framework:appexecfwk_core",
"common_event_service:cesfwk_innerkits",
"eventhandler:libeventhandler",
"hilog:libhilog",
"ipc:ipc_core",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
]
declare_args() {
device_usage = true
hisysevent_usage = true
standby_enable = true
player_framework = true
ans_hitrace_usage = true
notification_ext_feature_summary = false
notification_smart_reminder_supported = true
ans_config_policy_enable = true
screenlock_mgr_enable = true
if (defined(global_parts_info) &&
!defined(global_parts_info.resourceschedule_device_usage_statistics)) {
device_usage = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.hiviewdfx_hisysevent_native)) {
hisysevent_usage = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.resourceschedule_device_standby)) {
standby_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.multimedia_player_framework)) {
player_framework = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.hiviewdfx_hitrace)) {
ans_hitrace_usage = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.customization_config_policy)) {
ans_config_policy_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.theme_screenlock_mgr)) {
screenlock_mgr_enable = false
notification_smart_reminder_supported = false
}
print("hisysevent_usage = " + "$hisysevent_usage")
print("ans_hitrace_usage = " + "$ans_hitrace_usage")
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/powerlittlebee/notification_distributed_notification_service.git
[email protected]:powerlittlebee/notification_distributed_notification_service.git
powerlittlebee
notification_distributed_notification_service
notification_distributed_notification_service
master

搜索帮助