From 109eaa9a01793670616b4c51fdb73da87b84669e Mon Sep 17 00:00:00 2001 From: wangyimin Date: Thu, 23 Jan 2025 19:31:02 +0800 Subject: [PATCH] change component name Signed-off-by: wangyimin --- BUILD.gn | 8 ++++---- README.en.md | 4 ++-- README.md | 4 ++-- bundle.json | 14 +++++++------- jsvm.gni | 2 +- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index c8a2a3e..548af37 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -60,7 +60,7 @@ ohos_prebuilt_shared_library("libv8") { public_configs = [ ":libv8_config" ] subsystem_name = "arkcompiler" - part_name = "jsvm_longque" + part_name = "jsvm" install_enable = true install_images = [ "system" ] @@ -82,7 +82,7 @@ ohos_static_library("llhttp") { public_configs = [ ":llhttp_config" ] subsystem_name = "arkcompiler" - part_name = "jsvm_longque" + part_name = "jsvm" } config("jsvm_common_config") { @@ -152,7 +152,7 @@ ohos_source_set("jsvm_inspector") { ] subsystem_name = "arkcompiler" - part_name = "jsvm_longque" + part_name = "jsvm" deps = [ ":libv8", @@ -219,7 +219,7 @@ ohos_shared_library("libjsvm") { output_extension = "so" subsystem_name = "arkcompiler" - part_name = "jsvm_longque" + part_name = "jsvm" install_enable = true install_images = [ "system" ] diff --git a/README.en.md b/README.en.md index 53fb3ff..84affec 100644 --- a/README.en.md +++ b/README.en.md @@ -1,4 +1,4 @@ -# arkcompiler_jsvm_longque +# arkcompiler_jsvm #### Description OpenHarmony JSVM-API provides a set of stable APIs based on the standard JavaScript (JS) engine. It provides complete JS engine capabilities, including creating and destroying a JS engine, executing JS code, and implementing interaction between JS and C/C++ modules. @@ -10,7 +10,7 @@ JSVM-API allows dynamically loaded JS code segment to be directly run during app #### Directory Structure ``` -/arkcompiler/jsvm_longque +/arkcompiler/jsvm ├── interfaces │ ├── innerkits # interface used in system component │ └── kits # interface provided to app developer diff --git a/README.md b/README.md index 3fcdae2..d9e3c48 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# arkcompiler_jsvm_longque +# arkcompiler_jsvm ## 介绍 OpenHarmony JSVM-API是基于标准JS引擎提供的一套稳定的API,为开发者提供了较为完整的JS引擎能力,包括创建和销毁引擎,执行JS代码,JS/C++交互等关键能力。 @@ -9,7 +9,7 @@ OpenHarmony JSVM-API是C语言接口,遵循C99标准。 ## 目录结构 ``` -/arkcompiler/jsvm_longque +/arkcompiler/jsvm ├── interfaces │ ├── innerkits # 系统内接口,部件间使用 │ └── kits # 应用接口,应用开发者使用 diff --git a/bundle.json b/bundle.json index 7468cc8..e38450b 100644 --- a/bundle.json +++ b/bundle.json @@ -1,16 +1,16 @@ { - "name": "@ohos/jsvm_longque", - "description": "jsvm_longque is a Javascript virtual machine in ohos", + "name": "@ohos/jsvm", + "description": "jsvm is a Javascript virtual machine in ohos", "version": "1.0", "license": "Apache 2.0", "publishAs": "code-segment", "segment": { - "destPath": "arkcompiler/jsvm_longque" + "destPath": "arkcompiler/jsvm" }, "dirs": {}, "scripts": {}, "component": { - "name": "jsvm_longque", + "name": "jsvm", "subsystem": "arkcompiler", "syscap": [ "SystemCapability.ArkCompiler.JSVM" @@ -38,18 +38,18 @@ }, "build": { "sub_component": [ - "//arkcompiler/jsvm_longque:jsvm_packages" + "//arkcompiler/jsvm:jsvm_packages" ], "inner_kits": [ { "header": { - "header_base": "//arkcompiler/jsvm_longque/interface/kits", + "header_base": "//arkcompiler/jsvm/interface/kits", "header_files": [ "jsvm_types.h", "jsvm.h" ] }, - "name": "//arkcompiler/jsvm_longque:jsvm_packages" + "name": "//arkcompiler/jsvm:jsvm_packages" } ], "test": [] diff --git a/jsvm.gni b/jsvm.gni index e70e4be..653f96e 100644 --- a/jsvm.gni +++ b/jsvm.gni @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -jsvm_path = "//arkcompiler/jsvm_longque" +jsvm_path = "//arkcompiler/jsvm" jsvm_sources = [ "src/js_native_api_v8.cpp", -- Gitee