1020a203aSopenharmony_ci{
2020a203aSopenharmony_ci    "name": "@ohos/hiview",
3020a203aSopenharmony_ci    "description": "Hiview is the module of OpenHarmony that provides toolkits for device maintenance across different platforms.",
4020a203aSopenharmony_ci    "version": "3.1",
5020a203aSopenharmony_ci    "license": "Apache License 2.0",
6020a203aSopenharmony_ci    "publishAs": "code-segment",
7020a203aSopenharmony_ci    "segment": {
8020a203aSopenharmony_ci        "destPath": "base/hiviewdfx/hiview"
9020a203aSopenharmony_ci    },
10020a203aSopenharmony_ci    "dirs": {},
11020a203aSopenharmony_ci    "scripts": {},
12020a203aSopenharmony_ci    "component": {
13020a203aSopenharmony_ci        "name": "hiview",
14020a203aSopenharmony_ci        "subsystem": "hiviewdfx",
15020a203aSopenharmony_ci        "syscap": [
16020a203aSopenharmony_ci            "SystemCapability.HiviewDFX.Hiview.FaultLogger",
17020a203aSopenharmony_ci            "SystemCapability.HiviewDFX.Hiview.LogLibrary"
18020a203aSopenharmony_ci        ],
19020a203aSopenharmony_ci        "adapted_system_type": [
20020a203aSopenharmony_ci            "standard"
21020a203aSopenharmony_ci        ],
22020a203aSopenharmony_ci        "features": [
23020a203aSopenharmony_ci            "hiview_enable_leak_detector",
24020a203aSopenharmony_ci            "hiview_enable_performance_monitor",
25020a203aSopenharmony_ci            "hiview_unified_collector_PC_app_state_collect_enable"
26020a203aSopenharmony_ci        ],
27020a203aSopenharmony_ci        "rom": "",
28020a203aSopenharmony_ci        "ram": "",
29020a203aSopenharmony_ci        "hisysevent_config": [
30020a203aSopenharmony_ci            "//base/hiviewdfx/hiview/hisysevent.yaml",
31020a203aSopenharmony_ci            "//base/hiviewdfx/hiview/hisysevent/hiviewdfx.yaml",
32020a203aSopenharmony_ci            "//base/hiviewdfx/hiview/hisysevent/hiviewdfx_ue.yaml",
33020a203aSopenharmony_ci            "//base/hiviewdfx/hiview/kernel_vendor.yaml",
34020a203aSopenharmony_ci            "//base/hiviewdfx/hiview/plugins/performance/hisysevent.yaml"
35020a203aSopenharmony_ci        ],
36020a203aSopenharmony_ci        "deps": {
37020a203aSopenharmony_ci            "components": [
38020a203aSopenharmony_ci                "ability_base",
39020a203aSopenharmony_ci                "ability_runtime",
40020a203aSopenharmony_ci                "access_token",
41020a203aSopenharmony_ci                "bounds_checking_function",
42020a203aSopenharmony_ci                "bundle_framework",
43020a203aSopenharmony_ci                "common_event_service",
44020a203aSopenharmony_ci                "cJSON",
45020a203aSopenharmony_ci                "c_utils",
46020a203aSopenharmony_ci                "data_share",
47020a203aSopenharmony_ci                "device_usage_statistics",
48020a203aSopenharmony_ci                "display_manager",
49020a203aSopenharmony_ci                "drivers_interface_memorytracker",
50020a203aSopenharmony_ci                "ets_runtime",
51020a203aSopenharmony_ci                "faultloggerd",
52020a203aSopenharmony_ci                "ffrt",
53020a203aSopenharmony_ci                "graphic_2d",
54020a203aSopenharmony_ci                "hicollie",
55020a203aSopenharmony_ci                "hidumper",
56020a203aSopenharmony_ci                "hilog",
57020a203aSopenharmony_ci                "hiprofiler",
58020a203aSopenharmony_ci                "hisysevent",
59020a203aSopenharmony_ci                "init",
60020a203aSopenharmony_ci                "input",
61020a203aSopenharmony_ci                "ipc",
62020a203aSopenharmony_ci                "jsoncpp",
63020a203aSopenharmony_ci                "libxml2",
64020a203aSopenharmony_ci                "openssl",
65020a203aSopenharmony_ci                "os_account",
66020a203aSopenharmony_ci                "power_manager",
67020a203aSopenharmony_ci                "relational_store",
68020a203aSopenharmony_ci                "safwk",
69020a203aSopenharmony_ci                "samgr",
70020a203aSopenharmony_ci                "storage_service",
71020a203aSopenharmony_ci                "thermal_manager",
72020a203aSopenharmony_ci                "time_service",
73020a203aSopenharmony_ci                "napi",
74020a203aSopenharmony_ci                "hiperf",
75020a203aSopenharmony_ci                "hitrace",
76020a203aSopenharmony_ci                "wifi",
77020a203aSopenharmony_ci                "window_manager",
78020a203aSopenharmony_ci                "zlib"
79020a203aSopenharmony_ci            ]
80020a203aSopenharmony_ci        },
81020a203aSopenharmony_ci        "build": {
82020a203aSopenharmony_ci            "sub_component": [
83020a203aSopenharmony_ci                "//base/hiviewdfx/hiview:hiview_package",
84020a203aSopenharmony_ci                "//base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/napi:faultlogger_napi",
85020a203aSopenharmony_ci                "//base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cj:cj_faultlogger_ffi",
86020a203aSopenharmony_ci                "//base/hiviewdfx/hiview/interfaces/js/napi:loglibrary_napi",
87020a203aSopenharmony_ci                "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client:libucollection_client",
88020a203aSopenharmony_ci                "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility:libucollection_graphic",
89020a203aSopenharmony_ci                "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility:libucollection_utility",
90020a203aSopenharmony_ci                "//base/hiviewdfx/hiview/framework/native/unified_collection/graphic_memory:libgraphic_memory"
91020a203aSopenharmony_ci            ],
92020a203aSopenharmony_ci            "inner_kits": [
93020a203aSopenharmony_ci                {
94020a203aSopenharmony_ci                    "name": "//base/hiviewdfx/hiview/plugins/faultlogger:libfaultlogger",
95020a203aSopenharmony_ci                    "header": {
96020a203aSopenharmony_ci                        "header_base": "//base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/include",
97020a203aSopenharmony_ci                        "header_files": [
98020a203aSopenharmony_ci                            "faultlog_info.h",
99020a203aSopenharmony_ci                            "faultlog_query_result.h",
100020a203aSopenharmony_ci                            "faultlogger_client.h"
101020a203aSopenharmony_ci                        ]
102020a203aSopenharmony_ci                    }
103020a203aSopenharmony_ci                },
104020a203aSopenharmony_ci                {
105020a203aSopenharmony_ci                    "name": "//base/hiviewdfx/hiview/interfaces/innerkits/xpower_event:libxpower_event",
106020a203aSopenharmony_ci                    "header": {
107020a203aSopenharmony_ci                        "header_base": "//base/hiviewdfx/hiview/interfaces/innerkits/xpower_event/include",
108020a203aSopenharmony_ci                        "header_files": [
109020a203aSopenharmony_ci                            "xpower_event_common.h",
110020a203aSopenharmony_ci                            "xpower_event.h"
111020a203aSopenharmony_ci                        ]
112020a203aSopenharmony_ci                    }
113020a203aSopenharmony_ci                },
114020a203aSopenharmony_ci                {
115020a203aSopenharmony_ci                    "name": "//base/hiviewdfx/hiview/interfaces/innerkits/xpower_event:libxpower_event_js",
116020a203aSopenharmony_ci                    "header": {
117020a203aSopenharmony_ci                        "header_base": "//base/hiviewdfx/hiview/interfaces/innerkits/xpower_event/include",
118020a203aSopenharmony_ci                        "header_files": [
119020a203aSopenharmony_ci                            "xpower_event_common.h",
120020a203aSopenharmony_ci                            "xpower_event_js.h",
121020a203aSopenharmony_ci                            "xpower_event_jsvm.h"
122020a203aSopenharmony_ci                        ]
123020a203aSopenharmony_ci                    }
124020a203aSopenharmony_ci                },
125020a203aSopenharmony_ci                {
126020a203aSopenharmony_ci                    "name": "//base/hiviewdfx/hiview/base:hiviewbase",
127020a203aSopenharmony_ci                    "header": {
128020a203aSopenharmony_ci                        "header_base": "//base/hiviewdfx/hiview/base/include",
129020a203aSopenharmony_ci                        "header_files": [
130020a203aSopenharmony_ci                            "plugin_factory.h",
131020a203aSopenharmony_ci                            "event_loop.h",
132020a203aSopenharmony_ci                            "plugin.h",
133020a203aSopenharmony_ci                            "event.h"
134020a203aSopenharmony_ci                        ]
135020a203aSopenharmony_ci                    }
136020a203aSopenharmony_ci                },
137020a203aSopenharmony_ci                {
138020a203aSopenharmony_ci                    "name": "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client:libucollection_client",
139020a203aSopenharmony_ci                    "header": {
140020a203aSopenharmony_ci                        "header_base": "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection",
141020a203aSopenharmony_ci                        "header_files": [
142020a203aSopenharmony_ci                            "client/cpu_collector_client.h",
143020a203aSopenharmony_ci                            "client/trace_collector_client.h"
144020a203aSopenharmony_ci                        ]
145020a203aSopenharmony_ci                    }
146020a203aSopenharmony_ci                },
147020a203aSopenharmony_ci                {
148020a203aSopenharmony_ci                    "name": "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility:libucollection_graphic",
149020a203aSopenharmony_ci                    "header": {
150020a203aSopenharmony_ci                        "header_base": "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection",
151020a203aSopenharmony_ci                        "header_files": [
152020a203aSopenharmony_ci                            "utility/graphic_memory_collector.h"
153020a203aSopenharmony_ci                        ]
154020a203aSopenharmony_ci                    }
155020a203aSopenharmony_ci                },
156020a203aSopenharmony_ci                {
157020a203aSopenharmony_ci                    "name": "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility:libucollection_utility",
158020a203aSopenharmony_ci                    "header": {
159020a203aSopenharmony_ci                        "header_base": "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection",
160020a203aSopenharmony_ci                        "header_files": [
161020a203aSopenharmony_ci                            "utility/cpu_collector.h",
162020a203aSopenharmony_ci                            "utility/gpu_collector.h",
163020a203aSopenharmony_ci                            "utility/io_collector.h",
164020a203aSopenharmony_ci                            "utility/mem_profiler_collector.h",
165020a203aSopenharmony_ci                            "utility/memory_collector.h",
166020a203aSopenharmony_ci                            "utility/network_collector.h",
167020a203aSopenharmony_ci                            "utility/thermal_collector.h",
168020a203aSopenharmony_ci                            "utility/trace_collector.h",
169020a203aSopenharmony_ci                            "utility/wm_collector.h"
170020a203aSopenharmony_ci                        ]
171020a203aSopenharmony_ci                    }
172020a203aSopenharmony_ci                },
173020a203aSopenharmony_ci                {
174020a203aSopenharmony_ci                    "name": "//base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/gwp_asan:libasan_logger",
175020a203aSopenharmony_ci                    "header": {
176020a203aSopenharmony_ci                        "header_base": "//base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/gwp_asan",
177020a203aSopenharmony_ci                        "header_files": [
178020a203aSopenharmony_ci                            "gwpasan_collector.h"
179020a203aSopenharmony_ci                        ]
180020a203aSopenharmony_ci                    }
181020a203aSopenharmony_ci                }
182020a203aSopenharmony_ci            ],
183020a203aSopenharmony_ci            "test": [ "//base/hiviewdfx/hiview:hiview_test_package" ]
184020a203aSopenharmony_ci        }
185020a203aSopenharmony_ci    }
186020a203aSopenharmony_ci}
187