From 8d2f456270927fb352aba18413a7ac1df725f503 Mon Sep 17 00:00:00 2001 From: ctw-ian Date: Mon, 11 Jul 2022 11:16:53 +0800 Subject: [PATCH] fixed 42f29bd from https://gitee.com/zhangrengao1/filemanagement_user_file_service/pulls/158 Change abc generation template Use es2abc to generate abc file instead of ts2panda Signed-off-by: ctw-ian Change-Id: I21ef43cd4766e141ed08b57459670fdaba81f083 --- interfaces/kits/napi/file_access_ext_ability/BUILD.gn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interfaces/kits/napi/file_access_ext_ability/BUILD.gn b/interfaces/kits/napi/file_access_ext_ability/BUILD.gn index c049a4c5..a058e715 100644 --- a/interfaces/kits/napi/file_access_ext_ability/BUILD.gn +++ b/interfaces/kits/napi/file_access_ext_ability/BUILD.gn @@ -12,9 +12,10 @@ # 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_file_access_ext_ability_abc") { +es2abc_gen_abc("gen_file_access_ext_ability_abc") { src_js = rebase_path("file_access_ext_ability.js") dst_file = rebase_path(target_out_dir + "/file_access_ext_ability.abc") in_puts = [ "file_access_ext_ability.js" ] -- Gitee