加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
bundle.json 4.62 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "@ohos/napi",
"description": "Node-API (formerly N-API) is an API for build native Addons",
"version": "3.1",
"license": "Apache 2.0",
"publishAs": "code-segment",
"segment": {
"destPath": "foundation/arkui/napi"
},
"dirs": {},
"scripts": {},
"component": {
"name": "napi",
"subsystem": "arkui",
"syscap": [
"SystemCapability.ArkUI.ArkUI.Napi",
"SystemCapability.ArkCompiler.JSVM"
],
"features": [
"napi_enable_container_scope",
"napi_feature_enable_pgo",
"napi_feature_pgo_path"
],
"adapted_system_type": [
"standard"
],
"rom": "5120KB",
"ram": "10240KB",
"deps": {
"components": [
"c_utils",
"ets_runtime",
"eventhandler",
"faultloggerd",
"hilog",
"hitrace",
"icu",
"libuv",
"node",
"ffrt",
"bounds_checking_function",
"init",
"runtime_core",
"ace_engine"
],
"third_party": [
"jerryscript"
]
},
"build": {
"group_type": {
"base_group": [
"//foundation/arkui/napi:napi_packages"
],
"fwk_group": [],
"service_group": []
},
"inner_kits": [
{
"header": {
"header_base": "//foundation/arkui/napi/interfaces/kits",
"header_files": [
"napi/native_api.h"
]
},
"name": "//foundation/arkui/napi:ace_napi"
},
{
"header": {
"header_base": "//foundation/arkui/napi/interfaces/inner_api",
"header_files": [
"napi/native_common.h",
"napi/native_node_api.h"
]
},
"name": "//foundation/arkui/napi:ace_napi"
},
{
"header": {
"header_base": "//foundation/arkui/napi/native_engine/",
"header_files": [
"native_engine.h"
]
},
"name": "//foundation/arkui/napi:ace_napi"
},
{
"header": {
"header_base": "//foundation/arkui/napi/interfaces/inner_api/cjffi/cj_ffi",
"header_files": [
"cj_common_ffi.h",
"cj_data_ffi.h"
]
},
"name": "//foundation/arkui/napi:cj_bind_ffi"
},
{
"header": {
"header_base": "//foundation/arkui/napi/interfaces/inner_api/cjffi/native",
"header_files": [
"cj_fn_invoker.h",
"cj_lambda.h",
"runtimetype.h"
]
},
"name": "//foundation/arkui/napi:cj_bind_native"
},
{
"header": {
"header_base": "//foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop",
"header_files": [
"ark_interop_napi.h"
]
},
"name": "//foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop:ark_interop"
},
{
"header": {
"header_base": "//third_party/node/src",
"header_files": [
"jsvm.h"
]
},
"name": "//foundation/arkui/napi:napi_packages"
}
],
"test": [
"//foundation/arkui/napi:napi_packages_test",
"//foundation/arkui/napi/module_manager/test/unittest/module_manager_test:unittest",
"//foundation/arkui/napi/sample/native_module_systemtest:systemtest",
"//foundation/arkui/napi/test/unittest:unittest",
"//foundation/arkui/napi/test/fuzztest:fuzztest"
]
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化