diff --git a/interfaces/inner_api/cjffi/ark_interop/BUILD.gn b/interfaces/inner_api/cjffi/ark_interop/BUILD.gn index 89a0d30030fd66aa6f6021aa0180d22229315137..c09ff8dc3350b826da7ebc6451eec44db91a1ef2 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",