From 647664c6013ed0c0418b40138192862faa277217 Mon Sep 17 00:00:00 2001 From: lijunru Date: Tue, 12 Aug 2025 12:13:00 +0800 Subject: [PATCH] fix deps Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/ICSIR3 Signed-off-by: lijunru Change-Id: I39615f031c02e01618994c962fa3396231810489 --- ets2panda/bindings/BUILD.gn | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ets2panda/bindings/BUILD.gn b/ets2panda/bindings/BUILD.gn index 4a86840448..530b1f9443 100644 --- a/ets2panda/bindings/BUILD.gn +++ b/ets2panda/bindings/BUILD.gn @@ -59,7 +59,6 @@ shared_library("ts_bindings") { include_dirs = [ "./native/include", "../public/", - "//third_party/node/src", rebase_path("$root_gen_dir/arkcompiler/ets_frontend/ets2panda/"), ] @@ -71,6 +70,7 @@ shared_library("ts_bindings") { include_dirs += [ "//third_party/node/src" ] } else { external_deps = [ + "napi:ace_napi", "runtime_core:libarktsbytecodeopt_package", sdk_libc_secshared_dep, ] @@ -215,7 +215,6 @@ shared_library("public") { include_dirs = [ "./native/include", "../public/", - "//third_party/node/src", rebase_path("$root_gen_dir/arkcompiler/ets_frontend/ets2panda/"), ] @@ -226,7 +225,10 @@ shared_library("public") { if (ark_standalone_build) { deps += [ "$ark_third_party_root/bounds_checking_function:libsec_shared" ] } else { - external_deps = [ sdk_libc_secshared_dep ] + external_deps = [ + "napi:ace_napi", + sdk_libc_secshared_dep, + ] } defines = [ -- Gitee