diff --git a/bundle.json b/bundle.json index 1a3c49148b758b64a82b84b7d116658e1fa2aa0f..bf7c1623c4242e4dc66778a408fc53e2d44a41fb 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 e4a4ead8b459cdb8a410bbdd3ccb5cb4f2c2a95d..74c7be178dcabbd7709fa155f4184b3ed93f48a7 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 290fc78ed4ff74eda9bc5a169a05b654a1f8eea1..cd69bbf69390c8e6854f8a02ef022baa31057fb9 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 0e526bee01ec61db14778d937896e8cfc45c525f..2cce1550e917a9e87b5f5505778495092d26e947 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 e6b197e55fbeaa02c6232c9e834f09ef31cb6871..350eeae32d5f1dd033a9fc04fd8f28deb04dbb2b 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 d19e70a5a50eb1b978b2ba79203a83669094f859..4061c4fb4728bfc06f3b1983729ac6cce82de5c2 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 0c33a825e7317fcc92881ca337432599fe44e6a6..f073e1aa117311d0f71fac3f7d805e9765f46f93 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 c9ba06e4778312df6a4c89d20db1f3cadf366e29..d75d798ea84f4cee99bfd16bb22b292ff6d5db6e 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", ]