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_enable_leak_detector", 24 "hiview_enable_performance_monitor", 25 "hiview_unified_collector_PC_app_state_collect_enable" 26 ], 27 "rom": "", 28 "ram": "", 29 "hisysevent_config": [ 30 "//base/hiviewdfx/hiview/hisysevent.yaml", 31 "//base/hiviewdfx/hiview/hisysevent/hiviewdfx.yaml", 32 "//base/hiviewdfx/hiview/hisysevent/hiviewdfx_ue.yaml", 33 "//base/hiviewdfx/hiview/kernel_vendor.yaml", 34 "//base/hiviewdfx/hiview/plugins/performance/hisysevent.yaml" 35 ], 36 "deps": { 37 "components": [ 38 "ability_base", 39 "ability_runtime", 40 "access_token", 41 "bounds_checking_function", 42 "bundle_framework", 43 "common_event_service", 44 "cJSON", 45 "c_utils", 46 "data_share", 47 "device_usage_statistics", 48 "display_manager", 49 "drivers_interface_memorytracker", 50 "ets_runtime", 51 "faultloggerd", 52 "ffrt", 53 "graphic_2d", 54 "hicollie", 55 "hidumper", 56 "hilog", 57 "hiprofiler", 58 "hisysevent", 59 "init", 60 "input", 61 "ipc", 62 "jsoncpp", 63 "libxml2", 64 "openssl", 65 "os_account", 66 "power_manager", 67 "relational_store", 68 "safwk", 69 "samgr", 70 "storage_service", 71 "thermal_manager", 72 "time_service", 73 "napi", 74 "hiperf", 75 "hitrace", 76 "wifi", 77 "window_manager", 78 "zlib" 79 ] 80 }, 81 "build": { 82 "sub_component": [ 83 "//base/hiviewdfx/hiview:hiview_package", 84 "//base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/napi:faultlogger_napi", 85 "//base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cj:cj_faultlogger_ffi", 86 "//base/hiviewdfx/hiview/interfaces/js/napi:loglibrary_napi", 87 "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client:libucollection_client", 88 "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility:libucollection_graphic", 89 "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility:libucollection_utility", 90 "//base/hiviewdfx/hiview/framework/native/unified_collection/graphic_memory:libgraphic_memory" 91 ], 92 "inner_kits": [ 93 { 94 "name": "//base/hiviewdfx/hiview/plugins/faultlogger:libfaultlogger", 95 "header": { 96 "header_base": "//base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/include", 97 "header_files": [ 98 "faultlog_info.h", 99 "faultlog_query_result.h", 100 "faultlogger_client.h" 101 ] 102 } 103 }, 104 { 105 "name": "//base/hiviewdfx/hiview/interfaces/innerkits/xpower_event:libxpower_event", 106 "header": { 107 "header_base": "//base/hiviewdfx/hiview/interfaces/innerkits/xpower_event/include", 108 "header_files": [ 109 "xpower_event_common.h", 110 "xpower_event.h" 111 ] 112 } 113 }, 114 { 115 "name": "//base/hiviewdfx/hiview/interfaces/innerkits/xpower_event:libxpower_event_js", 116 "header": { 117 "header_base": "//base/hiviewdfx/hiview/interfaces/innerkits/xpower_event/include", 118 "header_files": [ 119 "xpower_event_common.h", 120 "xpower_event_js.h", 121 "xpower_event_jsvm.h" 122 ] 123 } 124 }, 125 { 126 "name": "//base/hiviewdfx/hiview/base:hiviewbase", 127 "header": { 128 "header_base": "//base/hiviewdfx/hiview/base/include", 129 "header_files": [ 130 "plugin_factory.h", 131 "event_loop.h", 132 "plugin.h", 133 "event.h" 134 ] 135 } 136 }, 137 { 138 "name": "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client:libucollection_client", 139 "header": { 140 "header_base": "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection", 141 "header_files": [ 142 "client/cpu_collector_client.h", 143 "client/trace_collector_client.h" 144 ] 145 } 146 }, 147 { 148 "name": "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility:libucollection_graphic", 149 "header": { 150 "header_base": "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection", 151 "header_files": [ 152 "utility/graphic_memory_collector.h" 153 ] 154 } 155 }, 156 { 157 "name": "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility:libucollection_utility", 158 "header": { 159 "header_base": "//base/hiviewdfx/hiview/interfaces/inner_api/unified_collection", 160 "header_files": [ 161 "utility/cpu_collector.h", 162 "utility/gpu_collector.h", 163 "utility/io_collector.h", 164 "utility/mem_profiler_collector.h", 165 "utility/memory_collector.h", 166 "utility/network_collector.h", 167 "utility/thermal_collector.h", 168 "utility/trace_collector.h", 169 "utility/wm_collector.h" 170 ] 171 } 172 }, 173 { 174 "name": "//base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/gwp_asan:libasan_logger", 175 "header": { 176 "header_base": "//base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/gwp_asan", 177 "header_files": [ 178 "gwpasan_collector.h" 179 ] 180 } 181 } 182 ], 183 "test": [ "//base/hiviewdfx/hiview:hiview_test_package" ] 184 } 185 } 186} 187