1 Star 0 Fork 135

shuqinglin/hiviewdfx_hidumper

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
hidumper.gni 2.21 KB
一键复制 编辑 原始数据 按行查看 历史
wenlong_12 提交于 2023-09-22 16:20 . fuzz路径规范
# 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.
import("//build/ohos.gni")
hidumper_subsystem_name = "hiviewdfx"
hidumper_part_name = "hidumper"
hidumper_root_path = "//base/hiviewdfx/hidumper"
hidumper_frameworks_path = "${hidumper_root_path}/frameworks/native"
hidumper_client_path = "${hidumper_root_path}/client"
hidumper_service_path = "${hidumper_root_path}/services"
hidumper_test_path = "${hidumper_root_path}/test"
hidumper_unittest_path = "${hidumper_test_path}/unittest/common"
hidumper_utils_path = "${hidumper_root_path}/utils"
hidumper_interface = "${hidumper_root_path}/interfaces/native"
hidumper_fuzz_output_path = "hidumper/hidumper"
system_type = "default"
declare_args() {
hidumper_report_memmgr = false
hidumper_report_memmgr_plugins = false
hidumper_ability_runtime_enable = true
hidumper_graphic_enable = true
hidumper_battery_manager_enable = false
hidumper_ablility_base_enable = false
hidumper_common_event_enable = false
if (!defined(global_parts_info.ability_ability_runtime)) {
hidumper_ability_runtime_enable = false
}
if (defined(global_parts_info.resourceschedule_memmgr)) {
hidumper_report_memmgr = true
}
if (defined(global_parts_info.resourceschedule_memmgr_plugin)) {
hidumper_report_memmgr_plugins = true
}
if (!defined(global_parts_info.graphic_graphic_2d)) {
hidumper_graphic_enable = false
}
if (defined(global_parts_info.powermgr_battery_manager)) {
hidumper_battery_manager_enable = true
}
if (defined(global_parts_info.ability_ability_base)) {
hidumper_ablility_base_enable = true
}
if (defined(global_parts_info.notification_common_event_service)) {
hidumper_common_event_enable = true
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shuqinglin2/hiviewdfx_hidumper.git
[email protected]:shuqinglin2/hiviewdfx_hidumper.git
shuqinglin2
hiviewdfx_hidumper
hiviewdfx_hidumper
master

搜索帮助