From bf381d1b99d3717be82317e5a56be5f7a83612d6 Mon Sep 17 00:00:00 2001 From: Nazarov Konstantin Date: Tue, 17 Jun 2025 23:47:03 +0300 Subject: [PATCH] rename ark_hybrid flag Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/ICFVD5 Change-Id: I07c812e94b0f8947473c8cbe670a74a286d405be Signed-off-by: Nazarov Konstantin --- build/config/BUILDCONFIG.gn | 2 +- build/core/gn/BUILD.gn | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn index 1b0b1cdb..ef045715 100644 --- a/build/config/BUILDCONFIG.gn +++ b/build/config/BUILDCONFIG.gn @@ -12,7 +12,7 @@ # limitations under the License. declare_args() { ark_standalone_build = true - ark_hybrid = false + ark_use_cmc_gc = false use_musl = true build_root = "//arkcompiler/toolchain/build" run_with_qemu = false diff --git a/build/core/gn/BUILD.gn b/build/core/gn/BUILD.gn index 927d507c..43fe962b 100644 --- a/build/core/gn/BUILD.gn +++ b/build/core/gn/BUILD.gn @@ -101,7 +101,7 @@ group("static_core") { deps += [ "$ark_root/static_core/static_linker:static_linker" ] } if (target_os != "mingw" && target_os != "mac") { - if (ark_hybrid) { + if (ark_use_cmc_gc) { deps += [ "$js_root:libark_jsruntime" ] } else { deps += [ "$ark_root/static_core/runtime:libarkruntime" ] @@ -123,7 +123,7 @@ group("hybrid") { ] } - if (!ark_hybrid) { + if (!ark_use_cmc_gc) { deps += [ ":static_core" ] } } -- Gitee