From 2f0a7a36c2a4d1319115524c310d6f18a757e57c Mon Sep 17 00:00:00 2001 From: kurnevichstanislav Date: Mon, 16 Jun 2025 20:59:14 +0300 Subject: [PATCH] feat: hybrid so Signed-off-by: kurnevichstanislav Change-Id: If5c5db172c5e2cc7c29d3613e168d9692d7ac94f --- frameworks/napi/runninglock/BUILD.gn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frameworks/napi/runninglock/BUILD.gn b/frameworks/napi/runninglock/BUILD.gn index 4cffe74e..15e7dfa8 100644 --- a/frameworks/napi/runninglock/BUILD.gn +++ b/frameworks/napi/runninglock/BUILD.gn @@ -31,11 +31,16 @@ ohos_shared_library("runninglock") { deps_ex = [ "c_utils:utils", - "ets_runtime:libark_jsruntime", "hilog:libhilog", "ipc:ipc_core", ] + if (defined(ark_hybrid) && ark_hybrid) { + deps_ex += [ "runtime_core:libarkruntime" ] + } else { + deps_ex += [ "ets_runtime:libark_jsruntime" ] + } + if (!build_public_version) { external_deps = deps_ex } else { -- Gitee