From 70b0b7d11b616bbf52791380dec3e091fffbbd2b Mon Sep 17 00:00:00 2001 From: ctw-ian Date: Wed, 13 Jul 2022 11:34:51 +0800 Subject: [PATCH] Change abc generation template Use es2abc to generate abc file instead of ts2panda Signed-off-by: ctw-ian Change-Id: Ia3ff3ea5c46f7b5b4f886cb1e7fc30fd1e53d15f --- interfaces/kits/napi/window_extension_ability/BUILD.gn | 4 ++-- interfaces/kits/napi/window_extension_context/BUILD.gn | 4 ++-- .../kits/napi/window_runtime/window_stage_napi/BUILD.gn | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/interfaces/kits/napi/window_extension_ability/BUILD.gn b/interfaces/kits/napi/window_extension_ability/BUILD.gn index 741e8510..bc1a8592 100644 --- a/interfaces/kits/napi/window_extension_ability/BUILD.gn +++ b/interfaces/kits/napi/window_extension_ability/BUILD.gn @@ -11,10 +11,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//arkcompiler/ets_frontend/ts2panda/ts2abc_config.gni") +import("//arkcompiler/ets_frontend/es2panda/es2abc_config.gni") import("//build/ohos.gni") -ts2abc_gen_abc("gen_window_extension_ability_abc") { +es2abc_gen_abc("gen_window_extension_ability_abc") { src_js = rebase_path("window_extension_ability.js") dst_file = rebase_path(target_out_dir + "/window_extension_ability.abc") in_puts = [ "window_extension_ability.js" ] diff --git a/interfaces/kits/napi/window_extension_context/BUILD.gn b/interfaces/kits/napi/window_extension_context/BUILD.gn index 19545461..e72cf7a0 100644 --- a/interfaces/kits/napi/window_extension_context/BUILD.gn +++ b/interfaces/kits/napi/window_extension_context/BUILD.gn @@ -11,10 +11,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//arkcompiler/ets_frontend/ts2panda/ts2abc_config.gni") +import("//arkcompiler/ets_frontend/es2panda/es2abc_config.gni") import("//build/ohos.gni") -ts2abc_gen_abc("gen_window_extension_context_abc") { +es2abc_gen_abc("gen_window_extension_context_abc") { src_js = rebase_path("window_extension_context.js") dst_file = rebase_path(target_out_dir + "/window_extension_context.abc") in_puts = [ "window_extension_context.js" ] diff --git a/interfaces/kits/napi/window_runtime/window_stage_napi/BUILD.gn b/interfaces/kits/napi/window_runtime/window_stage_napi/BUILD.gn index 1ee9694e..63a59d2d 100644 --- a/interfaces/kits/napi/window_runtime/window_stage_napi/BUILD.gn +++ b/interfaces/kits/napi/window_runtime/window_stage_napi/BUILD.gn @@ -11,10 +11,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//arkcompiler/ets_frontend/ts2panda/ts2abc_config.gni") +import("//arkcompiler/ets_frontend/es2panda/es2abc_config.gni") import("//build/ohos.gni") -ts2abc_gen_abc("gen_window_stage_abc") { +es2abc_gen_abc("gen_window_stage_abc") { src_js = rebase_path("window_stage.js") dst_file = rebase_path(target_out_dir + "/window_stage.abc") in_puts = [ "window_stage.js" ]