diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn index 1b0b1cdb17d21377204d1e3cec751c928d970dcf..ef04571502bb452514620602e88c6c393039df21 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 927d507c8f930f7a031c9d366a79c9944293b4ff..43fe962baa10df0d087ea0d68b0feb20dd94e362 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" ] } }