1 Star 0 Fork 256

caochufeng/notification_common_event_service

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
event.gni 2.52 KB
一键复制 编辑 原始数据 按行查看 历史
# Copyright (c) 2021 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_napi_path = "${ability_runtime_path}/frameworks/js/napi"
ability_runtime_kits_path = "${ability_runtime_path}/frameworks/kits"
common_event_service_path = "//base/notification/common_event_service"
frameworks_path = "${common_event_service_path}/frameworks"
ffrt_path = "//foundation/resourceschedule/ffrt"
interfaces_path = "${common_event_service_path}/interfaces"
services_path = "${common_event_service_path}/services"
tools_path = "${common_event_service_path}/tools"
ces_common_path = "${frameworks_path}/common"
ces_core_path = "${frameworks_path}/core"
ces_innerkits_path = "${interfaces_path}/inner_api"
ces_ndk_path = "${interfaces_path}/kits/ndk"
ces_native_path = "${frameworks_path}/native"
ces_extension_path = "${frameworks_path}/extension"
ces_services_path = "${services_path}"
common_fuzz_test_path = "common_event_service/common_event_service"
declare_args() {
common_event_service_with_graphics = true
has_hisysevent_part = true
common_event_service_tool_cem_enable = true
ces_hitrace_usage = true
ces_config_policy_enable = true
if (!defined(global_parts_info) ||
defined(global_parts_info.account_os_account)) {
has_os_account_part = true
} else {
has_os_account_part = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.hiviewdfx_hisysevent)) {
has_hisysevent_part = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.hiviewdfx_hitrace)) {
hitrace_usage = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.customization_config_policy)) {
ces_config_policy_enable = false
}
print("has_hisysevent_part = " + "$has_hisysevent_part")
print("event ces_hitrace_usage = " + "$ces_hitrace_usage")
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/caochufeng/notification_common_event_service.git
[email protected]:caochufeng/notification_common_event_service.git
caochufeng
notification_common_event_service
notification_common_event_service
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385