• 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                "ets_runtime",
28                "hilog",
29                "hitrace",
30                "init"
31            ],
32            "third_party": [
33                "icu",
34                "jerryscript",
35                "libuv",
36                "node",
37                "bounds_checking_function"
38            ]
39        },
40        "build": {
41            "group_type": {
42                "base_group": [
43                    "//foundation/arkui/napi:napi_packages",
44                    "//foundation/arkui/napi:napi_packages_ndk"
45                ],
46                "fwk_group": [],
47                "service_group": []
48            },
49            "inner_kits": [
50                {
51                    "header": {
52                      "header_base": "//foundation/arkui/napi/interfaces/kits",
53                      "header_files": [
54                          "napi/native_api.h"
55                      ]
56                    },
57                    "name": "//foundation/arkui/napi:ace_napi"
58                  },
59                  {
60                    "header": {
61                      "header_base": "//foundation/arkui/napi/interfaces/inner_api",
62                      "header_files": [
63                          "napi/native_common.h",
64                          "napi/native_node_api.h"
65                      ]
66                    },
67                    "name": "//foundation/arkui/napi:ace_napi"
68                  },
69                  {
70                    "header": {
71                      "header_base": "//foundation/arkui/napi/native_engine/",
72                      "header_files": [
73                          "native_engine.h"
74                      ]
75                    },
76                    "name": "//foundation/arkui/napi:ace_napi"
77                  },
78                  {
79                    "header": {
80                      "header_base": "//foundation/arkui/ace_engine/frameworks/core/common/",
81                      "header_files": [
82                          "container_scope.h"
83                      ]
84                    },
85                    "name": "//foundation/arkui/napi:ace_container_scope"
86                  },
87                  {
88                    "header": {
89                      "header_base": "//third_party/node/src",
90                      "header_files": [
91                          "jsvm.h"
92                      ]
93                    },
94                    "name": "//foundation/arkui/napi:napi_packages"
95                  }
96            ],
97            "test": [
98                "//foundation/arkui/napi:napi_packages_test",
99                "//foundation/arkui/napi/module_manager/test/unittest/module_manager_test:unittest",
100                "//foundation/arkui/napi/sample/native_module_systemtest:systemtest",
101                "//foundation/arkui/napi/test/unittest:unittest",
102                "//foundation/arkui/napi/test/fuzztest:fuzztest"
103            ]
104        }
105    }
106}
107