15 Star 25 Fork 232

OpenHarmony / hiviewdfx_hiview

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
hiview.gni 2.44 KB
一键复制 编辑 原始数据 按行查看 历史
# 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.
# build type definitions
is_phone = true
is_tv = false
is_watch = false
# hiview path definitions
hiview_root = "//base/hiviewdfx/hiview"
hiview_adapter = "//base/hiviewdfx/hiview/adapter"
hiview_base = "//base/hiviewdfx/hiview/base"
hiview_core = "//base/hiviewdfx/hiview/core"
hiview_plugin = "//base/hiviewdfx/hiview/plugins"
hiview_service = "//base/hiviewdfx/hiview/service"
hiview_framework = "//base/hiviewdfx/hiview/framework"
hiview_interfaces = "//base/hiviewdfx/hiview/interfaces"
hiview_test = "//base/hiviewdfx/hiview/test"
# hiview plugin path definitions
hiview_faultlogger = "//base/hiviewdfx/hiview/plugins/faultlogger"
hiview_eventlogger = "//base/hiviewdfx/hiview/plugins/eventlogger"
# hiview module
hiview_module = "hiview/hiview"
declare_args() {
device_usage_statistics_enable = true
if (defined(global_parts_info) &&
!defined(global_parts_info.resourceschedule_device_usage_statistics)) {
device_usage_statistics_enable = false
}
battery_statistics_enable = true
if (defined(global_parts_info) &&
!defined(global_parts_info.powermgr_battery_statistics)) {
battery_statistics_enable = false
}
power_manager_enable = true
if (defined(global_parts_info) &&
!defined(global_parts_info.powermgr_power_manager)) {
power_manager_enable = false
}
enable_hiview_usage_event_report_build = true
has_hiperf = true
if (defined(global_parts_info) &&
!defined(global_parts_info.developtools_hiperf)) {
has_hiperf = false
}
has_hiprofiler = true
if (defined(global_parts_info) &&
!defined(global_parts_info.developtools_hiprofiler)) {
has_hiprofiler = false
}
is_wifi_enable = true
if (defined(global_parts_info) &&
!defined(global_parts_info.communication_wifi)) {
is_wifi_enable = false
}
enable_leak_detector = false
hiview_unified_collector_PC_app_state_collect_enable = false
}
1
https://gitee.com/openharmony/hiviewdfx_hiview.git
git@gitee.com:openharmony/hiviewdfx_hiview.git
openharmony
hiviewdfx_hiview
hiviewdfx_hiview
master

搜索帮助