From c0f7c082b6544e6b83ee4c5b5864d1cfb16a19bb Mon Sep 17 00:00:00 2001 From: zhangbirong Date: Mon, 15 May 2023 14:53:21 +0800 Subject: [PATCH] change graphic_standard to graphic_2d Signed-off-by: zhangbirong Change-Id: I3b6b292a8be6e9ed0caafccea6c8af33c1ede4db --- build/BUILD.gn | 2 +- build/skia/BUILD.gn | 2 +- engine/flutter/vulkan/BUILD.gn | 4 ++-- glfw/BUILD.gn | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build/BUILD.gn b/build/BUILD.gn index 05e62d56..2f064512 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 6f03aa01..267b96e3 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 fb393f10..e7994db0 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 9f0cd0f3..d8fbeb65 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" } -- Gitee