From bd7f5d1a38af715ae63b718b6779517fd4a2d63b Mon Sep 17 00:00:00 2001 From: zjucx Date: Mon, 20 Dec 2021 18:35:38 +0800 Subject: [PATCH] add build entry for dp tool Signed-off-by: zjucx --- ohos.build | 3 ++- tools/dp/BUILD.gn | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ohos.build b/ohos.build index 84a0063c..fbe4cde9 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 5dc247c8..11d08f8e 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", ] -- Gitee