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 "napi_enable_data_protector" 24 ], 25 "adapted_system_type": [ 26 "standard" 27 ], 28 "rom": "5120KB", 29 "ram": "10240KB", 30 "deps": { 31 "components": [ 32 "c_utils", 33 "ets_runtime", 34 "eventhandler", 35 "faultloggerd", 36 "hilog", 37 "hitrace", 38 "hiview", 39 "icu", 40 "libuv", 41 "node", 42 "ffrt", 43 "bounds_checking_function", 44 "init", 45 "runtime_core", 46 "ace_engine" 47 ], 48 "third_party": [ 49 "jerryscript" 50 ] 51 }, 52 "build": { 53 "group_type": { 54 "base_group": [ 55 "//foundation/arkui/napi:napi_packages" 56 ], 57 "fwk_group": [], 58 "service_group": [] 59 }, 60 "inner_kits": [ 61 { 62 "header": { 63 "header_base": "//foundation/arkui/napi/interfaces/kits", 64 "header_files": [ 65 "napi/native_api.h" 66 ] 67 }, 68 "name": "//foundation/arkui/napi:ace_napi" 69 }, 70 { 71 "header": { 72 "header_base": "//foundation/arkui/napi/interfaces/inner_api", 73 "header_files": [ 74 "napi/native_common.h", 75 "napi/native_node_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