• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "name": "@ohos/napi",
3    "description": "Node-API (formerly N-API) is an API for build native Addons",
4    "version": "3.1",
5    "license": "Apache-2.0",
6    "publishAs": "code-segment",
7    "segment": {
8        "destPath": "foundation/arkui/napi"
9    },
10    "dirs": {},
11    "scripts": {},
12    "component": {
13        "name": "napi",
14        "subsystem": "arkui",
15        "syscap": [
16            "SystemCapability.ArkUI.ArkUI.Napi"
17        ],
18        "features": [
19          "napi_enable_container_scope",
20          "napi_feature_enable_pgo",
21          "napi_feature_pgo_path",
22          "napi_enable_data_protector"
23        ],
24        "adapted_system_type": [
25            "standard"
26        ],
27        "rom": "5120KB",
28        "ram": "10240KB",
29        "deps": {
30            "components": [
31                "c_utils",
32                "ets_runtime",
33                "eventhandler",
34                "faultloggerd",
35                "hilog",
36                "hitrace",
37                "hiview",
38                "icu",
39                "libuv",
40                "node",
41                "ffrt",
42                "bounds_checking_function",
43                "init",
44                "runtime_core",
45                "ace_engine"
46            ],
47            "third_party": [
48                "jerryscript"
49            ]
50        },
51        "build": {
52            "group_type": {
53                "base_group": [
54                    "//foundation/arkui/napi:napi_packages"
55                ],
56                "fwk_group": [],
57                "service_group": []
58            },
59            "inner_kits": [
60                {
61                    "header": {
62                      "header_base": "//foundation/arkui/napi/interfaces/kits",
63                      "header_files": [
64                          "napi/native_api.h"
65                      ]
66                    },
67                    "name": "//foundation/arkui/napi:ace_napi"
68                  },
69                  {
70                    "header": {
71                      "header_base": "//foundation/arkui/napi/interfaces/inner_api",
72                      "header_files": [
73                          "napi/native_common.h",
74                          "napi/native_node_api.h",
75                          "napi/native_node_hybrid_api.h"
76                      ]
77                    },
78                    "name": "//foundation/arkui/napi:ace_napi"
79                  },
80                  {
81                    "header": {
82                      "header_base": "//foundation/arkui/napi/native_engine/",
83                      "header_files": [
84                          "native_engine.h",
85                          "worker_manager.h"
86                      ]
87                    },
88                    "name": "//foundation/arkui/napi:ace_napi"
89                  },
90                  {
91                    "header": {
92                      "header_base": "//foundation/arkui/napi/interfaces/inner_api/cjffi/cj_ffi",
93                      "header_files": [
94                          "cj_common_ffi.h",
95                          "cj_data_ffi.h"
96                      ]
97                    },
98                    "name": "//foundation/arkui/napi:cj_bind_ffi"
99                  },
100                  {
101                    "header": {
102                      "header_base": "//foundation/arkui/napi/interfaces/inner_api/cjffi/native",
103                      "header_files": [
104                          "cj_fn_invoker.h",
105                          "cj_lambda.h",
106                          "runtimetype.h"
107                      ]
108                    },
109                    "name": "//foundation/arkui/napi:cj_bind_native"
110                  },
111                  {
112                    "header": {
113                      "header_base": "//foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop",
114                      "header_files": [
115                        "ark_interop_napi.h"
116                      ]
117                    },
118                    "name": "//foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop:ark_interop"
119                  },
120                  {
121                    "header": {
122                      "header_base": "//third_party/node/src",
123                      "header_files": [
124                          "jsvm.h"
125                      ]
126                    },
127                    "name": "//foundation/arkui/napi:napi_packages"
128                  }
129            ],
130            "test": [
131                "//foundation/arkui/napi:napi_packages_test",
132                "//foundation/arkui/napi/module_manager/test/unittest/module_manager_test:unittest",
133                "//foundation/arkui/napi/sample/native_module_systemtest:systemtest",
134                "//foundation/arkui/napi/test/unittest:unittest",
135                "//foundation/arkui/napi/test/fuzztest:fuzztest"
136            ]
137        }
138    }
139}
140