diff --git a/ohos.build b/ohos.build index 84a0063c9d7cac789e4c995f828e6b8bc5e14932..fbe4cde9c022a937680813d6a64b0ee6766b2196 100755 --- a/ohos.build +++ b/ohos.build @@ -22,7 +22,8 @@ ], "module_list": [ "//foundation/deviceprofile/device_profile_core/sa_profile:dps_sa_profile", - "//foundation/deviceprofile/device_profile_core/services/core:distributed_device_profile" + "//foundation/deviceprofile/device_profile_core/services/core:distributed_device_profile", + "//foundation/deviceprofile/device_profile_core/tools/dp:dp" ], "system_kits": [], "test_list": [ diff --git a/tools/dp/BUILD.gn b/tools/dp/BUILD.gn index 5dc247c8121689c8c2f257856923e52847a29f05..11d08f8e52cff3a2f5c210a71030fde3cf84e52f 100755 --- a/tools/dp/BUILD.gn +++ b/tools/dp/BUILD.gn @@ -16,7 +16,9 @@ import("//build/ohos_var.gni") device_profile_path = "//foundation/deviceprofile/device_profile_core" device_profile_innerkits = "${device_profile_path}/interfaces/innerkits" -device_profile_configs = [ "${device_profile_innerkits}/device_profile_core:distributed_device_profile_client_config" ] +device_profile_configs = [ + "${device_profile_innerkits}/core:distributed_device_profile_client_config", +] ohos_executable("dp") { install_enable = true @@ -37,7 +39,7 @@ ohos_executable("dp") { ] deps = [ - "${device_profile_innerkits}/device_profile_core:distributed_device_profile_client", + "${device_profile_innerkits}/core:distributed_device_profile_client", "//utils/native/base:utils", ]