From 5f42f3a241ac750b8398822beeb8bbf06fc3cf27 Mon Sep 17 00:00:00 2001 From: zhixin <1757149461@qq.com> Date: Thu, 21 Nov 2024 14:49:47 +0800 Subject: [PATCH] Disable hilog for jit measure Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB60SE?from=project-issue Signed-off-by: zhixin <1757149461@qq.com> --- js_runtime_config.gni | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/js_runtime_config.gni b/js_runtime_config.gni index a5d38a29fd..d4d73a4f71 100644 --- a/js_runtime_config.gni +++ b/js_runtime_config.gni @@ -40,6 +40,8 @@ declare_args() { is_qemu_runtime = false + disable_hilog = false + TARGET = "x86_64" HOST_ARCH = 64 @@ -117,8 +119,9 @@ sdk_libc_secshared_config = "$ark_third_party_root/bounds_checking_function:libsec_public_config" # ohos device, windows previewer, mac previewer -enable_hilog = !ark_standalone_build && !(defined(is_arkui_x) && is_arkui_x) && - (is_ohos || is_mingw || is_mac) && !is_qemu_runtime +enable_hilog = + !ark_standalone_build && !(defined(is_arkui_x) && is_arkui_x) && + (is_ohos || is_mingw || is_mac) && !is_qemu_runtime && !disable_hilog enable_hisysevent = !ark_standalone_build && !(defined(is_arkui_x) && is_arkui_x) && is_ohos && is_standard_system && !is_qemu_runtime