diff --git a/build/BUILD.gn b/build/BUILD.gn index 5d6abff94fe190569f4285f709518b3379ac43f8..6616e36aaabc83de1b93b3b54172a9146ede31e6 100644 --- a/build/BUILD.gn +++ b/build/BUILD.gn @@ -764,7 +764,7 @@ foreach(item, ace_platforms) { # Flutter dependency for NG BUILD begin # ------------------------------------------------ -if (is_cross_platform_build) { +if (is_arkui_x) { ohos_source_set("flutter_for_ng") { part_name = flutter_part subsystem_name = flutter_subsystem diff --git a/build/skia/BUILD.gn b/build/skia/BUILD.gn index 695316f136adf1ae6710f5d588945003fca02bf2..ec0039e2ebb02b53427963f0894cf194c20bb3fd 100644 --- a/build/skia/BUILD.gn +++ b/build/skia/BUILD.gn @@ -184,7 +184,7 @@ foreach(item, ace_platforms) { # Skia main target config end # ------------------------------------------------ -if (!is_cross_platform_build) { +if (!is_arkui_x) { ohos_shared_library("skia_shared") { platform = current_os if (current_os == "mingw") {