From 2f605022dfacec0346cd5127a37d7a7395b6eab8 Mon Sep 17 00:00:00 2001 From: zhouyj Date: Sun, 5 Mar 2023 17:04:24 +0800 Subject: [PATCH] Description: change component name for ui, utils, surface and wms IssueNo: https://gitee.com/openharmony/graphic_ui/issues/I6JUIU Feature or Bugfix: Feature Binary Source:No Signed-off-by: zhouyj Change-Id: I6370caed7d78d87daf15f2de3b5269a3e936b209 --- BUILD.gn | 8 ++++---- README.md | 2 +- README_zh.md | 2 +- bundle.json | 4 ++-- test/BUILD.gn | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 971365a..9e8b1d0 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -12,7 +12,7 @@ import("//build/lite/config/component/lite_component.gni") import("//build/lite/ndk/ndk.gni") -lite_component("lite_wms") { +lite_component("window_manager_lite") { features = [ ":wms_server", ":wms_client", @@ -20,7 +20,7 @@ lite_component("lite_wms") { public_deps = [ ":wms_client" ] } -ndk_lib("lite_wms_ndk") { +ndk_lib("window_manager_lite_ndk") { lib_extension = ".so" deps = [ ":wms_client" ] head_files = [] @@ -31,7 +31,7 @@ commonDeps = [ "//foundation/systemabilitymgr/samgr_lite/communication/broadcast:broadcast", "//foundation/communication/ipc/interfaces/innerkits/c/ipc:ipc_single", "//foundation/graphic/surface:surface", - "//foundation/graphic/utils:lite_graphic_utils", + "//foundation/graphic/utils:graphic_utils_lite", "//third_party/bounds_checking_function:libsec_shared", ] @@ -47,7 +47,7 @@ shared_library("wms_client") { "frameworks/wms/lite_wms_client.cpp", ] deps = commonDeps - public_deps = [ "//foundation/graphic/surface:lite_surface" ] + public_deps = [ "//foundation/graphic/surface:surface_lite" ] public_configs = [ ":wms_public_config" ] ldflags = [ "-lstdc++" ] cflags = [ "-Wall" ] diff --git a/README.md b/README.md index 0cdf37f..1d46842 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ The graphics service uses the client/server \(C/S\) architecture and is divided ``` # Generate the wms_server and libwms_client.so files in the out directory of the product folder through GN compilation. -hb build lite_wms +hb build window_manager_lite ``` ## Description diff --git a/README_zh.md b/README_zh.md index 4f12044..a981474 100644 --- a/README_zh.md +++ b/README_zh.md @@ -39,7 +39,7 @@ ``` # 通过gn编译,在out目录下对应产品的文件夹中生成可执行文件wms_server和libwms_client.so -hb build lite_wms +hb build window_manager_lite ``` ## 说明 diff --git a/bundle.json b/bundle.json index d80147b..88ff404 100644 --- a/bundle.json +++ b/bundle.json @@ -31,8 +31,8 @@ }, "build": { "sub_component": [ - "//foundation/graphic/wms:lite_wms", - "//foundation/graphic/wms/test:lite_wms_test" + "//foundation/graphic/wms:window_manager_lite", + "//foundation/graphic/wms/test:window_manager_lite_test" ], "inner_kits": [], "test": [] diff --git a/test/BUILD.gn b/test/BUILD.gn index 04666d3..d849481 100755 --- a/test/BUILD.gn +++ b/test/BUILD.gn @@ -12,7 +12,7 @@ import("//build/lite/config/component/lite_component.gni") import("//build/lite/config/subsystem/graphic/config.gni") -group("lite_wms_test") { +group("window_manager_lite_test") { if (ohos_build_type == "debug") { deps = [ ":sample_auto_ui", @@ -82,7 +82,7 @@ if (ohos_build_type == "debug") { "-Wl,-rpath-link=$ohos_root_path/$root_out_dir", ] - deps = [ "//foundation/graphic/ui:lite_ui" ] + deps = [ "//foundation/graphic/ui:ui_lite" ] output_dir = "$root_out_dir/dev_tools" } } -- Gitee