From 29ea2232ab36d478f8d2863efce2590640aa3f7d Mon Sep 17 00:00:00 2001 From: Rokashevich Svetlana Date: Fri, 23 May 2025 21:21:14 +0800 Subject: [PATCH] Fix hybrid build Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IC7W1T Signed-off-by: Rokashevich Svetlana Change-Id: I941c12215e3f9fd1625f597efeabd0ceebda1775 --- build/core/gn/BUILD.gn | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/build/core/gn/BUILD.gn b/build/core/gn/BUILD.gn index 927d507c..99c30b2a 100644 --- a/build/core/gn/BUILD.gn +++ b/build/core/gn/BUILD.gn @@ -101,11 +101,7 @@ group("static_core") { deps += [ "$ark_root/static_core/static_linker:static_linker" ] } if (target_os != "mingw" && target_os != "mac") { - if (ark_hybrid) { - deps += [ "$js_root:libark_jsruntime" ] - } else { - deps += [ "$ark_root/static_core/runtime:libarkruntime" ] - } + deps += [ "$ark_root/static_core/runtime:libarkruntime" ] } } @@ -113,6 +109,7 @@ group("hybrid") { deps = [ ":ets_frontend", ":ets_runtime", + ":static_core", "$ark_root/static_core/plugins/ets:etsstdlib(${host_toolchain})", ] if (target_os != "mingw" && target_os != "mac") { @@ -122,10 +119,6 @@ group("hybrid") { "$ark_root/static_core/tools/ark_js_napi_cli:ark_js_napi_cli", ] } - - if (!ark_hybrid) { - deps += [ ":static_core" ] - } } group("toolchain") { -- Gitee