From c3bd8a61770967b42a82766b80de62282d0a8cc8 Mon Sep 17 00:00:00 2001 From: liuyics15 <1179805842@qq.com> Date: Wed, 13 Aug 2025 14:38:07 +0800 Subject: [PATCH] fix part compile Signed-off-by: liuyics15 <1179805842@qq.com> --- interfaces/inner_api/cjffi/ark_interop/BUILD.gn | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/interfaces/inner_api/cjffi/ark_interop/BUILD.gn b/interfaces/inner_api/cjffi/ark_interop/BUILD.gn index 89a0d3003..c09ff8dc3 100644 --- a/interfaces/inner_api/cjffi/ark_interop/BUILD.gn +++ b/interfaces/inner_api/cjffi/ark_interop/BUILD.gn @@ -89,6 +89,15 @@ ohos_shared_library("ark_interop") { external_deps += [ "hilog:libhilog" ] } + if (!is_mingw && !is_mac && !is_linux && !is_arkui_x && is_standard_system) { + external_deps += [ "c_utils:utils" ] + + # macro in runtime_core in full repo will effect build napi + if (ohos_indep_compiler_enable) { + external_deps += [ "runtime_core:libarkbase_static" ] + } + } + defines = [ "DEBUG_JS", "ENABLE_PROFILE", -- Gitee