diff --git a/screenhandler/BUILD.gn b/screenhandler/BUILD.gn index 2f1199d5df0dc83e499ccd2c4e4bcb110912368d..60138066eeafecc082874293326954aa46845dbc 100644 --- a/screenhandler/BUILD.gn +++ b/screenhandler/BUILD.gn @@ -38,7 +38,6 @@ ohos_shared_library("distributed_screen_handler") { deps = [ "${common_path}:distributed_screen_utils", - "${mediastandard_path}/interfaces/inner_api/native:media_client", "${windowmanager_path}/dm:libdm", ] @@ -48,7 +47,11 @@ ohos_shared_library("distributed_screen_handler") { "LOG_DOMAIN=0xD004100", ] - external_deps = [ "c_utils:utils" ] + external_deps = [ + "c_utils:utils", + "graphic_standard:surface", + "multimedia_player_framework:media_client", + ] subsystem_name = "distributedhardware" diff --git a/services/screenservice/sourceservice/BUILD.gn b/services/screenservice/sourceservice/BUILD.gn index c861b69bc1757c56ff57b6e635b4b49bc9b832a4..a9cb9d7e74631e5bbcf7d6637c8f4ee07cbd4bd5 100644 --- a/services/screenservice/sourceservice/BUILD.gn +++ b/services/screenservice/sourceservice/BUILD.gn @@ -67,7 +67,6 @@ ohos_shared_library("distributed_screen_source") { deps = [ "${common_path}:distributed_screen_utils", "${distributedhardwarefwk_path}/interfaces/inner_kits:libdhfwk_sdk", - "${mediastandard_path}/interfaces/inner_api/native:media_client", "${services_path}/screentransport/screensourcetrans:distributed_screen_sourcetrans", "${windowmanager_path}/dm:libdm", ] @@ -80,7 +79,10 @@ ohos_shared_library("distributed_screen_source") { external_deps = [ "c_utils:utils", + "graphic_standard:surface", "ipc:ipc_core", + "multimedia_image_framework:image_native", + "multimedia_player_framework:media_client", "safwk:system_ability_fwk", "samgr:samgr_proxy", ] diff --git a/services/screentransport/test/unittest/screensinkprocessor/BUILD.gn b/services/screentransport/test/unittest/screensinkprocessor/BUILD.gn index 00dee821af636acaf5ca1b3f6a85f3f0d8faca37..d9a701be9af8a677036e8d4bd83229729ecc6f36 100644 --- a/services/screentransport/test/unittest/screensinkprocessor/BUILD.gn +++ b/services/screentransport/test/unittest/screensinkprocessor/BUILD.gn @@ -72,7 +72,6 @@ ohos_unittest("SinkProcessorTest") { "LOG_DOMAIN=0xD004100", ] - remove_configs = [ "//build/config/compiler:no_rtti" ] cflags = [ "-frtti" ] cflags_cc = cflags } diff --git a/services/screentransport/test/unittest/screensinktrans/BUILD.gn b/services/screentransport/test/unittest/screensinktrans/BUILD.gn index d063838c4be460d12cd729a58536cc7a6ccabdb2..129f5edfaf918ac60e406e5220ea94d7878f5ac6 100644 --- a/services/screentransport/test/unittest/screensinktrans/BUILD.gn +++ b/services/screentransport/test/unittest/screensinktrans/BUILD.gn @@ -72,7 +72,6 @@ ohos_unittest("SinkTransTest") { "LOG_DOMAIN=0xD004100", ] - remove_configs = [ "//build/config/compiler:no_rtti" ] cflags = [ "-frtti" ] cflags_cc = cflags } diff --git a/services/screentransport/test/unittest/screensourceprocessor/BUILD.gn b/services/screentransport/test/unittest/screensourceprocessor/BUILD.gn index 8eb240cb8a581b328804b44e0a9f9db9c98d6811..ddc96c5deafac6df3955b5988bb0a4b629892a50 100644 --- a/services/screentransport/test/unittest/screensourceprocessor/BUILD.gn +++ b/services/screentransport/test/unittest/screensourceprocessor/BUILD.gn @@ -65,6 +65,7 @@ ohos_unittest("SourceProcessorTest") { external_deps = [ "c_utils:utils", + "graphic_standard:surface", "multimedia_player_framework:media_client", ] }