From 7f7b5d59426797649f4168e46975ab1a51b121b4 Mon Sep 17 00:00:00 2001 From: lwx1281857 Date: Thu, 13 Mar 2025 19:35:18 +0800 Subject: [PATCH] Description: Code optimization Feature or Bugfix: Bugfix Binary Source:No Signed-off-by: lwx1281857 --- {partitionslot => partition_slot}/bundle.json | 20 +++++++++++++------ .../v1_0/BUILD.gn | 0 .../v1_0/IPartitionSlot.idl | 2 +- 3 files changed, 15 insertions(+), 7 deletions(-) rename {partitionslot => partition_slot}/bundle.json (56%) rename {partitionslot => partition_slot}/v1_0/BUILD.gn (100%) rename {partitionslot => partition_slot}/v1_0/IPartitionSlot.idl (98%) diff --git a/partitionslot/bundle.json b/partition_slot/bundle.json similarity index 56% rename from partitionslot/bundle.json rename to partition_slot/bundle.json index 0e903905..b4a2ded4 100644 --- a/partitionslot/bundle.json +++ b/partition_slot/bundle.json @@ -5,7 +5,7 @@ "license": "Apache License 2.0", "publishAs": "code-segment", "segment": { - "destPath": "drivers/interface/partitionslot" + "destPath": "drivers/interface/partition_slot" }, "dirs": {}, "scripts": {}, @@ -26,25 +26,33 @@ }, "build": { "sub_component": [ - "//drivers/interface/partitionslot/v1_0:partitionslot_idl_target" + "//drivers/interface/partition_slot/v1_0:partitionslot_idl_target" ], "test": [ ], "inner_kits": [ { - "name": "//drivers/interface/partitionslot/v1_0:libpartitionslot_proxy_1.0", + "name": "//drivers/interface/partition_slot/v1_0:libpartitionslot_proxy_1.0", "header": { "header_files": [ ], - "header_base": "//drivers/interface/partitionslot" + "header_base": "//drivers/interface/partition_slot" } }, { - "name": "//drivers/interface/partitionslot/v1_0:partitionslot_idl_headers", + "name": "//drivers/interface/partition_slot/v1_0:libpartitionslot_stub_1.0", "header": { "header_files": [ ], - "header_base": "//drivers/interface/partitionslot" + "header_base": "//drivers/interface/partition_slot" + } + }, + { + "name": "//drivers/interface/partition_slot/v1_0:partitionslot_idl_headers", + "header": { + "header_files": [ + ], + "header_base": "//drivers/interface/partition_slot" } } ] diff --git a/partitionslot/v1_0/BUILD.gn b/partition_slot/v1_0/BUILD.gn similarity index 100% rename from partitionslot/v1_0/BUILD.gn rename to partition_slot/v1_0/BUILD.gn diff --git a/partitionslot/v1_0/IPartitionSlot.idl b/partition_slot/v1_0/IPartitionSlot.idl similarity index 98% rename from partitionslot/v1_0/IPartitionSlot.idl rename to partition_slot/v1_0/IPartitionSlot.idl index 53d07840..066c5183 100644 --- a/partitionslot/v1_0/IPartitionSlot.idl +++ b/partition_slot/v1_0/IPartitionSlot.idl @@ -40,7 +40,7 @@ * The operations include getting and setting current booting partition slot, */ -package ohos.hdi.partitionslot.v1_0; +package ohos.hdi.partition_slot.v1_0; interface IPartitionSlot { /** -- Gitee