From 00e74a6d32163cc1cba13bf972d898f466346cbd Mon Sep 17 00:00:00 2001 From: zhuzhihui7 Date: Wed, 22 Jan 2025 10:12:29 +0800 Subject: [PATCH] =?UTF-8?q?distributed=5Faudiodistributed=5Faudio=E9=83=A8?= =?UTF-8?q?=E4=BB=B6=E6=94=AF=E6=8C=81=E7=8B=AC=E7=AB=8B=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhuzhihui7 --- common/dfx_utils/test/unittest/BUILD.gn | 1 + .../test/fuzztest/sinkhandlerinitsink_fuzzer/BUILD.gn | 2 ++ .../sinkhandlerpausedistributedhardware_fuzzer/BUILD.gn | 2 ++ .../sinkhandlerresumedistributedhardware_fuzzer/BUILD.gn | 1 + .../fuzztest/sinkhandlerstopdistributedhardware_fuzzer/BUILD.gn | 2 ++ .../fuzztest/sinkhandlersubscribelocalhardware_fuzzer/BUILD.gn | 1 + .../sinkhandlerunsubscribelocalhardware_fuzzer/BUILD.gn | 1 + .../sinkipccallbackonnotifyresourceinfo_fuzzer/BUILD.gn | 1 + .../sinkipccallbackonnotifyresourceinfoinner_fuzzer/BUILD.gn | 1 + .../fuzztest/sinkipccallbackonremoterequest_fuzzer/BUILD.gn | 1 + .../test/fuzztest/sinkonloadsystemabilityfail_fuzzer/BUILD.gn | 1 + .../sourcehandlerconfigdistributedhardware_fuzzer/BUILD.gn | 1 + .../test/fuzztest/sourcehandlerinitsource_fuzzer/BUILD.gn | 1 + .../sourcehandlerregisterdistributedhardware_fuzzer/BUILD.gn | 1 + .../sourcehandlerunregisterdistributedhardware_fuzzer/BUILD.gn | 1 + .../fuzztest/sourceipccallbackonnotifyregresult_fuzzer/BUILD.gn | 1 + .../sourceipccallbackonnotifyunregresult_fuzzer/BUILD.gn | 1 + .../test/fuzztest/sourceonloadsystemabilityfail_fuzzer/BUILD.gn | 1 + services/audioclient/test/unittest/micclient/BUILD.gn | 1 + services/audioclient/test/unittest/spkclient/BUILD.gn | 1 + .../test/fuzztest/sinkservicedaudionotify_fuzzer/BUILD.gn | 1 + .../test/fuzztest/sinkserviceinitsink_fuzzer/BUILD.gn | 1 + .../sinkservicepausedistributedhardware_fuzzer/BUILD.gn | 1 + .../test/fuzztest/sinkservicereleasesink_fuzzer/BUILD.gn | 1 + .../sinkserviceresumedistributedhardware_fuzzer/BUILD.gn | 1 + .../fuzztest/sinkservicestopdistributedhardware_fuzzer/BUILD.gn | 1 + .../fuzztest/sinkservicesubscribelocalhardware_fuzzer/BUILD.gn | 1 + .../sinkserviceunsubscribelocalhardware_fuzzer/BUILD.gn | 1 + .../test/fuzztest/sinkstubdaudiosinkstub_fuzzer/BUILD.gn | 1 + .../test/fuzztest/sinkstubonremoterequest_fuzzer/BUILD.gn | 1 + services/audiomanager/test/unittest/managersink/BUILD.gn | 2 ++ services/audiomanager/test/unittest/servicesource/BUILD.gn | 1 + services/audiomanager/test/unittest/sourcemanager/BUILD.gn | 1 + .../audiotransport/test/unittest/audioctrltransport/BUILD.gn | 1 + services/audiotransport/test/unittest/receiverengine/BUILD.gn | 1 + services/audiotransport/test/unittest/senderengine/BUILD.gn | 1 + 36 files changed, 40 insertions(+) diff --git a/common/dfx_utils/test/unittest/BUILD.gn b/common/dfx_utils/test/unittest/BUILD.gn index a48b7651..90eef2fb 100644 --- a/common/dfx_utils/test/unittest/BUILD.gn +++ b/common/dfx_utils/test/unittest/BUILD.gn @@ -79,6 +79,7 @@ ohos_unittest("DAudioDfxTest") { "drivers_interface_distributed_audio:libdaudio_proxy_1.0", "dsoftbus:softbus_client", "googletest:gmock", + "hilog:libhilog", "hisysevent:libhisysevent", "hitrace:hitrace_meter", "ipc:ipc_core", diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerinitsink_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerinitsink_fuzzer/BUILD.gn index df0da7ae..7b8ba064 100755 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerinitsink_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerinitsink_fuzzer/BUILD.gn @@ -42,6 +42,8 @@ ohos_fuzztest("SinkHandlerInitSinkFuzzTest") { external_deps = [ "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", + "ipc:ipc_core", + "samgr:samgr_proxy", ] defines = [ diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerpausedistributedhardware_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerpausedistributedhardware_fuzzer/BUILD.gn index dd472da6..498a7526 100644 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerpausedistributedhardware_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerpausedistributedhardware_fuzzer/BUILD.gn @@ -42,6 +42,8 @@ ohos_fuzztest("SinkHandlerPauseDistributedHardwareFuzzTest") { external_deps = [ "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", + "ipc:ipc_core", + "samgr:samgr_proxy", ] defines = [ diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerresumedistributedhardware_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerresumedistributedhardware_fuzzer/BUILD.gn index c4220b9d..225eb905 100644 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerresumedistributedhardware_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerresumedistributedhardware_fuzzer/BUILD.gn @@ -42,6 +42,7 @@ ohos_fuzztest("SinkHandlerResumeDistributedHardwareFuzzTest") { external_deps = [ "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", + "ipc:ipc_core", ] defines = [ diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerstopdistributedhardware_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerstopdistributedhardware_fuzzer/BUILD.gn index 0d906a93..05269bf9 100644 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerstopdistributedhardware_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerstopdistributedhardware_fuzzer/BUILD.gn @@ -42,6 +42,8 @@ ohos_fuzztest("SinkHandlerStopDistributedHardwareFuzzTest") { external_deps = [ "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", + "ipc:ipc_core", + "samgr:samgr_proxy", ] defines = [ diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlersubscribelocalhardware_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlersubscribelocalhardware_fuzzer/BUILD.gn index 1c9223ca..7dfe780b 100755 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlersubscribelocalhardware_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlersubscribelocalhardware_fuzzer/BUILD.gn @@ -43,6 +43,7 @@ ohos_fuzztest("SinkHandlerSubscribeLocalHardwareFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "samgr:samgr_proxy", ] defines = [ diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerunsubscribelocalhardware_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerunsubscribelocalhardware_fuzzer/BUILD.gn index 68ea68d7..994874bd 100755 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerunsubscribelocalhardware_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerunsubscribelocalhardware_fuzzer/BUILD.gn @@ -43,6 +43,7 @@ ohos_fuzztest("SinkHandlerUnsubscribeLocalHardwareFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "samgr:samgr_proxy", ] defines = [ diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkipccallbackonnotifyresourceinfo_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkipccallbackonnotifyresourceinfo_fuzzer/BUILD.gn index a4731dc4..cb9d1ca3 100644 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkipccallbackonnotifyresourceinfo_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkipccallbackonnotifyresourceinfo_fuzzer/BUILD.gn @@ -49,6 +49,7 @@ ohos_fuzztest("SinkIpcCallbackOnNotifyResourceInfoFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "samgr:samgr_proxy", ] } diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkipccallbackonnotifyresourceinfoinner_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkipccallbackonnotifyresourceinfoinner_fuzzer/BUILD.gn index 0a83b5aa..d43eae74 100644 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkipccallbackonnotifyresourceinfoinner_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkipccallbackonnotifyresourceinfoinner_fuzzer/BUILD.gn @@ -51,6 +51,7 @@ ohos_fuzztest("SinkIpcCallbackOnNotifyResourceInfoInnerFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "samgr:samgr_proxy", ] } diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkipccallbackonremoterequest_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkipccallbackonremoterequest_fuzzer/BUILD.gn index 62fda7d7..c345a2d8 100644 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkipccallbackonremoterequest_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkipccallbackonremoterequest_fuzzer/BUILD.gn @@ -51,6 +51,7 @@ ohos_fuzztest("SinkIpcCallbackOnRemoteRequestFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "samgr:samgr_proxy", ] } diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkonloadsystemabilityfail_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkonloadsystemabilityfail_fuzzer/BUILD.gn index bc310fb1..590a4683 100755 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sinkonloadsystemabilityfail_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sinkonloadsystemabilityfail_fuzzer/BUILD.gn @@ -48,6 +48,7 @@ ohos_fuzztest("SinkOnLoadSystemAbilityFailFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "samgr:samgr_proxy", ] } diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerconfigdistributedhardware_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerconfigdistributedhardware_fuzzer/BUILD.gn index 20bcc0c4..03d0254e 100755 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerconfigdistributedhardware_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerconfigdistributedhardware_fuzzer/BUILD.gn @@ -44,6 +44,7 @@ ohos_fuzztest("SourceHandlerConfigDistributedHardwareFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "samgr:samgr_proxy", ] defines = [ diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerinitsource_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerinitsource_fuzzer/BUILD.gn index 5032301d..82795f7e 100755 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerinitsource_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerinitsource_fuzzer/BUILD.gn @@ -43,6 +43,7 @@ ohos_fuzztest("SourceHandlerInitSourceFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "samgr:samgr_proxy", ] defines = [ diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerregisterdistributedhardware_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerregisterdistributedhardware_fuzzer/BUILD.gn index 046b29c8..216dff18 100755 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerregisterdistributedhardware_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerregisterdistributedhardware_fuzzer/BUILD.gn @@ -45,6 +45,7 @@ ohos_fuzztest("SourceHandlerRegisterDistributedHardwareFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "samgr:samgr_proxy", ] defines = [ diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerunregisterdistributedhardware_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerunregisterdistributedhardware_fuzzer/BUILD.gn index a18a1391..1d3a28ca 100755 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerunregisterdistributedhardware_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerunregisterdistributedhardware_fuzzer/BUILD.gn @@ -45,6 +45,7 @@ ohos_fuzztest("SourceHandlerUnregisterDistributedHardwareFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "samgr:samgr_proxy", ] defines = [ diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sourceipccallbackonnotifyregresult_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sourceipccallbackonnotifyregresult_fuzzer/BUILD.gn index cf1e38e3..83b2a8b8 100755 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sourceipccallbackonnotifyregresult_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sourceipccallbackonnotifyregresult_fuzzer/BUILD.gn @@ -50,6 +50,7 @@ ohos_fuzztest("SourceIpcCallbackOnNotifyRegResultFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "samgr:samgr_proxy", ] } diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sourceipccallbackonnotifyunregresult_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sourceipccallbackonnotifyunregresult_fuzzer/BUILD.gn index e377161f..0ae1845a 100755 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sourceipccallbackonnotifyunregresult_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sourceipccallbackonnotifyunregresult_fuzzer/BUILD.gn @@ -50,6 +50,7 @@ ohos_fuzztest("SourceIpcCallbackOnNotifyUnregResultFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "samgr:samgr_proxy", ] } diff --git a/interfaces/inner_kits/native_cpp/test/fuzztest/sourceonloadsystemabilityfail_fuzzer/BUILD.gn b/interfaces/inner_kits/native_cpp/test/fuzztest/sourceonloadsystemabilityfail_fuzzer/BUILD.gn index 948acdc1..78432e57 100755 --- a/interfaces/inner_kits/native_cpp/test/fuzztest/sourceonloadsystemabilityfail_fuzzer/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/test/fuzztest/sourceonloadsystemabilityfail_fuzzer/BUILD.gn @@ -50,6 +50,7 @@ ohos_fuzztest("SourceOnLoadSystemAbilityFailFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "samgr:samgr_proxy", ] } diff --git a/services/audioclient/test/unittest/micclient/BUILD.gn b/services/audioclient/test/unittest/micclient/BUILD.gn index 66e694d5..eee18158 100644 --- a/services/audioclient/test/unittest/micclient/BUILD.gn +++ b/services/audioclient/test/unittest/micclient/BUILD.gn @@ -60,6 +60,7 @@ ohos_unittest("MicClientTest") { "distributed_hardware_fwk:distributedhardwareutils", "dsoftbus:softbus_client", "googletest:gmock", + "hilog:libhilog", ] } diff --git a/services/audioclient/test/unittest/spkclient/BUILD.gn b/services/audioclient/test/unittest/spkclient/BUILD.gn index dc55e94b..b9a17ba8 100644 --- a/services/audioclient/test/unittest/spkclient/BUILD.gn +++ b/services/audioclient/test/unittest/spkclient/BUILD.gn @@ -63,6 +63,7 @@ ohos_unittest("SpeakerClientTest") { "distributed_hardware_fwk:distributedhardwareutils", "dsoftbus:softbus_client", "googletest:gmock", + "hilog:libhilog", ] } diff --git a/services/audiomanager/test/fuzztest/sinkservicedaudionotify_fuzzer/BUILD.gn b/services/audiomanager/test/fuzztest/sinkservicedaudionotify_fuzzer/BUILD.gn index 4f0d2e21..d28bad92 100644 --- a/services/audiomanager/test/fuzztest/sinkservicedaudionotify_fuzzer/BUILD.gn +++ b/services/audiomanager/test/fuzztest/sinkservicedaudionotify_fuzzer/BUILD.gn @@ -49,6 +49,7 @@ ohos_fuzztest("SinkServiceDAudioNotifyFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "safwk:system_ability_fwk", "samgr:samgr_proxy", ] } diff --git a/services/audiomanager/test/fuzztest/sinkserviceinitsink_fuzzer/BUILD.gn b/services/audiomanager/test/fuzztest/sinkserviceinitsink_fuzzer/BUILD.gn index 5d15d5f9..3e39547c 100644 --- a/services/audiomanager/test/fuzztest/sinkserviceinitsink_fuzzer/BUILD.gn +++ b/services/audiomanager/test/fuzztest/sinkserviceinitsink_fuzzer/BUILD.gn @@ -52,6 +52,7 @@ ohos_fuzztest("SinkServiceInitSinkFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "safwk:system_ability_fwk", "samgr:samgr_proxy", ] } diff --git a/services/audiomanager/test/fuzztest/sinkservicepausedistributedhardware_fuzzer/BUILD.gn b/services/audiomanager/test/fuzztest/sinkservicepausedistributedhardware_fuzzer/BUILD.gn index 872458c6..0a190894 100644 --- a/services/audiomanager/test/fuzztest/sinkservicepausedistributedhardware_fuzzer/BUILD.gn +++ b/services/audiomanager/test/fuzztest/sinkservicepausedistributedhardware_fuzzer/BUILD.gn @@ -49,6 +49,7 @@ ohos_fuzztest("SinkServicePauseDistributedHardwareFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "safwk:system_ability_fwk", "samgr:samgr_proxy", ] } diff --git a/services/audiomanager/test/fuzztest/sinkservicereleasesink_fuzzer/BUILD.gn b/services/audiomanager/test/fuzztest/sinkservicereleasesink_fuzzer/BUILD.gn index 683f3806..c7877edc 100644 --- a/services/audiomanager/test/fuzztest/sinkservicereleasesink_fuzzer/BUILD.gn +++ b/services/audiomanager/test/fuzztest/sinkservicereleasesink_fuzzer/BUILD.gn @@ -49,6 +49,7 @@ ohos_fuzztest("SinkServiceReleaseSinkFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "safwk:system_ability_fwk", "samgr:samgr_proxy", ] } diff --git a/services/audiomanager/test/fuzztest/sinkserviceresumedistributedhardware_fuzzer/BUILD.gn b/services/audiomanager/test/fuzztest/sinkserviceresumedistributedhardware_fuzzer/BUILD.gn index 7ec7bf5d..7785af6a 100644 --- a/services/audiomanager/test/fuzztest/sinkserviceresumedistributedhardware_fuzzer/BUILD.gn +++ b/services/audiomanager/test/fuzztest/sinkserviceresumedistributedhardware_fuzzer/BUILD.gn @@ -48,6 +48,7 @@ ohos_fuzztest("SinkServiceResumeDistributedHardwareFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "safwk:system_ability_fwk", "samgr:samgr_proxy", ] } diff --git a/services/audiomanager/test/fuzztest/sinkservicestopdistributedhardware_fuzzer/BUILD.gn b/services/audiomanager/test/fuzztest/sinkservicestopdistributedhardware_fuzzer/BUILD.gn index 8daeaef9..6ebff386 100644 --- a/services/audiomanager/test/fuzztest/sinkservicestopdistributedhardware_fuzzer/BUILD.gn +++ b/services/audiomanager/test/fuzztest/sinkservicestopdistributedhardware_fuzzer/BUILD.gn @@ -49,6 +49,7 @@ ohos_fuzztest("SinkServiceStopDistributedHardwareFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "safwk:system_ability_fwk", "samgr:samgr_proxy", ] } diff --git a/services/audiomanager/test/fuzztest/sinkservicesubscribelocalhardware_fuzzer/BUILD.gn b/services/audiomanager/test/fuzztest/sinkservicesubscribelocalhardware_fuzzer/BUILD.gn index 9a3c8a9a..f993c57f 100644 --- a/services/audiomanager/test/fuzztest/sinkservicesubscribelocalhardware_fuzzer/BUILD.gn +++ b/services/audiomanager/test/fuzztest/sinkservicesubscribelocalhardware_fuzzer/BUILD.gn @@ -49,6 +49,7 @@ ohos_fuzztest("SinkServiceSubscribeLocalHardwareFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "safwk:system_ability_fwk", "samgr:samgr_proxy", ] } diff --git a/services/audiomanager/test/fuzztest/sinkserviceunsubscribelocalhardware_fuzzer/BUILD.gn b/services/audiomanager/test/fuzztest/sinkserviceunsubscribelocalhardware_fuzzer/BUILD.gn index 1c162ad6..25583964 100644 --- a/services/audiomanager/test/fuzztest/sinkserviceunsubscribelocalhardware_fuzzer/BUILD.gn +++ b/services/audiomanager/test/fuzztest/sinkserviceunsubscribelocalhardware_fuzzer/BUILD.gn @@ -49,6 +49,7 @@ ohos_fuzztest("SinkServiceUnSubscribeLocalHardwareFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "safwk:system_ability_fwk", "samgr:samgr_proxy", ] } diff --git a/services/audiomanager/test/fuzztest/sinkstubdaudiosinkstub_fuzzer/BUILD.gn b/services/audiomanager/test/fuzztest/sinkstubdaudiosinkstub_fuzzer/BUILD.gn index 7e6bf945..0960b5d8 100644 --- a/services/audiomanager/test/fuzztest/sinkstubdaudiosinkstub_fuzzer/BUILD.gn +++ b/services/audiomanager/test/fuzztest/sinkstubdaudiosinkstub_fuzzer/BUILD.gn @@ -51,6 +51,7 @@ ohos_fuzztest("SinkStubDaudioSinkStubFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "safwk:system_ability_fwk", "samgr:samgr_proxy", ] } diff --git a/services/audiomanager/test/fuzztest/sinkstubonremoterequest_fuzzer/BUILD.gn b/services/audiomanager/test/fuzztest/sinkstubonremoterequest_fuzzer/BUILD.gn index dd60e266..a02cfcbc 100644 --- a/services/audiomanager/test/fuzztest/sinkstubonremoterequest_fuzzer/BUILD.gn +++ b/services/audiomanager/test/fuzztest/sinkstubonremoterequest_fuzzer/BUILD.gn @@ -51,6 +51,7 @@ ohos_fuzztest("SinkStubOnRemoteRequestFuzzTest") { "c_utils:utils", "distributed_hardware_fwk:distributedhardwareutils", "ipc:ipc_core", + "safwk:system_ability_fwk", "samgr:samgr_proxy", ] } diff --git a/services/audiomanager/test/unittest/managersink/BUILD.gn b/services/audiomanager/test/unittest/managersink/BUILD.gn index 7f4c46c6..5970d1d7 100644 --- a/services/audiomanager/test/unittest/managersink/BUILD.gn +++ b/services/audiomanager/test/unittest/managersink/BUILD.gn @@ -111,10 +111,12 @@ ohos_unittest("DAudioSinkManagerTest") { "distributed_hardware_fwk:distributed_av_sender", "distributed_hardware_fwk:distributedhardwareutils", "dsoftbus:softbus_client", + "eventhandler:libeventhandler", "googletest:gmock", "hdf_core:libhdf_ipc_adapter", "hdf_core:libhdf_utils", "hdf_core:libhdi", + "hilog:libhilog", "hitrace:hitrace_meter", "ipc:ipc_core", "safwk:system_ability_fwk", diff --git a/services/audiomanager/test/unittest/servicesource/BUILD.gn b/services/audiomanager/test/unittest/servicesource/BUILD.gn index 568dbaa6..67db6e11 100644 --- a/services/audiomanager/test/unittest/servicesource/BUILD.gn +++ b/services/audiomanager/test/unittest/servicesource/BUILD.gn @@ -109,6 +109,7 @@ ohos_unittest("DaudioSourceStubTest") { "drivers_interface_distributed_audio:libdaudio_proxy_1.0", "dsoftbus:softbus_client", "googletest:gmock", + "hilog:libhilog", "hisysevent:libhisysevent", "hitrace:hitrace_meter", "ipc:ipc_core", diff --git a/services/audiomanager/test/unittest/sourcemanager/BUILD.gn b/services/audiomanager/test/unittest/sourcemanager/BUILD.gn index 55781daa..eb6941c0 100644 --- a/services/audiomanager/test/unittest/sourcemanager/BUILD.gn +++ b/services/audiomanager/test/unittest/sourcemanager/BUILD.gn @@ -75,6 +75,7 @@ ohos_unittest("DaudioSourceMgrTest") { "eventhandler:libeventhandler", "googletest:gmock", "hdf_core:libhdi", + "hilog:libhilog", "ipc:ipc_core", "ipc:ipc_single", "safwk:system_ability_fwk", diff --git a/services/audiotransport/test/unittest/audioctrltransport/BUILD.gn b/services/audiotransport/test/unittest/audioctrltransport/BUILD.gn index 2fb7a63a..dd07ed34 100644 --- a/services/audiotransport/test/unittest/audioctrltransport/BUILD.gn +++ b/services/audiotransport/test/unittest/audioctrltransport/BUILD.gn @@ -57,6 +57,7 @@ ohos_unittest("CtrlTransTest") { "distributed_hardware_fwk:distributed_av_sender", "dsoftbus:softbus_client", "googletest:gmock", + "hilog:libhilog", ] } diff --git a/services/audiotransport/test/unittest/receiverengine/BUILD.gn b/services/audiotransport/test/unittest/receiverengine/BUILD.gn index f5494019..1bde9181 100644 --- a/services/audiotransport/test/unittest/receiverengine/BUILD.gn +++ b/services/audiotransport/test/unittest/receiverengine/BUILD.gn @@ -56,6 +56,7 @@ ohos_unittest("AVTransReceiverAdapterTest") { "distributed_hardware_fwk:distributed_av_receiver", "dsoftbus:softbus_client", "googletest:gmock", + "hilog:libhilog", ] } diff --git a/services/audiotransport/test/unittest/senderengine/BUILD.gn b/services/audiotransport/test/unittest/senderengine/BUILD.gn index c262132d..c59c618b 100644 --- a/services/audiotransport/test/unittest/senderengine/BUILD.gn +++ b/services/audiotransport/test/unittest/senderengine/BUILD.gn @@ -55,6 +55,7 @@ ohos_unittest("AVTransSenderAdapterTest") { "distributed_hardware_fwk:distributed_av_sender", "dsoftbus:softbus_client", "googletest:gmock", + "hilog:libhilog", ] } -- Gitee