From 4e9762ef59df611cb16c3ed324328527049e612b Mon Sep 17 00:00:00 2001 From: zhangrengao Date: Fri, 29 Jul 2022 17:37:22 +0800 Subject: [PATCH] fix es2abc xts issue: I5JB0J Signed-off-by: zhangrengao Change-Id: If7e938457b22b269f22da0fd1f03396c719545c5 --- es2panda/BUILD.gn | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/es2panda/BUILD.gn b/es2panda/BUILD.gn index 82a0d44c8f..d1983b44c5 100644 --- a/es2panda/BUILD.gn +++ b/es2panda/BUILD.gn @@ -483,6 +483,17 @@ if (is_mac) { } } +ohos_copy("build_es2abc_for_hap") { + deps = [ ":es2panda(${toolchain_linux})" ] + es2abc_root_out_dir = + get_label_info(":es2panda_build($host_toolchain)", "root_out_dir") + es2abc_target_out_dir = + get_label_info(":es2panda_build($host_toolchain)", "target_out_dir") + + sources = [ "${es2abc_root_out_dir}/ark/ark/es2abc" ] + outputs = [ "${es2abc_target_out_dir}/build/bin/es2abc" ] +} + group("es2panda_build") { if (host_os == "linux") { deps = [ ":es2panda(${toolchain_linux})" ] -- Gitee