• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "name": "@ohos/hiview",
3    "description": "Hiview is the module of OpenHarmony that provides toolkits for device maintenance across different platforms.",
4    "version": "3.1",
5    "license": "Apache License 2.0",
6    "publishAs": "code-segment",
7    "segment": {
8        "destPath": "base/hiviewdfx/hiview"
9    },
10    "dirs": {},
11    "scripts": {},
12    "component": {
13        "name": "hiview",
14        "subsystem": "hiviewdfx",
15        "syscap": [
16            "SystemCapability.HiviewDFX.Hiview.FaultLogger",
17            "SystemCapability.HiviewDFX.Hiview.LogLibrary"
18        ],
19        "adapted_system_type": [
20            "standard"
21        ],
22        "features": [
23            "hiview_feature_bbox_userspace",
24            "hiview_enable_leak_detector",
25            "hiview_enable_performance_monitor",
26            "hiview_unified_collector_PC_app_state_collect_enable",
27            "hiview_enable_crash_validator",
28            "hiview_freeze_collect_enable",
29            "hiview_eventlogger_window_manager_enable",
30            "hiview_eventlogger_stacktrace_catcher_enable",
31            "hiview_eventlogger_binder_catcher_enable",
32            "hiview_eventlogger_dmesg_catcher_enable",
33            "hiview_eventlogger_hilog_catcher_enable",
34            "hiview_eventlogger_hitrace_catcher_enable",
35            "hiview_eventlogger_usage_catcher_enable",
36            "hiview_eventlogger_scb_catcher_enable",
37            "hiview_eventlogger_other_catcher_enable",
38            "hiview_appevent_publish_enable",
39            "hiview_param_update_enable",
40            "hiview_sysevent_store_enable",
41            "hiview_privacy_enable",
42            "hiview_usage_stat_enable",
43            "hiview_unified_collector_perf_enable",
44            "hiview_unified_collector_ebpf_enable",
45            "hiview_unified_collector_network_enable",
46            "hiview_usage_fold_stat_enable",
47            "hiview_unified_collector_graphic_enable",
48            "hiview_unified_collector_gpu_enable",
49            "hiview_unified_collector_cpu_enable",
50            "hiview_unified_collector_mem_profiler_enable",
51            "hiview_unified_collector_io_enable",
52            "hiview_unified_collector_thermal_enable",
53            "hiview_unified_collector_memory_enable",
54            "hiview_unified_collector_hilog_enable",
55            "hiview_unified_collector_wm_enable",
56            "hiview_unified_collector_process_enable",
57            "hiview_unified_collector_trace_enable",
58            "hiview_unified_collector_low_mem_threshold",
59            "hiview_unified_collector_trace_for_cpu_high_load"
60        ],
61        "rom": "",
62        "ram": "",
63        "hisysevent_config": [
64            "//base/hiviewdfx/hiview/hisysevent.yaml",
65            "//base/hiviewdfx/hiview/hisysevent/hiviewdfx.yaml",
66            "//base/hiviewdfx/hiview/hisysevent/hiviewdfx_ue.yaml",
67            "//base/hiviewdfx/hiview/kernel_vendor.yaml",
68            "//base/hiviewdfx/hiview/plugins/performance/hisysevent.yaml"
69        ],
70        "deps": {
71            "components": [
72                "ability_base",
73                "ability_runtime",
74                "access_token",
75                "bounds_checking_function",
76                "bundle_framework",
77                "common_event_service",
78                "cJSON",
79                "c_utils",
80                "data_share",
81                "device_usage_statistics",
82                "display_manager",
83                "drivers_interface_memorytracker",
84                "ets_runtime",
85                "faultloggerd",
86                "ffrt",
87                "graphic_2d",
88                "hicollie",
89                "hidumper",
90                "hilog",
91                "hiprofiler",
92                "hisysevent",
93                "init",
94                "input",
95                "ipc",
96                "jsoncpp",
97                "libxml2",
98                "openssl",
99                "os_account",
100                "power_manager",
101                "relational_store",
102                "safwk",
103                "samgr",
104                "storage_service",
105                "thermal_manager",
106                "napi",
107                "hiperf",
108                "hitrace",
109                "wifi",
110                "window_manager",
111                "zlib",
112                "thermal_manager"
113            ]
114        },
115        "build": {
116            "sub_component": [
117                "//base/hiviewdfx/hiview:hiview_package",
118                "//base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/napi:faultlogger_napi",
119                "//base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cj:cj_faultlogger_ffi",
120                "//base/hiviewdfx/hiview/interfaces/js/napi:loglibrary_napi",
121                "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client:libucollection_client",
122                "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility:libucollection_graphic",
123                "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility:libucollection_utility",
124                "//base/hiviewdfx/hiview/framework/native/unified_collection/graphic_memory:libgraphic_memory",
125                "//base/hiviewdfx/hiview/framework/native/unified_collection/trace_manager:libtrace_manager"
126            ],
127            "inner_kits": [
128                {
129                    "name": "//base/hiviewdfx/hiview/plugins/faultlogger:libfaultlogger",
130                    "header": {
131                        "header_base": "//base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/include",
132                        "header_files": [
133                            "faultlog_info.h",
134                            "faultlog_query_result.h",
135                            "faultlogger_client.h"
136                        ]
137                    }
138                },
139                {
140                    "name": "//base/hiviewdfx/hiview/interfaces/inner_api/xpower_event:libxpower_event",
141                    "header": {
142                        "header_base": "//base/hiviewdfx/hiview/interfaces/inner_api/xpower_event/include",
143                        "header_files": [
144                            "xpower_event_common.h",
145                            "xpower_event.h"
146                        ]
147                    }
148                },
149                {
150                    "name": "//base/hiviewdfx/hiview/interfaces/inner_api/xpower_event:libxpower_event_js",
151                    "header": {
152                        "header_base": "//base/hiviewdfx/hiview/interfaces/inner_api/xpower_event/include",
153                        "header_files": [
154                            "xpower_event_common.h",
155                            "xpower_event_js.h",
156                            "xpower_event_jsvm.h"
157                        ]
158                    }
159                },
160                {
161                    "name": "//base/hiviewdfx/hiview/base:hiviewbase",
162                    "header": {
163                        "header_base": "//base/hiviewdfx/hiview/base/include",
164                        "header_files": [
165                            "plugin_factory.h",
166                            "event_loop.h",
167                            "plugin.h",
168                            "event.h"
169                        ]
170                    }
171                },
172                {
173                    "name": "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client:libucollection_client",
174                    "header": {
175                        "header_base": "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection",
176                        "header_files": [
177                            "client/cpu_collector_client.h",
178                            "client/trace_collector_client.h"
179                        ]
180                    }
181                },
182                {
183                    "name": "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility:libucollection_utility",
184                    "header": {
185                        "header_base": "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection",
186                        "header_files": [
187                            "utility/cpu_collector.h",
188                            "utility/gpu_collector.h",
189                            "utility/io_collector.h",
190                            "utility/mem_profiler_collector.h",
191                            "utility/memory_collector.h",
192                            "utility/network_collector.h",
193                            "utility/thermal_collector.h",
194                            "utility/trace_collector.h",
195                            "utility/wm_collector.h"
196                        ]
197                    }
198                },
199                {
200                    "name": "//base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/gwp_asan:libasan_logger",
201                    "header": {
202                        "header_base": "//base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/gwp_asan",
203                        "header_files": [
204                            "gwpasan_collector.h"
205                        ]
206                    }
207                }
208            ],
209            "test": [ "//base/hiviewdfx/hiview:hiview_test_package" ]
210        }
211    }
212}
213