diff --git a/av_transport/av_trans_engine/plugin/test/av_trans_output/output_control_test/BUILD.gn b/av_transport/av_trans_engine/plugin/test/av_trans_output/output_control_test/BUILD.gn index e3d5c6a4d80aa90783f01338776735e5b88cf4c6..580d80cb587188c124db72e72a8cfe12b120f852 100644 --- a/av_transport/av_trans_engine/plugin/test/av_trans_output/output_control_test/BUILD.gn +++ b/av_transport/av_trans_engine/plugin/test/av_trans_output/output_control_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2023-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -58,6 +58,7 @@ ohos_unittest("OutputControllerTest") { "cJSON:cjson", "c_utils:utils", "dsoftbus:softbus_client", + "eventhandler:libeventhandler", "googletest:gtest", "hilog:libhilog", ] diff --git a/bundle.json b/bundle.json index 313deb80abcf2ca546d3e3f4847d5a8f14083124..6395fa7ba42045d6fd133ee465de15468a955117 100644 --- a/bundle.json +++ b/bundle.json @@ -58,7 +58,8 @@ "openssl", "ffmpeg", "zlib", - "ffrt" + "ffrt", + "libevdev" ] }, "build": { diff --git a/interfaces/inner_kits/test/unittest/common/distributedhardwarefwkkit/BUILD.gn b/interfaces/inner_kits/test/unittest/common/distributedhardwarefwkkit/BUILD.gn index 76e8592be0514ff066b61c50e8b96bd8bc852cce..8f392692c0284fbef431db703f3976217599fa59 100644 --- a/interfaces/inner_kits/test/unittest/common/distributedhardwarefwkkit/BUILD.gn +++ b/interfaces/inner_kits/test/unittest/common/distributedhardwarefwkkit/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -49,8 +49,10 @@ ohos_unittest("DistributedHardwareFwkKitTest") { external_deps = [ "cJSON:cjson", "c_utils:utils", + "hilog:libhilog", "ipc:ipc_core", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] } diff --git a/interfaces/inner_kits/test/unittest/common/ipc/distributed_hardware_proxy/BUILD.gn b/interfaces/inner_kits/test/unittest/common/ipc/distributed_hardware_proxy/BUILD.gn index df8fb411e22707c67bbad444d9d05790e8ecb860..c64e883518dabd4e9405f127e456529e6f281c32 100644 --- a/interfaces/inner_kits/test/unittest/common/ipc/distributed_hardware_proxy/BUILD.gn +++ b/interfaces/inner_kits/test/unittest/common/ipc/distributed_hardware_proxy/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2025 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -64,6 +64,7 @@ ohos_unittest("DistributedHardwareProxyTest") { "cJSON:cjson", "c_utils:utils", "device_manager:devicemanagersdk", + "eventhandler:libeventhandler", "hilog:libhilog", "ipc:ipc_core", ] diff --git a/services/distributedhardwarefwkservice/test/fuzztest/accessmanager_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/accessmanager_fuzzer/BUILD.gn index 5c9e96068d098ccebc8d7000d84cfcd8660246fc..4df296c7ff75537696c861e00f1ae90497134d29 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/accessmanager_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/accessmanager_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -51,8 +51,11 @@ ohos_fuzztest("AccessManagerFuzzTest") { external_deps = [ "c_utils:utils", "device_manager:devicemanagersdk", + "eventhandler:libeventhandler", + "hilog:libhilog", "init:libbegetutil", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] } diff --git a/services/distributedhardwarefwkservice/test/fuzztest/accessmanageroffline_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/accessmanageroffline_fuzzer/BUILD.gn index 189c8f81655e2319cf95846707f82bd8b02d38ee..317846a8ac57944c1989fa3e600c8b002f4f498d 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/accessmanageroffline_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/accessmanageroffline_fuzzer/BUILD.gn @@ -51,8 +51,11 @@ ohos_fuzztest("AccessManagerOfflineFuzzTest") { external_deps = [ "c_utils:utils", "device_manager:devicemanagersdk", + "eventhandler:libeventhandler", + "hilog:libhilog", "init:libbegetutil", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] } diff --git a/services/distributedhardwarefwkservice/test/fuzztest/capabilityinfomanager_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/capabilityinfomanager_fuzzer/BUILD.gn index 7292c57da4eacad6b892213ad7d7350a80fa9b5c..5ab6c5b31c31c90305fad8fa57c891e14ce40ce5 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/capabilityinfomanager_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/capabilityinfomanager_fuzzer/BUILD.gn @@ -53,9 +53,12 @@ ohos_fuzztest("CapabilityInfoManagerFuzzTest") { "cJSON:cjson", "c_utils:utils", "device_manager:devicemanagersdk", + "eventhandler:libeventhandler", + "hilog:libhilog", "init:libbegetutil", "kv_store:distributeddata_inner", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] } diff --git a/services/distributedhardwarefwkservice/test/fuzztest/componentdisable_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/componentdisable_fuzzer/BUILD.gn index 6aeb76caf158906f35f7329583f412393ef1f837..d422658645f399172f47ac6e287aea429b458089 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/componentdisable_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/componentdisable_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2023 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -51,8 +51,11 @@ ohos_fuzztest("ComponentDisableFuzzTest") { external_deps = [ "c_utils:utils", "device_manager:devicemanagersdk", + "eventhandler:libeventhandler", + "hilog:libhilog", "init:libbegetutil", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] } diff --git a/services/distributedhardwarefwkservice/test/fuzztest/componentenable_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/componentenable_fuzzer/BUILD.gn index 3b839b89611ecd8a743d7d45a87fa8891eaa6f5a..cb3e9e1a4dc10aafacad5295721412f809ae533a 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/componentenable_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/componentenable_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2023 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -51,8 +51,11 @@ ohos_fuzztest("ComponentEnableFuzzTest") { external_deps = [ "c_utils:utils", "device_manager:devicemanagersdk", + "eventhandler:libeventhandler", + "hilog:libhilog", "init:libbegetutil", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] } diff --git a/services/distributedhardwarefwkservice/test/fuzztest/componentloader_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/componentloader_fuzzer/BUILD.gn index d1ddf93cd7105ba34a4398d4195e2b695d2980c8..f4376cf1f8d4c209d9b2be655081a560d50fb761 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/componentloader_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/componentloader_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -53,7 +53,12 @@ ohos_fuzztest("ComponentLoaderFuzzTest") { "LOG_DOMAIN=0xD004100", ] - external_deps = [ "cJSON:cjson" ] + external_deps = [ + "cJSON:cjson", + "eventhandler:libeventhandler", + "hilog:libhilog", + "samgr:samgr_proxy", + ] } ############################################################################### diff --git a/services/distributedhardwarefwkservice/test/fuzztest/componentmanager_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/componentmanager_fuzzer/BUILD.gn index 37f6d670c13b15cd898559b7ff0e431c00d5b912..254f56b2345e7e99cf8e4b95317d0e6ba99c7562 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/componentmanager_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/componentmanager_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -53,7 +53,9 @@ ohos_fuzztest("ComponentManagerFuzzTest") { "c_utils:utils", "dsoftbus:softbus_client", "eventhandler:libeventhandler", + "hilog:libhilog", "ipc:ipc_single", + "samgr:samgr_proxy", ] defines = [ diff --git a/services/distributedhardwarefwkservice/test/fuzztest/dhcommtool_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/dhcommtool_fuzzer/BUILD.gn index e086dae9616987bca03f3a52ac523e0ab437eb70..79b9492665f60d57766b4aab9afa121d67fa05e7 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/dhcommtool_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/dhcommtool_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -61,8 +61,11 @@ ohos_fuzztest("DhCommToolFuzzTest") { "c_utils:utils", "device_manager:devicemanagersdk", "dsoftbus:softbus_client", + "eventhandler:libeventhandler", + "hilog:libhilog", "init:libbegetutil", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] } diff --git a/services/distributedhardwarefwkservice/test/fuzztest/dhmanagerfactory_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/dhmanagerfactory_fuzzer/BUILD.gn index bf8e970c50b081119dba84f99ca71407afc425bf..8577bc135393fdf4e195eb6bde30227c3291d604 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/dhmanagerfactory_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/dhmanagerfactory_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2023 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -51,8 +51,11 @@ ohos_fuzztest("DhManagerFactoryFuzzTest") { external_deps = [ "c_utils:utils", "device_manager:devicemanagersdk", + "eventhandler:libeventhandler", + "hilog:libhilog", "init:libbegetutil", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] } diff --git a/services/distributedhardwarefwkservice/test/fuzztest/dhtransport_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/dhtransport_fuzzer/BUILD.gn index a4280940380357d21d1f126aad1fe43d43da2445..336f975d4926ce2b146476e09c8d6319a2bb7889 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/dhtransport_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/dhtransport_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -62,8 +62,11 @@ ohos_fuzztest("DhTransportFuzzTest") { "c_utils:utils", "device_manager:devicemanagersdk", "dsoftbus:softbus_client", + "eventhandler:libeventhandler", + "hilog:libhilog", "init:libbegetutil", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] } diff --git a/services/distributedhardwarefwkservice/test/fuzztest/distributedfwkservices_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/distributedfwkservices_fuzzer/BUILD.gn index 8bf58eb02cd7b5f1e3d192be15ef24fa2a22daf2..0df53991ac73c131508c556b592cafef3480eeb8 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/distributedfwkservices_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/distributedfwkservices_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -56,9 +56,12 @@ ohos_fuzztest("DistributedFwkServicesFuzzTest") { external_deps = [ "c_utils:utils", "device_manager:devicemanagersdk", + "eventhandler:libeventhandler", + "hilog:libhilog", "init:libbegetutil", "ipc:ipc_single", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] } diff --git a/services/distributedhardwarefwkservice/test/fuzztest/enabledcompsdump_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/enabledcompsdump_fuzzer/BUILD.gn index eca2c1a5100fa8cae9c5f319fa855f4a2f59d793..a31f7cd31dacef37b63dc8376e39cb44325bab5d 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/enabledcompsdump_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/enabledcompsdump_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2023 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -51,8 +51,11 @@ ohos_fuzztest("EnabledCompsDumpFuzzTest") { external_deps = [ "c_utils:utils", "device_manager:devicemanagersdk", + "eventhandler:libeventhandler", + "hilog:libhilog", "init:libbegetutil", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] } diff --git a/services/distributedhardwarefwkservice/test/fuzztest/metainfomgr_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/metainfomgr_fuzzer/BUILD.gn index e46e730cff2b759058e132baa782518648cf1ec6..a3553e6a2c55dd6542d04a7ddbcc794fe779bfa3 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/metainfomgr_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/metainfomgr_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -58,9 +58,11 @@ ohos_fuzztest("MetaInfoMgrFuzzTest") { "c_utils:utils", "device_manager:devicemanagersdk", "eventhandler:libeventhandler", + "hilog:libhilog", "init:libbegetutil", "kv_store:distributeddata_inner", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] } diff --git a/services/distributedhardwarefwkservice/test/fuzztest/publisher_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/publisher_fuzzer/BUILD.gn index abb7baa5cbcfb23e23119725523811681a4b49a1..21ce98eb3c64922156be52482fbe188250b48d60 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/publisher_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/publisher_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2023 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -57,6 +57,7 @@ ohos_fuzztest("PublisherFuzzTest") { "c_utils:utils", "device_manager:devicemanagersdk", "eventhandler:libeventhandler", + "hilog:libhilog", "init:libbegetutil", "ipc:ipc_core", "kv_store:distributeddata_inner", diff --git a/services/distributedhardwarefwkservice/test/fuzztest/publisheritem_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/publisheritem_fuzzer/BUILD.gn index 94128f5288137d57265d7e44c97cfc76c97976c2..bcf40e43c9432c0ab31bb41d8e5437c7c36b24a6 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/publisheritem_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/publisheritem_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2023 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -55,6 +55,7 @@ ohos_fuzztest("PublisherItemFuzzTest") { "c_utils:utils", "device_manager:devicemanagersdk", "eventhandler:libeventhandler", + "hilog:libhilog", "init:libbegetutil", "ipc:ipc_core", "kv_store:distributeddata_inner", diff --git a/services/distributedhardwarefwkservice/test/fuzztest/resourcemanager_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/resourcemanager_fuzzer/BUILD.gn index 6f9c4bf0e2cee894739ba31176e63448e272ffa6..bd1fed314a3c108c087deaab012f53ae264e8561 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/resourcemanager_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/resourcemanager_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -54,8 +54,11 @@ ohos_fuzztest("ResourceManagerFuzzTest") { "cJSON:cjson", "c_utils:utils", "eventhandler:libeventhandler", + "eventhandler:libeventhandler", + "hilog:libhilog", "ipc:ipc_single", "kv_store:distributeddata_inner", + "samgr:samgr_proxy", ] } diff --git a/services/distributedhardwarefwkservice/test/fuzztest/task_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/task_fuzzer/BUILD.gn index 4d3bce4625f184ed7309c2a90f5de8dc884a2cca..db98bfada20c73f276f5ee823f4b7855ec740b63 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/task_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/task_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2023 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -48,6 +48,9 @@ ohos_fuzztest("TaskFuzzTest") { external_deps = [ "cJSON:cjson", "c_utils:utils", + "eventhandler:libeventhandler", + "hilog:libhilog", + "samgr:samgr_proxy", ] defines = [ diff --git a/services/distributedhardwarefwkservice/test/fuzztest/versioninfomanager_fuzzer/BUILD.gn b/services/distributedhardwarefwkservice/test/fuzztest/versioninfomanager_fuzzer/BUILD.gn index f81aa8fe77efc549ef3ce92ed71a899b7f882a2e..829df032fc07efe0a9d8446137488a790e876324 100644 --- a/services/distributedhardwarefwkservice/test/fuzztest/versioninfomanager_fuzzer/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/fuzztest/versioninfomanager_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2023 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -54,7 +54,9 @@ ohos_fuzztest("VersioninfoManagerFuzzTest") { "cJSON:cjson", "c_utils:utils", "eventhandler:libeventhandler", + "hilog:libhilog", "kv_store:distributeddata_inner", + "samgr:samgr_proxy", ] } diff --git a/services/distributedhardwarefwkservice/test/unittest/common/componentloader/BUILD.gn b/services/distributedhardwarefwkservice/test/unittest/common/componentloader/BUILD.gn index 661d996cff951c134496ff27340d3b8385e6a117..63bb2a41e392f6c70e8044f05cf95497a76904a6 100644 --- a/services/distributedhardwarefwkservice/test/unittest/common/componentloader/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/unittest/common/componentloader/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -50,9 +50,13 @@ ohos_unittest("ComponentLoaderTest") { external_deps = [ "cJSON:cjson", + "c_utils:utils", "config_policy:configpolicy_util", + "eventhandler:libeventhandler", "hilog:libhilog", + "hisysevent:libhisysevent", "hitrace:hitrace_meter", + "ipc:ipc_core", "kv_store:distributeddata_inner", ] diff --git a/services/distributedhardwarefwkservice/test/unittest/common/componentmanager/component_manager/BUILD.gn b/services/distributedhardwarefwkservice/test/unittest/common/componentmanager/component_manager/BUILD.gn index 2a780cf93e2af1fd93dff2e29d47fee00c5784da..1f5dcda5d502aa8092bbff6910ec2d1a07ec032c 100644 --- a/services/distributedhardwarefwkservice/test/unittest/common/componentmanager/component_manager/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/unittest/common/componentmanager/component_manager/BUILD.gn @@ -67,8 +67,10 @@ ohos_unittest("ComponentManagerTest") { "c_utils:utils", "dsoftbus:softbus_client", "eventhandler:libeventhandler", + "hilog:libhilog", "ipc:ipc_single", "kv_store:distributeddata_inner", + "samgr:samgr_proxy", ] defines = [ diff --git a/services/distributedhardwarefwkservice/test/unittest/common/componentmanager/component_monitior/BUILD.gn b/services/distributedhardwarefwkservice/test/unittest/common/componentmanager/component_monitior/BUILD.gn index 53bb179e0ed935d13cdf9b57cc80a4e68ef11e95..8bd9498cf72113ed253b6090ce2d48ca233b6566 100644 --- a/services/distributedhardwarefwkservice/test/unittest/common/componentmanager/component_monitior/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/unittest/common/componentmanager/component_monitior/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -51,6 +51,7 @@ ohos_unittest("ComponentMonitorTest") { "cJSON:cjson", "c_utils:utils", "eventhandler:libeventhandler", + "hilog:libhilog", "ipc:ipc_core", "ipc:ipc_single", "samgr:samgr_proxy", diff --git a/services/distributedhardwarefwkservice/test/unittest/common/dbadapter/BUILD.gn b/services/distributedhardwarefwkservice/test/unittest/common/dbadapter/BUILD.gn index eb772702f085cd98c1176d9e293acdf6684eefd2..367ee35a9f1f8faf8d1867db8661084069279ffc 100644 --- a/services/distributedhardwarefwkservice/test/unittest/common/dbadapter/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/unittest/common/dbadapter/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -60,6 +60,7 @@ ohos_unittest("DbAdapterTest") { "c_utils:utils", "eventhandler:libeventhandler", "hilog:libhilog", + "ipc:ipc_core", "kv_store:distributeddata_inner", "safwk:system_ability_fwk", ] diff --git a/services/distributedhardwarefwkservice/test/unittest/common/distributedhardwaremanager/BUILD.gn b/services/distributedhardwarefwkservice/test/unittest/common/distributedhardwaremanager/BUILD.gn index 0e3ab803f80c4588770bdef3ee3e858cd60d766d..0a828bfd28b9f8fe8fd69ddfd71c07c4bfaa75b9 100644 --- a/services/distributedhardwarefwkservice/test/unittest/common/distributedhardwaremanager/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/unittest/common/distributedhardwaremanager/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2023 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -45,6 +45,7 @@ ohos_unittest("DistributedHardwareManagerTest") { "cJSON:cjson", "c_utils:utils", "eventhandler:libeventhandler", + "hilog:libhilog", ] defines = [ diff --git a/services/distributedhardwarefwkservice/test/unittest/common/distributedhardwareservice/BUILD.gn b/services/distributedhardwarefwkservice/test/unittest/common/distributedhardwareservice/BUILD.gn index e01b6aa968e9de8c7078168835f936d1c3e7d803..65724ea23ada7eb266b4b72ff935cc26c04ecc41 100644 --- a/services/distributedhardwarefwkservice/test/unittest/common/distributedhardwareservice/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/unittest/common/distributedhardwareservice/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2023 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -63,6 +63,7 @@ ohos_unittest("DistributedHardwareServiceTest") { "cJSON:cjson", "c_utils:utils", "eventhandler:libeventhandler", + "hilog:libhilog", "ipc:ipc_core", "safwk:system_ability_fwk", ] diff --git a/services/distributedhardwarefwkservice/test/unittest/common/hidumphelper/hidumphelper/BUILD.gn b/services/distributedhardwarefwkservice/test/unittest/common/hidumphelper/hidumphelper/BUILD.gn index 98aaccb2234435789f381243261fa7e251a16832..7ae990351191490afb968ec16fa89141086207eb 100644 --- a/services/distributedhardwarefwkservice/test/unittest/common/hidumphelper/hidumphelper/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/unittest/common/hidumphelper/hidumphelper/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -69,9 +69,11 @@ ohos_unittest("HidumpHelperTest") { "c_utils:utils", "dsoftbus:softbus_client", "eventhandler:libeventhandler", + "hilog:libhilog", "ipc:ipc_core", "kv_store:distributeddata_inner", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] } diff --git a/services/distributedhardwarefwkservice/test/unittest/common/localhardwaremanager/localhardwaremanager/BUILD.gn b/services/distributedhardwarefwkservice/test/unittest/common/localhardwaremanager/localhardwaremanager/BUILD.gn index e6dcd6a9e172559307b05cefb07195c4e7619431..ed36ee682ac9c5b830a3882699afcdfe4327ac87 100644 --- a/services/distributedhardwarefwkservice/test/unittest/common/localhardwaremanager/localhardwaremanager/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/unittest/common/localhardwaremanager/localhardwaremanager/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2025 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -48,8 +48,11 @@ ohos_unittest("LocalHardwareManagerTest") { external_deps = [ "cJSON:cjson", + "c_utils:utils", "eventhandler:libeventhandler", + "hilog:libhilog", "hisysevent:libhisysevent", + "ipc:ipc_core", "kv_store:distributeddata_inner", ] diff --git a/services/distributedhardwarefwkservice/test/unittest/common/localhardwaremanager/pluginlistenerimpl/BUILD.gn b/services/distributedhardwarefwkservice/test/unittest/common/localhardwaremanager/pluginlistenerimpl/BUILD.gn index 3ddbcd92ab697aee47db9e940d22b218cef003a8..70b1ad38df8c817a1504be1d680fbfe056b42f13 100644 --- a/services/distributedhardwarefwkservice/test/unittest/common/localhardwaremanager/pluginlistenerimpl/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/unittest/common/localhardwaremanager/pluginlistenerimpl/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2025 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -49,6 +49,7 @@ ohos_unittest("PluginListenerImplTest") { external_deps = [ "cJSON:cjson", "eventhandler:libeventhandler", + "hilog:libhilog", "hisysevent:libhisysevent", "kv_store:distributeddata_inner", ] diff --git a/services/distributedhardwarefwkservice/test/unittest/common/lowlatency/lowlatency/BUILD.gn b/services/distributedhardwarefwkservice/test/unittest/common/lowlatency/lowlatency/BUILD.gn index d23f47cfe8577ca36c81de9516f6e5b1edf83b82..fc6373bfeb8a50bbde1cd715a663f67b9527fff4 100644 --- a/services/distributedhardwarefwkservice/test/unittest/common/lowlatency/lowlatency/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/unittest/common/lowlatency/lowlatency/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -55,6 +55,7 @@ ohos_unittest("LowLatencyTest") { external_deps = [ "cJSON:cjson", "c_utils:utils", + "eventhandler:libeventhandler", "ipc:ipc_core", "safwk:system_ability_fwk", ] diff --git a/services/distributedhardwarefwkservice/test/unittest/common/lowlatency/lowlatencylistener/BUILD.gn b/services/distributedhardwarefwkservice/test/unittest/common/lowlatency/lowlatencylistener/BUILD.gn index 544ff3869a3038d9ebc3ff8d89c6f5b033f33e53..99aee536c5ceef18c1a47306dd199098276c4521 100644 --- a/services/distributedhardwarefwkservice/test/unittest/common/lowlatency/lowlatencylistener/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/unittest/common/lowlatency/lowlatencylistener/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -55,6 +55,7 @@ ohos_unittest("LowLatencyListenerTest") { external_deps = [ "cJSON:cjson", "c_utils:utils", + "eventhandler:libeventhandler", "ipc:ipc_core", "safwk:system_ability_fwk", ] diff --git a/services/distributedhardwarefwkservice/test/unittest/common/publisher/BUILD.gn b/services/distributedhardwarefwkservice/test/unittest/common/publisher/BUILD.gn index faa074a7e9ed1fcac08b149b89f47de31e141a7d..e753d5d65bde340105e95365e5a2c1c5d5c2f5f7 100644 --- a/services/distributedhardwarefwkservice/test/unittest/common/publisher/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/unittest/common/publisher/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -46,6 +46,7 @@ ohos_unittest("PublisherItemTest") { external_deps = [ "c_utils:utils", + "ipc:ipc_core", "kv_store:distributeddata_inner", "safwk:system_ability_fwk", ] diff --git a/services/distributedhardwarefwkservice/test/unittest/common/resourcemanager/BUILD.gn b/services/distributedhardwarefwkservice/test/unittest/common/resourcemanager/BUILD.gn index cd278971f1f6d452ea4338082cd46cc6e4e40743..b41eb2462551f4f76d151341d15fbd798bd00f62 100644 --- a/services/distributedhardwarefwkservice/test/unittest/common/resourcemanager/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/unittest/common/resourcemanager/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2025 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -83,6 +83,9 @@ ohos_unittest("DBAdapterTest") { external_deps = [ "cJSON:cjson", "c_utils:utils", + "eventhandler:libeventhandler", + "hilog:libhilog", + "ipc:ipc_core", "kv_store:distributeddata_inner", ] } @@ -138,6 +141,7 @@ ohos_unittest("MetaCapInfoTest") { external_deps = [ "cJSON:cjson", "c_utils:utils", + "eventhandler:libeventhandler", "hilog:libhilog", "kv_store:distributeddata_inner", ] @@ -167,6 +171,7 @@ ohos_unittest("MetaInfoMgrTest") { "c_utils:utils", "eventhandler:libeventhandler", "hilog:libhilog", + "ipc:ipc_core", "kv_store:distributeddata_inner", "safwk:system_ability_fwk", ] @@ -196,6 +201,7 @@ ohos_unittest("ResourceManagerTest") { "c_utils:utils", "eventhandler:libeventhandler", "hilog:libhilog", + "ipc:ipc_core", "kv_store:distributeddata_inner", "safwk:system_ability_fwk", ] diff --git a/services/distributedhardwarefwkservice/test/unittest/common/task/BUILD.gn b/services/distributedhardwarefwkservice/test/unittest/common/task/BUILD.gn index b875d8152ff9253f89b2be5482910316466fe694..1109ff0af3946e96f2841b67c51694f34583c04b 100644 --- a/services/distributedhardwarefwkservice/test/unittest/common/task/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/unittest/common/task/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/services/distributedhardwarefwkservice/test/unittest/common/transport/BUILD.gn b/services/distributedhardwarefwkservice/test/unittest/common/transport/BUILD.gn index c42acf363da251c105329f14cee8b67de7208c76..8eb188ea55592e4ecc8ecc6859a3e86abc0ea3c4 100644 --- a/services/distributedhardwarefwkservice/test/unittest/common/transport/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/unittest/common/transport/BUILD.gn @@ -58,6 +58,8 @@ ohos_unittest("TransportTest") { "c_utils:utils", "dsoftbus:softbus_client", "eventhandler:libeventhandler", + "hilog:libhilog", + "ipc:ipc_core", "kv_store:distributeddata_inner", "safwk:system_ability_fwk", ] diff --git a/services/distributedhardwarefwkservice/test/unittest/common/versioninfomanager/BUILD.gn b/services/distributedhardwarefwkservice/test/unittest/common/versioninfomanager/BUILD.gn index cec0ba0b9495f6a377fcbdf3b13ea5244a397823..120dac922dbe12e714b83ff9051102ae1699939a 100644 --- a/services/distributedhardwarefwkservice/test/unittest/common/versioninfomanager/BUILD.gn +++ b/services/distributedhardwarefwkservice/test/unittest/common/versioninfomanager/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -51,6 +51,7 @@ ohos_unittest("VersioninfoManagerTest") { "c_utils:utils", "eventhandler:libeventhandler", "hilog:libhilog", + "ipc:ipc_core", "kv_store:distributeddata_inner", "safwk:system_ability_fwk", ]