From 4a6f67b090f5169c365eabe38069004564252a04 Mon Sep 17 00:00:00 2001 From: quguiren Date: Mon, 6 Nov 2023 09:33:43 +0800 Subject: [PATCH] Compile macro rectification Signed-off-by: quguiren --- BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 373d7c8a..9ebf6862 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -166,7 +166,7 @@ action("gen_snapshot") { outputs = [ prebuilt_js_path ] } -if (!is_standard_system && !is_cross_platform_build) { +if (!is_standard_system && !is_arkui_x) { import("$v8_root/gni/snapshot_toolchain.gni") v8_snapshot_bin_path = get_label_info(":v8_snapshot_bin", "target_out_dir") + @@ -261,7 +261,7 @@ es2abc_gen_abc("ark_jsf") { ohos_prebuilt_etc("ark_build") { deps = [ ":ark_jsf" ] source = ark_abc_path - if (!is_cross_platform_build) { + if (!is_arkui_x) { part_name = "jsframework" } } -- Gitee