1{
2  "name": "@ohos/hiprofiler",
3  "description": "Performance profiler that provides an analytics tool for the memory, bytrace plug-in, and IDE, as well as plug-in capabilities",
4  "version": "3.09",
5  "license": "Apache License 2.0",
6  "publishAs": "code-segment",
7  "segment": {
8    "destPath": "developtools/profiler"
9  },
10  "dirs": {},
11  "scripts": {},
12  "component": {
13    "name": "hiprofiler",
14    "subsystem": "developtools",
15    "features": [
16      "hiprofiler_SmartPerf"
17    ],
18    "syscap": [
19      "SystemCapability.HiviewDFX.HiProfiler.HiDebug"
20    ],
21    "adapted_system_type": [
22      "standard"
23    ],
24    "rom": "188KB",
25    "ram": "2000KB",
26    "deps": {
27      "components": [
28        "ability_runtime",
29        "ability_base",
30        "access_token",
31        "bounds_checking_function",
32        "bundle_framework",
33        "common_event_service",
34        "c_utils",
35        "faultloggerd",
36        "hiappevent",
37        "hichecker",
38        "hidumper",
39        "hilog",
40        "hitrace",
41        "hiview",
42        "ipc",
43        "init",
44        "libbpf",
45        "napi",
46        "protobuf",
47        "safwk",
48        "samgr",
49        "drivers_interface_memorytracker",
50        "graphic_2d",
51        "os_account",
52        "window_manager",
53        "image_framework",
54        "ffrt",
55        "openssl",
56        "zlib",
57        "grpc",
58        "storage_service",
59        "abseil-cpp"
60      ],
61      "third_party": [
62        "cJSON",
63        "libunwind",
64        "libpng"
65      ]
66    },
67    "build": {
68      "sub_component": [
69        "//developtools/profiler/device:hiprofiler_targets",
70        "//developtools/profiler/hidebug/interfaces/js/kits:profiler_jsapi_module",
71        "//developtools/profiler/hidebug/interfaces/cj:cj_hidebug_ffi",
72        "//developtools/profiler/hidebug/frameworks/hidebug_ndk:ohhidebug",
73        "//developtools/profiler/hidebug/frameworks/native:hidebug_native",
74        "//developtools/profiler/host/smartperf/client/client_command/:SP_daemon",
75        "//developtools/profiler/host/smartperf/client/:SmartPerf",
76        "//developtools/profiler/hiebpf:hiebpf_tool",
77        "//developtools/profiler/timestamps:timestamps_tool",
78        "//developtools/profiler/tools/pagemap_parse:pagemap_tool"
79      ],
80      "inner_kits": [
81        {
82          "header": {
83            "header_base": "//developtools/profiler/hidebug/interfaces/native/innerkits/include",
84            "header_files": [
85              "hidebug_base.h"
86            ]
87          },
88          "name": "//developtools/profiler/hidebug/interfaces/native/innerkits:libhidebug"
89        },
90        {
91          "header": {
92            "header_base": "//developtools/profiler/hidebug/interfaces/native/innerkits/include",
93            "header_files": [
94              "hidebug_base.h"
95            ]
96          },
97          "name": "//developtools/profiler/hidebug/interfaces/native/innerkits:libhidebug_init"
98        },
99        {
100          "header": {
101            "header_base": "//developtools/profiler/device",
102            "header_files": [
103              "plugins/native_daemon/native_memory_profiler_sa/include/native_memory_profiler_sa_client_manager.h",
104              "plugins/native_daemon/native_memory_profiler_sa/include/native_memory_profiler_sa_config.h",
105              "base/include/common.h"
106            ]
107          },
108          "name": "//developtools/profiler/device/plugins/native_daemon:libnative_daemon_client"
109        },
110        {
111          "header": {
112            "header_base": "//developtools/profiler/device",
113            "header_files": [
114              "plugins/network_profiler/client/include/network_profiler.h"
115            ]
116          },
117          "name": "//developtools/profiler/device/plugins/network_profiler/client:libnetwork_profiler"
118        },
119        {
120          "header": {
121            "header_base": "//developtools/profiler/device",
122            "header_files": [
123              "plugins/ffrt_profiler/client/include/ffrt_profiler.h"
124            ]
125          },
126          "name": "//developtools/profiler/device/plugins/ffrt_profiler/client:libffrt_profiler"
127        }
128      ],
129      "test": [
130        "//developtools/profiler/device:fuzztest",
131        "//developtools/profiler/device:unittest",
132        "//developtools/profiler/interfaces/kits/test:unittest",
133        "//developtools/profiler/hidebug/test/unittest:unittest",
134        "//developtools/profiler/proto_encoder/test:unittest",
135        "//developtools/profiler/host/smartperf/client/client_command/test:unittest"
136      ]
137    }
138  }
139}
140