diff --git a/adapter/BUILD.gn b/adapter/BUILD.gn index fe6cb79b8e9c8c7ef111508aa6cf395a011f0d64..e59c2965b42466a4f869ffaa0b9e74388366d38d 100644 --- a/adapter/BUILD.gn +++ b/adapter/BUILD.gn @@ -137,7 +137,7 @@ if (defined(ohos_lite)) { ] public_configs = [ ":config_adapter_common" ] if (is_standard_system) { - external_deps = [ "hiviewdfx_hilog_native:libhilog" ] + deps += [ "//depend:libhilog" ] } part_name = "dsoftbus_standard" subsystem_name = "communication" diff --git a/core/common/BUILD.gn b/core/common/BUILD.gn index fdb4134d81ff74875c7fbd0e6d7f327239f3e53a..4c305d7f161b7fbbd1555c3f05698bac1954e734 100644 --- a/core/common/BUILD.gn +++ b/core/common/BUILD.gn @@ -114,7 +114,7 @@ if (defined(ohos_lite)) { "//utils/native/base:utilsecurec_shared", ] if (is_standard_system) { - external_deps = [ "hiviewdfx_hilog_native:libhilog" ] + deps = [ "//depend:libhilog" ] } part_name = "dsoftbus_standard" subsystem_name = "communication" diff --git a/core/frame/BUILD.gn b/core/frame/BUILD.gn index 5109f201cc5a77061854c47fc4bb99a150920230..3948ef684efb8c250572a5bcb1b3e6fe2fd23423 100644 --- a/core/frame/BUILD.gn +++ b/core/frame/BUILD.gn @@ -163,10 +163,9 @@ if (defined(ohos_lite)) { "//base/security/deviceauth/services:deviceauth", ] if (is_standard_system) { - external_deps = bus_center_server_external_deps - external_deps += [ - "hiviewdfx_hilog_native:libhilog", - "ipc:ipc_core", + deps += [ + "//depend:libhilog", + "//depend/ipc:ipc_core", ] } @@ -192,9 +191,9 @@ if (defined(ohos_lite)) { "//base/security/huks/services/huks_standard/huks_engine/main/core:huks_engine_core_standard", "//depend:syspara", ] - external_deps = [ - "hiviewdfx_hilog_native:libhilog", - "ipc:ipc_core", + deps += [ + "//depend:libhilog", + "//depend/ipc:ipc_core", ] part_name = "dsoftbus_standard" subsystem_name = "communication" diff --git a/sdk/BUILD.gn b/sdk/BUILD.gn index f322ce5c37b2bede05b20f930f00576ae1858964..73771588eaea5f3e6ae2220b8624af4854e5acff 100644 --- a/sdk/BUILD.gn +++ b/sdk/BUILD.gn @@ -85,9 +85,9 @@ target(build_type, "softbus_client") { cflags = [ "-fPIC" ] cflags_cc = [ "-std=c++14" ] if (is_standard_system) { - external_deps = [ - "hiviewdfx_hilog_native:libhilog", - "ipc:ipc_single", + deps += [ + "//depend:libhilog", + "//depend/ipc:ipc_single", ] } part_name = "dsoftbus_standard"