From dfe3d11e158281a20a0797835077dc57d931eb81 Mon Sep 17 00:00:00 2001 From: xliu Date: Mon, 24 Jan 2022 22:51:52 +0800 Subject: [PATCH] Replace ohos.build with bundle.json Signed-off-by: xliu Change-Id: If84453454f00d433805a9eca9fd0d7d2a4da1b95 --- bundle.json | 6 +++--- jsapi/BUILD.gn | 2 +- ohos.build | 16 ---------------- 3 files changed, 4 insertions(+), 20 deletions(-) delete mode 100644 ohos.build diff --git a/bundle.json b/bundle.json index 992ea75..e562357 100644 --- a/bundle.json +++ b/bundle.json @@ -36,8 +36,8 @@ "destPath": "base/compileruntime/js_worker_module" }, "component": { - "name": "js_worker_module", - "subsystem": "ccruntime", + "name": "jsapi_worker", + "subsystem": "compileruntime", "syscap": [], "features": [], "adapted_system_type": [], @@ -55,4 +55,4 @@ "test": [] } } -} \ No newline at end of file +} diff --git a/jsapi/BUILD.gn b/jsapi/BUILD.gn index 8061386..76b94d0 100644 --- a/jsapi/BUILD.gn +++ b/jsapi/BUILD.gn @@ -36,7 +36,7 @@ ohos_shared_library("worker") { external_deps = [ "hilog:libhilog" ] } - subsystem_name = "ccruntime" + subsystem_name = "compileruntime" part_name = "jsapi_worker" relative_install_dir = "module" diff --git a/ohos.build b/ohos.build deleted file mode 100644 index 52b8760..0000000 --- a/ohos.build +++ /dev/null @@ -1,16 +0,0 @@ -{ - "subsystem": "ccruntime", - "parts": { - "jsapi_worker": { - "variants": [ - "wearable", - "phone" - ], - "module_list": [ - "//base/compileruntime/js_worker_module/jsapi:jsapi_packages" - ], - "test_list": [ - ] - } - } -} -- Gitee