2023-08-10 12:08:37 +00:00
|
|
|
# Copyright (c) 2021-2023 Huawei Device Co., Ltd.
|
2021-06-01 16:03:37 +00:00
|
|
|
# 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"
|
2023-07-21 10:15:45 +00:00
|
|
|
hiview_framework = "//base/hiviewdfx/hiview/framework"
|
2023-07-19 11:11:57 +00:00
|
|
|
hiview_interfaces = "//base/hiviewdfx/hiview/interfaces"
|
2021-06-01 16:03:37 +00:00
|
|
|
hiview_test = "//base/hiviewdfx/hiview/test"
|
|
|
|
|
|
|
|
# hiview plugin path definitions
|
|
|
|
hiview_faultlogger = "//base/hiviewdfx/hiview/plugins/faultlogger"
|
2021-08-21 04:01:10 +00:00
|
|
|
hiview_eventlogger = "//base/hiviewdfx/hiview/plugins/eventlogger"
|
2022-06-15 09:25:45 +00:00
|
|
|
|
2023-09-23 09:00:31 +00:00
|
|
|
# hiview module
|
|
|
|
hiview_module = "hiview/hiview"
|
|
|
|
|
2022-06-15 09:25:45 +00:00
|
|
|
declare_args() {
|
|
|
|
device_usage_statistics_enable = true
|
|
|
|
if (defined(global_parts_info) &&
|
2022-06-22 11:56:15 +00:00
|
|
|
!defined(global_parts_info.resourceschedule_device_usage_statistics)) {
|
2022-06-15 09:25:45 +00:00
|
|
|
device_usage_statistics_enable = false
|
|
|
|
}
|
2022-12-13 07:41:59 +00:00
|
|
|
|
2023-08-10 12:08:37 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2022-12-13 07:41:59 +00:00
|
|
|
enable_hiview_usage_event_report_build = true
|
2023-11-15 10:06:05 +00:00
|
|
|
|
|
|
|
has_hiperf = true
|
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
!defined(global_parts_info.developtools_hiperf)) {
|
|
|
|
has_hiperf = false
|
|
|
|
}
|
2023-12-08 09:41:07 +00:00
|
|
|
has_hiprofiler = true
|
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
!defined(global_parts_info.developtools_hiprofiler)) {
|
|
|
|
has_hiprofiler = false
|
|
|
|
}
|
2024-02-20 11:10:27 +00:00
|
|
|
|
2024-07-26 06:29:34 +00:00
|
|
|
is_wifi_enable = true
|
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
!defined(global_parts_info.communication_wifi)) {
|
|
|
|
is_wifi_enable = false
|
|
|
|
}
|
|
|
|
|
2024-06-01 09:36:54 +00:00
|
|
|
hiview_enable_leak_detector = false
|
2024-04-10 06:25:19 +00:00
|
|
|
|
|
|
|
hiview_unified_collector_PC_app_state_collect_enable = false
|
2024-06-04 03:53:45 +00:00
|
|
|
hiview_enable_performance_monitor = false
|
2022-06-16 07:10:21 +00:00
|
|
|
}
|