diff --git a/BUILD.gn b/BUILD.gn index c8a2a3e7df54563987c560b0c6a52fce98e3c628..548af373c1a8598f7bca254e3f4ac9c131a89c4b 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 53fb3ff5240308dfca691159b6785de706a8b8c7..84affeca8a41594746e39bf31420697a35ad09fa 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 3fcdae23a96215444016c36268de6a75b6301533..d9e3c48dc65e6376b546c9eb4db2ebbaa3eac5ec 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 7468cc8461a29dc99ee32e68381fb771639563f6..e38450bad1f708c4c792818d9426734651ec8389 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 e70e4beb9a8afc03b6b3324dcf57dd9644ed1500..653f96eba257723c7eaa7caac4193b0d21bd3873 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",