From 21f3e43075166a9730cff6dd1bd62cd39c71efd4 Mon Sep 17 00:00:00 2001 From: oh_ci Date: Sat, 2 Aug 2025 12:24:53 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!7525=20?= =?UTF-8?q?:=20runtime=5Fcore=20alarm=20rectification'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- es2panda/BUILD.gn | 15 ++++++--------- merge_abc/BUILD.gn | 4 ---- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/es2panda/BUILD.gn b/es2panda/BUILD.gn index e5fa15c44c..56f0a55564 100644 --- a/es2panda/BUILD.gn +++ b/es2panda/BUILD.gn @@ -465,13 +465,11 @@ ohos_static_library("es2panda_lib") { "-Wno-c++20-designator", "-Wno-implicit-fallthrough", ] - - if (enable_hilog) { - external_deps += [ "hilog:libhilog" ] - } - if (defined(ohos_indep_compiler_enable) && ohos_indep_compiler_enable) { external_deps += [ "runtime_core:libarkassembler_static" ] + if (enable_hilog) { + external_deps += [ "hilog:libhilog" ] + } cflags += [ "-I" + rebase_path( "$root_build_dir/gen/arkcompiler/runtime_core/compiler/generated") ] } @@ -510,16 +508,15 @@ ohos_executable("es2panda") { sdk_libc_secshared_dep, ] - if (enable_hilog) { - external_deps += [ "hilog:libhilog" ] - } - if (defined(ohos_indep_compiler_enable) && ohos_indep_compiler_enable) { external_deps += [ "abseil-cpp:absl_base_static", "icu:shared_icuuc", "runtime_core:libarkassembler_static", ] + if (enable_hilog) { + external_deps += [ "hilog:libhilog" ] + } cflags = [ "-Wno-constant-conversion", "-I" + rebase_path( diff --git a/merge_abc/BUILD.gn b/merge_abc/BUILD.gn index 58ab770e39..27ebcc75c1 100644 --- a/merge_abc/BUILD.gn +++ b/merge_abc/BUILD.gn @@ -186,10 +186,6 @@ ohos_source_set("assembly_proto_static") { "$ark_third_party_root/protobuf:protobuf_static", ] } - - if (enable_hilog) { - external_deps += [ "hilog:libhilog" ] - } if (!ark_standalone_build && !is_arkui_x) { external_deps += [ -- Gitee