加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
hidumper.gni 2.11 KB
一键复制 编辑 原始数据 按行查看 历史
mackey94 提交于 2024-04-10 11:32 . :decoupling hisysevent part
# 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_ability_runtime_enable = true
hidumper_graphic_enable = true
hidumper_ablility_base_enable = false
hidumper_netmanager_base_enable = true
hidumper_bundlemanager_framework_enable = true
hidumper_hiviewdfx_hisysevent_enable = true
if (!defined(global_parts_info.ability_ability_runtime)) {
hidumper_ability_runtime_enable = false
}
if (!defined(global_parts_info.graphic_graphic_2d)) {
hidumper_graphic_enable = false
}
if (defined(global_parts_info.ability_ability_base)) {
hidumper_ablility_base_enable = true
}
if (!defined(global_parts_info.communication_netmanager_base)) {
hidumper_netmanager_base_enable = false
}
if (!defined(global_parts_info.bundlemanager_bundle_framework)) {
hidumper_bundlemanager_framework_enable = false
}
if (!defined(global_parts_info.hiviewdfx_hisysevent)) {
hidumper_hiviewdfx_hisysevent_enable = false
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化