diff --git a/services/distributedhardwarefwkserviceimpl/test/unittest/common/BUILD.gn b/services/distributedhardwarefwkserviceimpl/test/unittest/common/BUILD.gn index be5ddaf0fb815bf70a403ac25e2d3b7e0a9adfe8..608ed184c4322511ea05b79fc81cb03db1d25871 100644 --- a/services/distributedhardwarefwkserviceimpl/test/unittest/common/BUILD.gn +++ b/services/distributedhardwarefwkserviceimpl/test/unittest/common/BUILD.gn @@ -12,7 +12,9 @@ # limitations under the License. import("//build/test.gni") -import("//foundation/distributedhardware/distributedhardwarefwk/distributedhardwarefwk.gni") +import( + "//foundation/distributedhardware/distributedhardwarefwk/distributedhardwarefwk.gni") + module_out_path = "distributed_hardware_fwk/dh_manager_test" config("module_private_config") { @@ -34,17 +36,15 @@ config("module_private_config") { ohos_unittest("DistributedHardwareManagerTest") { module_out_path = module_out_path - sources = [ - "distributed_hardware_manager_test.cpp" - ] + sources = [ "distributed_hardware_manager_test.cpp" ] configs = [ ":module_private_config" ] deps = [ - "//third_party/googletest:gtest_main", - "//third_party/googletest:gmock_main", + "//foundation/distributedhardware/distributedhardwarefwk/services/distributedhardwarefwkserviceimpl:distributedhardwarefwksvr_impl", "//foundation/distributedhardware/distributedhardwarefwk/utils:distributedhardwareutils", - "//foundation/distributedhardware/distributedhardwarefwk/services/distributedhardwarefwkserviceimpl:distributedhardwarefwksvr_impl" + "//third_party/googletest:gmock_main", + "//third_party/googletest:gtest_main", ] defines = [ @@ -56,9 +56,9 @@ ohos_unittest("DistributedHardwareManagerTest") { external_deps = [ "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", + "dsoftbus:softbus_client", "eventhandler:libeventhandler", "hiviewdfx_hilog_native:libhilog", - "dsoftbus_standard:softbus_client", ] } diff --git a/utils/BUILD.gn b/utils/BUILD.gn index 27018ede10c82e79af10b933e093391fd97536a6..1c9bcb206e16cfb318e3d991ab4ce4c177e7b899 100644 --- a/utils/BUILD.gn +++ b/utils/BUILD.gn @@ -47,7 +47,7 @@ ohos_shared_library("distributedhardwareutils") { external_deps = [ "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", - "dsoftbus_standard:softbus_client", + "dsoftbus:softbus_client", "eventhandler:libeventhandler", "hiviewdfx_hilog_native:libhilog", ]