From 4fe27c7eaf2db1d91154838b7f7ce1fe20ad6aab Mon Sep 17 00:00:00 2001 From: pwx1285814 Date: Tue, 23 Jul 2024 15:04:36 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D=E7=8B=AC=E7=AB=8B=E7=BC=96?= =?UTF-8?q?=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: pwx1285814 --- bundle.json | 1 + common/BUILD.gn | 1 + screenhandler/BUILD.gn | 3 +++ services/screenclient/BUILD.gn | 4 ++++ services/screenservice/sinkservice/BUILD.gn | 1 + services/screenservice/sourceservice/BUILD.gn | 3 +++ services/screentransport/screensinktrans/BUILD.gn | 1 + services/screentransport/screensourcetrans/BUILD.gn | 1 + 8 files changed, 15 insertions(+) diff --git a/bundle.json b/bundle.json index 1a3c4914..bf7c1623 100644 --- a/bundle.json +++ b/bundle.json @@ -35,6 +35,7 @@ "ipc", "hilog", "input", + "json", "graphic_2d", "graphic_surface", "media_foundation", diff --git a/common/BUILD.gn b/common/BUILD.gn index e4a4ead8..74c7be17 100644 --- a/common/BUILD.gn +++ b/common/BUILD.gn @@ -47,6 +47,7 @@ ohos_shared_library("distributed_screen_utils") { "hitrace:hitrace_meter", "init:libbegetutil", "ipc:ipc_core", + "json:nlohmann_json_static", ] defines = [ diff --git a/screenhandler/BUILD.gn b/screenhandler/BUILD.gn index 290fc78e..cd69bbf6 100644 --- a/screenhandler/BUILD.gn +++ b/screenhandler/BUILD.gn @@ -45,9 +45,12 @@ ohos_shared_library("distributed_screen_handler") { "av_codec:av_codec_client", "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", + "graphic_2d:2d_graphics", + "graphic_2d:librender_service_base", "graphic_surface:surface", "hilog:libhilog", "ipc:ipc_core", + "json:nlohmann_json_static", "media_foundation:media_foundation", "window_manager:libdm", ] diff --git a/services/screenclient/BUILD.gn b/services/screenclient/BUILD.gn index 0e526bee..2cce1550 100644 --- a/services/screenclient/BUILD.gn +++ b/services/screenclient/BUILD.gn @@ -48,11 +48,15 @@ ohos_shared_library("distributed_screen_client") { external_deps = [ "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", + "graphic_2d:2d_graphics", + "graphic_2d:libcomposer", "graphic_2d:libgraphic_utils", + "graphic_2d:librender_service_base", "graphic_2d:librender_service_client", "graphic_surface:surface", "hilog:libhilog", "input:libmmi-client", + "json:nlohmann_json_static", "window_manager:libwm", ] diff --git a/services/screenservice/sinkservice/BUILD.gn b/services/screenservice/sinkservice/BUILD.gn index e6b197e5..350eeae3 100644 --- a/services/screenservice/sinkservice/BUILD.gn +++ b/services/screenservice/sinkservice/BUILD.gn @@ -91,6 +91,7 @@ ohos_shared_library("distributed_screen_sink") { "hisysevent:libhisysevent", "hitrace:hitrace_meter", "ipc:ipc_core", + "json:nlohmann_json_static", "media_foundation:media_foundation", "safwk:system_ability_fwk", "samgr:samgr_proxy", diff --git a/services/screenservice/sourceservice/BUILD.gn b/services/screenservice/sourceservice/BUILD.gn index d19e70a5..4061c4fb 100644 --- a/services/screenservice/sourceservice/BUILD.gn +++ b/services/screenservice/sourceservice/BUILD.gn @@ -88,7 +88,9 @@ ohos_shared_library("distributed_screen_source") { "distributed_hardware_fwk:distributed_av_sender", "distributed_hardware_fwk:distributedhardwareutils", "distributed_hardware_fwk:libdhfwk_sdk", + "graphic_2d:2d_graphics", "graphic_2d:libcomposer", + "graphic_2d:librender_service_base", "graphic_2d:librender_service_client", "graphic_surface:surface", "hicollie:libhicollie", @@ -96,6 +98,7 @@ ohos_shared_library("distributed_screen_source") { "hisysevent:libhisysevent", "hitrace:hitrace_meter", "ipc:ipc_core", + "json:nlohmann_json_static", "libjpeg-turbo:turbojpeg", "media_foundation:media_foundation", "safwk:system_ability_fwk", diff --git a/services/screentransport/screensinktrans/BUILD.gn b/services/screentransport/screensinktrans/BUILD.gn index 0c33a825..f073e1aa 100644 --- a/services/screentransport/screensinktrans/BUILD.gn +++ b/services/screentransport/screensinktrans/BUILD.gn @@ -75,6 +75,7 @@ ohos_shared_library("distributed_screen_sinktrans") { "hilog:libhilog", "hisysevent:libhisysevent", "hitrace:hitrace_meter", + "json:nlohmann_json_static", "libjpeg-turbo:turbojpeg", "media_foundation:media_foundation", ] diff --git a/services/screentransport/screensourcetrans/BUILD.gn b/services/screentransport/screensourcetrans/BUILD.gn index c9ba06e4..d75d798e 100644 --- a/services/screentransport/screensourcetrans/BUILD.gn +++ b/services/screentransport/screensourcetrans/BUILD.gn @@ -76,6 +76,7 @@ ohos_shared_library("distributed_screen_sourcetrans") { "hilog:libhilog", "hisysevent:libhisysevent", "hitrace:hitrace_meter", + "json:nlohmann_json_static", "libjpeg-turbo:turbojpeg", "media_foundation:media_foundation", ] -- Gitee