diff --git a/build/core/gn/BUILD.gn b/build/core/gn/BUILD.gn index 927d507c8f930f7a031c9d366a79c9944293b4ff..99c30b2a510ecd8c4e11f3c9c8bbcd3f9e9a5076 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") {