From 1368124dfbc52ffe8a2928ffbff7688ad9421741 Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 23 Jun 2022 09:53:41 +0800 Subject: [PATCH] feat:modify hdf peripheral component name Signed-off-by: kevin --- input/bundle.json | 4 ++-- input/v1_0/BUILD.gn | 4 ++-- light/bundle.json | 4 ++-- light/v1_0/BUILD.gn | 2 +- motion/bundle.json | 4 ++-- motion/v1_0/BUILD.gn | 2 +- sensor/bundle.json | 4 ++-- sensor/v1_0/BUILD.gn | 2 +- vibrator/bundle.json | 4 ++-- vibrator/v1_0/BUILD.gn | 2 +- vibrator/v1_1/BUILD.gn | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/input/bundle.json b/input/bundle.json index b14048f2..fbe76bf3 100644 --- a/input/bundle.json +++ b/input/bundle.json @@ -1,10 +1,10 @@ { - "name": "input_device_driver_interface", + "name": "drivers_interface_input", "description": "input device driver interface", "version": "3.2", "license": "Apache License 2.0", "component": { - "name": "input_device_driver_interface", + "name": "drivers_interface_input", "subsystem": "hdf", "syscap": [""], "adapter_system_type": ["standard"], diff --git a/input/v1_0/BUILD.gn b/input/v1_0/BUILD.gn index b2811551..e7a24a89 100644 --- a/input/v1_0/BUILD.gn +++ b/input/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 = "input_device_driver" + part_name = "drivers_interface_input" } } diff --git a/light/bundle.json b/light/bundle.json index 969832b6..f9d262b0 100644 --- a/light/bundle.json +++ b/light/bundle.json @@ -1,10 +1,10 @@ { - "name": "light_device_driver_interface", + "name": "drivers_interface_light", "description": "light device driver interface", "version": "3.2", "license": "Apache License 2.0", "component": { - "name": "light_device_driver_interface", + "name": "drivers_interface_light", "subsystem": "hdf", "syscap": [""], "adapter_system_type": ["standard"], diff --git a/light/v1_0/BUILD.gn b/light/v1_0/BUILD.gn index ff630f1d..7e93830e 100644 --- a/light/v1_0/BUILD.gn +++ b/light/v1_0/BUILD.gn @@ -29,6 +29,6 @@ if (defined(ohos_lite)) { language = "cpp" subsystem_name = "hdf" - part_name = "light_device_driver" + part_name = "drivers_interface_light" } } diff --git a/motion/bundle.json b/motion/bundle.json index f3f8d669..d34e98d9 100644 --- a/motion/bundle.json +++ b/motion/bundle.json @@ -1,10 +1,10 @@ { - "name": "motion_device_driver_interface", + "name": "drivers_interface_motion", "description": "motion device driver interface", "version": "3.2", "license": "Apache License 2.0", "component": { - "name": "motion_device_driver_interface", + "name": "drivers_interface_motion", "subsystem": "hdf", "syscap": [""], "adapter_system_type": ["standard"], diff --git a/motion/v1_0/BUILD.gn b/motion/v1_0/BUILD.gn index b2c7c5f6..8bd446f2 100644 --- a/motion/v1_0/BUILD.gn +++ b/motion/v1_0/BUILD.gn @@ -23,5 +23,5 @@ hdi("motion") { language = "cpp" subsystem_name = "hdf" - part_name = "motion_device_driver" + part_name = "drivers_interface_motion" } diff --git a/sensor/bundle.json b/sensor/bundle.json index 2a40aa2d..f8551740 100644 --- a/sensor/bundle.json +++ b/sensor/bundle.json @@ -1,10 +1,10 @@ { - "name": "sensor_device_driver_interface", + "name": "drivers_interface_sensor", "description": "sensor device driver interface", "version": "3.2", "license": "Apache License 2.0", "component": { - "name": "sensor_device_driver_interface", + "name": "drivers_interface_sensor", "subsystem": "hdf", "syscap": [""], "adapter_system_type": ["standard"], diff --git a/sensor/v1_0/BUILD.gn b/sensor/v1_0/BUILD.gn index 085c43a5..4058f1be 100644 --- a/sensor/v1_0/BUILD.gn +++ b/sensor/v1_0/BUILD.gn @@ -29,6 +29,6 @@ if (defined(ohos_lite)) { language = "cpp" subsystem_name = "hdf" - part_name = "sensor_device_driver" + part_name = "drivers_interface_sensor" } } diff --git a/vibrator/bundle.json b/vibrator/bundle.json index f75d7eed..5921b10d 100644 --- a/vibrator/bundle.json +++ b/vibrator/bundle.json @@ -1,10 +1,10 @@ { - "name": "vibrator_device_driver_interface", + "name": "drivers_interface_vibrator", "description": "vibrator device driver interface", "version": "3.2", "license": "Apache License 2.0", "component": { - "name": "vibrator_device_driver_interface", + "name": "drivers_interface_vibrator", "subsystem": "hdf", "syscap": [""], "adapter_system_type": ["standard"], diff --git a/vibrator/v1_0/BUILD.gn b/vibrator/v1_0/BUILD.gn index e89291ec..b137e3c6 100644 --- a/vibrator/v1_0/BUILD.gn +++ b/vibrator/v1_0/BUILD.gn @@ -28,6 +28,6 @@ if (defined(ohos_lite)) { language = "cpp" subsystem_name = "hdf" - part_name = "vibrator_device_driver" + part_name = "drivers_interface_vibrator" } } diff --git a/vibrator/v1_1/BUILD.gn b/vibrator/v1_1/BUILD.gn index a69364ed..c165c665 100644 --- a/vibrator/v1_1/BUILD.gn +++ b/vibrator/v1_1/BUILD.gn @@ -28,6 +28,6 @@ if (defined(ohos_lite)) { language = "cpp" subsystem_name = "hdf" - part_name = "vibrator_device_driver" + part_name = "drivers_interface_vibrator" } } -- Gitee