diff --git a/build/BUILD.gn b/build/BUILD.gn index 05e62d56bc9f55e50a339d914ebecdc75982fbe8..2f064512732e95680fa11cbf726ad0851e731540 100644 --- a/build/BUILD.gn +++ b/build/BUILD.gn @@ -505,7 +505,7 @@ template("flutter_engine_shell") { ] external_deps = [ "eventhandler:libeventhandler", - "graphic_standard:libcomposer", + "graphic_2d:libcomposer", "ipc:ipc_core", ] } else if (platform == "ohos" || platform == "android") { diff --git a/build/skia/BUILD.gn b/build/skia/BUILD.gn index 6f03aa01f6c90b3f8349c2a66d0ad182d915284d..267b96e36d249c86a33ea0a841bc9d4c190e9de1 100644 --- a/build/skia/BUILD.gn +++ b/build/skia/BUILD.gn @@ -1947,7 +1947,7 @@ ohos_source_set("ace_fontmgr_standard") { if (is_ohos_standard_system) { deps += [ "$jsoncpp_root:jsoncpp_static" ] - if (graphic_standard_feature_wuji_enable) { + if (graphic_2d_feature_wuji_enable) { deps += [ "$ace_graphic_ext:ohos_fonts_wuji" ] } else if (ace_engine_standard_fonts_enable) { deps += [ "$system_resources_root:ohos_fonts" ] diff --git a/engine/flutter/vulkan/BUILD.gn b/engine/flutter/vulkan/BUILD.gn index fb393f105688e3fe38f5cc240e417f879ca0f289..e7994db03c990445e590de41d7502e288286e78c 100644 --- a/engine/flutter/vulkan/BUILD.gn +++ b/engine/flutter/vulkan/BUILD.gn @@ -6,7 +6,7 @@ import("//build/ohos.gni") import("//foundation/graphic/graphic_2d/graphic_config.gni") import("//third_party/flutter/flutter_config.gni") -if (graphic_standard_feature_enable_vulkan) { +if (graphic_2d_feature_enable_vulkan) { config("vulkan_flutter_config") { visibility = [ ":*" ] @@ -81,7 +81,7 @@ if (graphic_standard_feature_enable_vulkan) { "vulkan_window.cc", ] - if (graphic_standard_feature_enable_vulkan) { + if (graphic_2d_feature_enable_vulkan) { defines = [ "RS_ENABLE_VK" ] } diff --git a/glfw/BUILD.gn b/glfw/BUILD.gn index 9f0cd0f31c81ea6f26ebcf1a751b5df81df941b4..d8fbeb65075915ddbd8f1f26f77f954d6fb074bc 100644 --- a/glfw/BUILD.gn +++ b/glfw/BUILD.gn @@ -130,6 +130,6 @@ ohos_shared_library("glfw") { defines += [ "_GLFW_X11" ] } - part_name = "graphic_standard" + part_name = "graphic_2d" subsystem_name = "graphic" }