• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "name": "@ohos/hitrace",
3  "description": "cross-thread, cross-process, and cross-device service call chain",
4  "version": "4.0",
5  "license": "Apache License 2.0",
6  "publishAs": "code-segment",
7  "segment": {
8    "destPath": "base/hiviewdfx/hitrace"
9  },
10  "dirs": {},
11  "scripts": {},
12  "component": {
13    "name": "hitrace",
14    "subsystem": "hiviewdfx",
15    "syscap": [
16      "SystemCapability.HiviewDFX.HiTrace"
17    ],
18    "adapted_system_type": [
19      "small",
20      "standard"
21    ],
22    "rom": "330KB",
23    "ram": "~320KB",
24    "deps": {
25      "components": [
26        "hilog",
27        "hilog_lite",
28        "hiview",
29        "init",
30        "napi"
31      ],
32      "third_party": [
33        "bounds_checking_function",
34        "cJSON",
35        "zlib"
36      ]
37    },
38    "build": {
39      "sub_component": [
40        "//base/hiviewdfx/hitrace/interfaces/native/innerkits:hitrace_dump",
41        "//base/hiviewdfx/hitrace/cmd:hitrace_target",
42        "//base/hiviewdfx/hitrace/cmd:hitrace.cfg",
43        "//base/hiviewdfx/hitrace/interfaces/native/innerkits:hitrace_meter",
44        "//base/hiviewdfx/hitrace/interfaces/native/innerkits:libhitracechain",
45        "//base/hiviewdfx/hitrace/interfaces/js/kits:hitrace_napi",
46        "//base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitracechain:hitracechain_rust",
47        "//base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitrace_meter:hitrace_meter_rust",
48        "//base/hiviewdfx/hitrace/frameworks/hitrace_ndk:hitrace_ndk"
49      ],
50      "inner_kits": [
51        {
52          "type": "so",
53          "name": "//base/hiviewdfx/hitrace/interfaces/native/innerkits:hitrace_meter",
54          "header": {
55            "header_base": "//base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace_meter/",
56            "header_files": [
57              "hitrace_meter.h"
58            ]
59          }
60        },
61        {
62          "type": "so",
63          "name": "//base/hiviewdfx/hitrace/interfaces/native/innerkits:hitrace_dump",
64          "header": {
65            "header_base": "//base/hiviewdfx/hitrace/interfaces/native/innerkits/include/",
66            "header_files": [
67              "hitrace_dump.h"
68            ]
69          }
70        },
71        {
72          "type": "so",
73          "name": "//base/hiviewdfx/hitrace/interfaces/native/innerkits:libhitracechain",
74          "header": {
75            "header_base": "//base/hiviewdfx/hitrace/interfaces/native/innerkits/include/",
76            "header_files": [
77              "hitrace/hitracechain.h",
78              "hitrace/hitracechainc.h",
79              "hitrace/hitraceid.h",
80              "hitrace/trace.h",
81              "hitrace/tracechain.h"
82            ]
83          }
84        },
85        {
86          "name": "//base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitrace_meter:hitrace_meter_rust",
87          "header": {
88            "header_files": [],
89            "header_base": []
90          }
91        },
92        {
93          "name": "//base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitracechain:hitracechain_rust",
94          "header": {
95            "header_files": [],
96            "header_base": []
97          }
98        }
99      ],
100      "test": [ "//base/hiviewdfx/hitrace/test:unittest" ]
101    }
102  }
103}
104