From e1785975710cbc80a7376df31911a043748b3d7c Mon Sep 17 00:00:00 2001 From: Rayllll Date: Tue, 6 May 2025 16:02:12 +0800 Subject: [PATCH 1/2] Signed-off-by: Rayllll modify import gni --- partitionslot/v1_0/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partitionslot/v1_0/BUILD.gn b/partitionslot/v1_0/BUILD.gn index d4407349..b829a07b 100644 --- a/partitionslot/v1_0/BUILD.gn +++ b/partitionslot/v1_0/BUILD.gn @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//drivers/hdf_core/adapter/uhdf2/hdi.gni") +import("//build/config/components/hdi/hdi.gni") hdi("partitionslot") { module_name = "partitionslot_interface_service" -- Gitee From 56eab301acf663fc0bc75b4cdd2fc0b62f7ba0b5 Mon Sep 17 00:00:00 2001 From: Rayllll Date: Tue, 6 May 2025 16:02:12 +0800 Subject: [PATCH 2/2] Signed-off-by: Rayllll modify import gni Signed-off-by: Rayllll --- partitionslot/v1_0/BUILD.gn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/partitionslot/v1_0/BUILD.gn b/partitionslot/v1_0/BUILD.gn index d4407349..1992f51e 100644 --- a/partitionslot/v1_0/BUILD.gn +++ b/partitionslot/v1_0/BUILD.gn @@ -11,12 +11,17 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//drivers/hdf_core/adapter/uhdf2/hdi.gni") +import("//build/config/components/hdi/hdi.gni") hdi("partitionslot") { module_name = "partitionslot_interface_service" sources = [ "IPartitionSlot.idl" ] + install_images = [ + "system", + "updater" + ] + language = "cpp" subsystem_name = "hdf" part_name = "drivers_interface_partitionslot" -- Gitee