From c2910e12173bc1443cf29bba03a473b09dcf3f91 Mon Sep 17 00:00:00 2001 From: Rokashevich Svetlana Date: Thu, 17 Apr 2025 19:11:54 +0300 Subject: [PATCH] Change ace_napi dep for ark_hybrid Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IC7W1T Signed-off-by: Rokashevich Svetlana Change-Id: I941c12215e3f9fd1625f597efeabd0ceebda1775 --- BUILD.gn | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 77628490c..244133754 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -199,7 +199,6 @@ ohos_source_set("ace_napi_static") { configs += [ "${ets_runtime_path}:ark_jsruntime_public_config" ] } else { external_deps += [ - "ets_runtime:libark_jsruntime", "icu:shared_icui18n", "icu:shared_icuuc", "libuv:uv", @@ -207,6 +206,11 @@ ohos_source_set("ace_napi_static") { if (!ark_standalone_build) { external_deps += [ "node:node_header_notice" ] } + if (ark_hybrid) { + external_deps += [ "runtime_core:libarkruntime" ] + } else { + external_deps += [ "ets_runtime:libark_jsruntime" ] + } } cflags_cc = [ "-Wno-missing-braces" ] -- Gitee