• 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            "SystemCapability.ArkCompiler.JSVM"
18        ],
19        "features": ["napi_enable_container_scope"],
20        "adapted_system_type": [
21            "standard"
22        ],
23        "rom": "5120KB",
24        "ram": "10240KB",
25        "deps": {
26            "components": [
27                "c_utils",
28                "ets_runtime",
29                "eventhandler",
30                "faultloggerd",
31                "hilog",
32                "hitrace",
33                "hiview",
34                "icu",
35                "libuv",
36                "node",
37                "ffrt",
38                "bounds_checking_function",
39                "init"
40            ],
41            "third_party": [
42                "jerryscript"
43            ]
44        },
45        "build": {
46            "group_type": {
47                "base_group": [
48                    "//foundation/arkui/napi:napi_packages"
49                ],
50                "fwk_group": [],
51                "service_group": []
52            },
53            "inner_kits": [
54                {
55                    "header": {
56                      "header_base": "//foundation/arkui/napi/interfaces/kits",
57                      "header_files": [
58                          "napi/native_api.h"
59                      ]
60                    },
61                    "name": "//foundation/arkui/napi:ace_napi"
62                  },
63                  {
64                    "header": {
65                      "header_base": "//foundation/arkui/napi/interfaces/inner_api",
66                      "header_files": [
67                          "napi/native_common.h",
68                          "napi/native_node_api.h"
69                      ]
70                    },
71                    "name": "//foundation/arkui/napi:ace_napi"
72                  },
73                  {
74                    "header": {
75                      "header_base": "//foundation/arkui/napi/native_engine/",
76                      "header_files": [
77                          "native_engine.h",
78                          "worker_manager.h"
79                      ]
80                    },
81                    "name": "//foundation/arkui/napi:ace_napi"
82                  },
83                  {
84                    "header": {
85                      "header_base": "//foundation/arkui/napi/interfaces/inner_api/cjffi/cj_ffi",
86                      "header_files": [
87                          "cj_common_ffi.h",
88                          "cj_data_ffi.h"
89                      ]
90                    },
91                    "name": "//foundation/arkui/napi:cj_bind_ffi"
92                  },
93                  {
94                    "header": {
95                      "header_base": "//foundation/arkui/napi/interfaces/inner_api/cjffi/native",
96                      "header_files": [
97                          "cj_fn_invoker.h",
98                          "cj_lambda.h",
99                          "runtimetype.h"
100                      ]
101                    },
102                    "name": "//foundation/arkui/napi:cj_bind_native"
103                  },
104                  {
105                    "header": {
106                      "header_base": "//foundation/arkui/ace_engine/frameworks/core/common/",
107                      "header_files": [
108                          "container_scope.h"
109                      ]
110                    },
111                    "name": "//foundation/arkui/napi:ace_container_scope"
112                  },
113                  {
114                    "header": {
115                      "header_base": "//foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop",
116                      "header_files": [
117                        "ark_interop_napi.h"
118                      ]
119                    },
120                    "name": "//foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop:ark_interop"
121                  },
122                  {
123                    "header": {
124                      "header_base": "//third_party/node/src",
125                      "header_files": [
126                          "jsvm.h"
127                      ]
128                    },
129                    "name": "//foundation/arkui/napi:napi_packages"
130                  }
131            ],
132            "test": [
133                "//foundation/arkui/napi:napi_packages_test",
134                "//foundation/arkui/napi/module_manager/test/unittest/module_manager_test:unittest",
135                "//foundation/arkui/napi/sample/native_module_systemtest:systemtest",
136                "//foundation/arkui/napi/test/unittest:unittest",
137                "//foundation/arkui/napi/test/fuzztest:fuzztest"
138            ]
139        }
140    }
141}
142