diff --git a/common/dfx_utils/test/unittest/BUILD.gn b/common/dfx_utils/test/unittest/BUILD.gn index a48b76519c0cbdfc07810011764a2a576bdc8107..90eef2fbb70ef04e743683d4398328af17be0fa2 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 df0da7ae74940df6b7f2f7d8ddef96179f0d1b98..7b8ba06419bed88c536c5c384c0bb05cf99fb26f 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 dd472da60b503273dbcf197881ce9e2a8cdc752d..498a752633152ae196d1b15beef4ddaefe84b3ba 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 c4220b9dabe3fddf96ef92630bcc686b5976df02..225eb9057ea0a668418d78ec43bebe5cdcf6eb31 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 0d906a935034477dce70959dc0df102b160a8ce6..05269bf9795df7ee412eef35523a0dda25454faf 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 1c9223cadfc41fe7471c0caf1c9742325ed29e7e..7dfe780b0aa4098f69cbe7289b2775e246bc9fc9 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 68ea68d76848069010bffae3576424a3658feefe..994874bd1f552bb7d2178b8c8b645f86ab2632de 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 a4731dc40e63784f5cc2ac61798c6847fcd09ec3..cb9d1ca32fceb22d73fdb8d47caab6ad116d35c8 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 0a83b5aa9418802101dbcf16f18842e4de1e5168..d43eae74e7acc0cc82e53e50130932734bf7a8f8 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 62fda7d7f704ef8baa30a8e97d75e55a27d4c048..c345a2d89c62a7cd8c35e8b704e789b10702be3e 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 bc310fb15ed72ea7042e81794c40257fbe931d5e..590a468302905aea22ffde517f69a81624f87cd2 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 20bcc0c400179d66e6824ba7b39f0d0d2dcf31b3..03d0254e2a1b458e5b46fe43f7d2237c42f91c0e 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 5032301d8f86d9d89986de9a4133a904fea888ca..82795f7e4d443f1f4a71aa38a808b5d22d75eca2 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 046b29c8249907850e8126b9a754a11f96447864..216dff18397d6c3657797d49cbeec8bdd2b39384 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 a18a1391962d574ded4d1a602d058a82f1b515d6..1d3a28ca67471a54154c92c8afd95227c0926a76 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 cf1e38e37f46c8cc5f44ce52df0e829ebd4b3371..83b2a8b8626bce93ed919f250310df09ab021ad1 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 e377161f737f249dfc670a7269b2b01a5bad46f3..0ae1845aae0487503345a570646cb87c80d1bfdf 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 948acdc185b3386d899d6414aef5bdf1c8633df9..78432e57755533e18e6416c528484354607297fd 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 66e694d50a18f709facf9e09d8942bac83f9c15c..eee181580275aa11618851feabb238dca3e555c4 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 dc55e94bafd0b6e2abbff16caf9e1572ce46be3f..b9a17ba8ccd0167668e618b64ff7b8b34a668bea 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 4f0d2e21537d4c8b78feb5aa9adb754a127d4371..d28bad9210fd126284e632f3c954a0da39d663e4 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 5d15d5f91e9132c917deed7033141a11b3dcc507..3e39547c03a5d7f493ee3dc412df32f6442ed7d5 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 872458c61252f12a5c6b51839e5373781ed389ba..0a190894a2b6a5879af514bf998e1ad10c925b01 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 683f3806dcde42cef56e0e1e9a378faf39db0dd7..c7877edcef5d098126eed61b6a8fd23beccfdef1 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 7ec7bf5d6a04c2fbe1fb983398f8a43fbb09f863..7785af6a0d65577220f1c7a16b60ba6f49e6f5a9 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 8daeaef971730074d6c130730ee0254fb4d440a3..6ebff3861cbc25f926f0dae8d6fa866b8a643bc3 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 9a3c8a9a66c9f7b2a292dd6acf9424b2ac4dd5bc..f993c57f030cc52c63eee0077a07a13ed38ba2b5 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 1c162ad6f4d95557474217da0a9e5a9c60ed5d90..255839649c94c380c8d6fda5eb7b410b632af0bc 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 7e6bf9457f0e9ef9326300f1c48352c5cd630823..0960b5d878b9719aa80cca1b8a2605d3b40daf91 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 dd60e266939cc8078cb1e48538c8a85ad6513b6d..a02cfcbc87e3026a04f0e83dcf2a1c3c73554eed 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 7f4c46c661abf9ecac3a9e45c99d5ea1f0565071..5970d1d7a41785a57d72beac234e874d556ec74d 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 568dbaa686ff7da1c6ab91e7bb44f643336778ec..67db6e11ccc8faa072810c5bd508934d6b70703f 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 55781daa1a38df0bf4fd053f0d8da7293de37050..eb6941c0d2c8f32a83203ea81b1ba2dd78a7de5b 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 2fb7a63aae6d676a35b14892f25e4e13b881b959..dd07ed34dd186cb8c81bcb115a83122254f364a5 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 f54940196feea1d864f3b1e5647620488755e292..1bde9181ab606c95c1ef3c10588516274b5fb4ea 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 c262132dc9574cf9b4d9804468915553396bd4ab..c59c618bc5423f5b161b33051cd44bd4f15d3c67 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", ] }