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": [ 20 "napi_enable_container_scope", 21 "napi_feature_enable_pgo", 22 "napi_feature_pgo_path" 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 "icu", 38 "libuv", 39 "node", 40 "ffrt", 41 "bounds_checking_function", 42 "init", 43 "runtime_core", 44 "ace_engine" 45 ], 46 "third_party": [ 47 "jerryscript" 48 ] 49 }, 50 "build": { 51 "group_type": { 52 "base_group": [ 53 "//foundation/arkui/napi:napi_packages" 54 ], 55 "fwk_group": [], 56 "service_group": [] 57 }, 58 "inner_kits": [ 59 { 60 "header": { 61 "header_base": "//foundation/arkui/napi/interfaces/kits", 62 "header_files": [ 63 "napi/native_api.h" 64 ] 65 }, 66 "name": "//foundation/arkui/napi:ace_napi" 67 }, 68 { 69 "header": { 70 "header_base": "//foundation/arkui/napi/interfaces/inner_api", 71 "header_files": [ 72 "napi/native_common.h", 73 "napi/native_node_api.h" 74 ] 75 }, 76 "name": "//foundation/arkui/napi:ace_napi" 77 }, 78 { 79 "header": { 80 "header_base": "//foundation/arkui/napi/native_engine/", 81 "header_files": [ 82 "native_engine.h" 83 ] 84 }, 85 "name": "//foundation/arkui/napi:ace_napi" 86 }, 87 { 88 "header": { 89 "header_base": "//foundation/arkui/napi/interfaces/inner_api/cjffi/cj_ffi", 90 "header_files": [ 91 "cj_common_ffi.h", 92 "cj_data_ffi.h" 93 ] 94 }, 95 "name": "//foundation/arkui/napi:cj_bind_ffi" 96 }, 97 { 98 "header": { 99 "header_base": "//foundation/arkui/napi/interfaces/inner_api/cjffi/native", 100 "header_files": [ 101 "cj_fn_invoker.h", 102 "cj_lambda.h", 103 "runtimetype.h" 104 ] 105 }, 106 "name": "//foundation/arkui/napi:cj_bind_native" 107 }, 108 { 109 "header": { 110 "header_base": "//foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop", 111 "header_files": [ 112 "ark_interop_napi.h" 113 ] 114 }, 115 "name": "//foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop:ark_interop" 116 }, 117 { 118 "header": { 119 "header_base": "//third_party/node/src", 120 "header_files": [ 121 "jsvm.h" 122 ] 123 }, 124 "name": "//foundation/arkui/napi:napi_packages" 125 } 126 ], 127 "test": [ 128 "//foundation/arkui/napi:napi_packages_test", 129 "//foundation/arkui/napi/module_manager/test/unittest/module_manager_test:unittest", 130 "//foundation/arkui/napi/sample/native_module_systemtest:systemtest", 131 "//foundation/arkui/napi/test/unittest:unittest", 132 "//foundation/arkui/napi/test/fuzztest:fuzztest" 133 ] 134 } 135 } 136} 137