From 423bc77116da817d56db8c5664e936e9ad219682 Mon Sep 17 00:00:00 2001 From: toutes Date: Tue, 21 Jun 2022 19:13:21 -0700 Subject: [PATCH] build: Modify the component name Signed-off-by: toutes Change-Id: I15280781e14384dbc648d2adce70417f9f7c2f04 --- battery/bundle.json | 4 ++-- battery/v1_0/BUILD.gn | 2 +- power/bundle.json | 4 ++-- power/v1_0/BUILD.gn | 4 ++-- thermal/bundle.json | 4 ++-- thermal/v1_0/BUILD.gn | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/battery/bundle.json b/battery/bundle.json index 669f605f..c0b21a5b 100644 --- a/battery/bundle.json +++ b/battery/bundle.json @@ -1,10 +1,10 @@ { - "name": "battery_device_driver_interface", + "name": "drivers_interface_battery", "description": "battery device driver interface", "version": "3.2", "license": "Apache License 2.0", "component": { - "name": "battery_device_driver_interface", + "name": "drivers_interface_battery", "subsystem": "hdf", "syscap": [""], "adapter_system_type": ["standard"], diff --git a/battery/v1_0/BUILD.gn b/battery/v1_0/BUILD.gn index f8cf7f9b..1f000065 100644 --- a/battery/v1_0/BUILD.gn +++ b/battery/v1_0/BUILD.gn @@ -29,6 +29,6 @@ if (defined(ohos_lite)) { language = "cpp" subsystem_name = "hdf" - part_name = "battery_device_driver" + part_name = "drivers_interface_battery" } } diff --git a/power/bundle.json b/power/bundle.json index 04ea16a5..fb4a22b2 100644 --- a/power/bundle.json +++ b/power/bundle.json @@ -1,10 +1,10 @@ { - "name": "power_device_driver_interface", + "name": "drivers_interface_power", "description": "power device driver interface", "version": "3.2", "license": "Apache License 2.0", "component": { - "name": "power_device_driver_interface", + "name": "drivers_interface_power", "subsystem": "hdf", "syscap": [""], "adapter_system_type": ["standard"], diff --git a/power/v1_0/BUILD.gn b/power/v1_0/BUILD.gn index f88275f1..96b7aeca 100644 --- a/power/v1_0/BUILD.gn +++ b/power/v1_0/BUILD.gn @@ -9,7 +9,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License. +# limitations under the License. import("//drivers/hdf_core/adapter/uhdf2/hdi.gni") if (defined(ohos_lite)) { @@ -29,6 +29,6 @@ if (defined(ohos_lite)) { language = "cpp" subsystem_name = "hdf" - part_name = "power_device_driver" + part_name = "drivers_interface_power" } } diff --git a/thermal/bundle.json b/thermal/bundle.json index f6e10675..036783f0 100644 --- a/thermal/bundle.json +++ b/thermal/bundle.json @@ -1,10 +1,10 @@ { - "name": "thermal_device_driver_interface", + "name": "drivers_interface_thermal", "description": "thermal device driver interface", "version": "3.2", "license": "Apache License 2.0", "component": { - "name": "thermal_device_driver_interface", + "name": "drivers_interface_thermal", "subsystem": "hdf", "syscap": [""], "adapter_system_type": ["standard"], diff --git a/thermal/v1_0/BUILD.gn b/thermal/v1_0/BUILD.gn index dd23d511..05f8ab5b 100644 --- a/thermal/v1_0/BUILD.gn +++ b/thermal/v1_0/BUILD.gn @@ -29,6 +29,6 @@ if (defined(ohos_lite)) { language = "cpp" subsystem_name = "hdf" - part_name = "thermal_device_driver" + part_name = "drivers_interface_thermal" } } -- Gitee