1b0e7dd80Sopenharmony_ci# Copyright (c) 2023-2024 Huawei Device Co., Ltd.
2b0e7dd80Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3b0e7dd80Sopenharmony_ci# you may not use this file except in compliance with the License.
4b0e7dd80Sopenharmony_ci# You may obtain a copy of the License at
5b0e7dd80Sopenharmony_ci#
6b0e7dd80Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7b0e7dd80Sopenharmony_ci#
8b0e7dd80Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9b0e7dd80Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10b0e7dd80Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11b0e7dd80Sopenharmony_ci# See the License for the specific language governing permissions and
12b0e7dd80Sopenharmony_ci# limitations under the License.
13b0e7dd80Sopenharmony_ci
14b0e7dd80Sopenharmony_cihitrace_path = "//base/hiviewdfx/hitrace"
15b0e7dd80Sopenharmony_cihitrace_cmd_path = "$hitrace_path/cmd"
16b0e7dd80Sopenharmony_cihitrace_config_path = "$hitrace_path/config"
17b0e7dd80Sopenharmony_cihitrace_frameworks_path = "$hitrace_path/frameworks"
18b0e7dd80Sopenharmony_cihitrace_interfaces_path = "$hitrace_path/interfaces"
19b0e7dd80Sopenharmony_cihitrace_utils_path = "$hitrace_path/utils"
20b0e7dd80Sopenharmony_ci
21b0e7dd80Sopenharmony_cideclare_args() {
22b0e7dd80Sopenharmony_ci  hitrace_support_executable_file = true
23b0e7dd80Sopenharmony_ci  hitrace_double_tracebuffer_size = false
24b0e7dd80Sopenharmony_ci  hiview_enable = false
25b0e7dd80Sopenharmony_ci  if (defined(global_parts_info) &&
26b0e7dd80Sopenharmony_ci      defined(global_parts_info.hiviewdfx_hiview)) {
27b0e7dd80Sopenharmony_ci    hiview_enable = true
28b0e7dd80Sopenharmony_ci  }
29b0e7dd80Sopenharmony_ci}
30