From 5945413f227b1bb9517a05a5a2f2359653f74fbd Mon Sep 17 00:00:00 2001 From: h00514358 Date: Fri, 8 Oct 2021 02:44:57 +0000 Subject: [PATCH] Signed-off-by:hellohyh001 Signed-off-by: h00514358 --- README.md | 3 +-- frameworks/native/miscdevice/BUILD.gn | 4 ++-- interfaces/native/vibrator/BUILD.gn | 2 +- interfaces/plugin/BUILD.gn | 2 +- ohos.build | 2 +- sa_profile/BUILD.gn | 2 +- services/miscdevice_service/BUILD.gn | 2 +- utils/BUILD.gn | 2 +- 8 files changed, 9 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d8ad3e0..b1862ab 100755 --- a/README.md +++ b/README.md @@ -175,5 +175,4 @@ Pan-sensor subsystem [sensors\_sensor](https://gitee.com/openharmony/sensors_sensor) -**sensors\_miscdevice** - +**sensors\_miscdevice** \ No newline at end of file diff --git a/frameworks/native/miscdevice/BUILD.gn b/frameworks/native/miscdevice/BUILD.gn index cf8bbe7..2f11683 100755 --- a/frameworks/native/miscdevice/BUILD.gn +++ b/frameworks/native/miscdevice/BUILD.gn @@ -42,7 +42,7 @@ ohos_shared_library("liblight_native") { "safwk:system_ability_fwk", "samgr_L2:samgr_proxy", ] - part_name = "sensors_miscdevice" + part_name = "miscdevice" subsystem_name = "sensors" } @@ -73,7 +73,7 @@ ohos_shared_library("libvibrator_native") { "safwk:system_ability_fwk", "samgr_L2:samgr_proxy", ] - part_name = "sensors_miscdevice" + part_name = "miscdevice" subsystem_name = "sensors" } diff --git a/interfaces/native/vibrator/BUILD.gn b/interfaces/native/vibrator/BUILD.gn index 578fad4..4515757 100755 --- a/interfaces/native/vibrator/BUILD.gn +++ b/interfaces/native/vibrator/BUILD.gn @@ -56,7 +56,7 @@ ohos_shared_library("vibrator_interface_native") { external_deps = [ "hiviewdfx_hilog_native:libhilog" ] public_configs = [ ":vibrator_config" ] - part_name = "sensors_miscdevice" + part_name = "miscdevice" subsystem_name = "sensors" } diff --git a/interfaces/plugin/BUILD.gn b/interfaces/plugin/BUILD.gn index f0491d4..d9ed9f3 100755 --- a/interfaces/plugin/BUILD.gn +++ b/interfaces/plugin/BUILD.gn @@ -39,7 +39,7 @@ ohos_shared_library("vibrator_js") { ] external_deps = [ "hiviewdfx_hilog_native:libhilog" ] relative_install_dir = "module" - part_name = "sensors_miscdevice" + part_name = "miscdevice" subsystem_name = "sensors" } diff --git a/ohos.build b/ohos.build index 0013fbc..db68d3c 100755 --- a/ohos.build +++ b/ohos.build @@ -1,7 +1,7 @@ { "subsystem": "sensors", "parts": { - "sensors_miscdevice": { + "miscdevice": { "module_list": [ "//base/sensors/miscdevice/interfaces/native/vibrator:vibrator_target", "//base/sensors/miscdevice/interfaces/plugin:vibrator_js_target", diff --git a/sa_profile/BUILD.gn b/sa_profile/BUILD.gn index eaf2663..0158d8b 100755 --- a/sa_profile/BUILD.gn +++ b/sa_profile/BUILD.gn @@ -15,7 +15,7 @@ import("//build/ohos/sa_profile/sa_profile.gni") ohos_sa_profile("sensors_sa_profiles") { sources = [ "3602.xml" ] - part_name = "sensors_miscdevice" + part_name = "miscdevice" } group("sensors_profiles") { diff --git a/services/miscdevice_service/BUILD.gn b/services/miscdevice_service/BUILD.gn index f070a2b..7631ba0 100755 --- a/services/miscdevice_service/BUILD.gn +++ b/services/miscdevice_service/BUILD.gn @@ -53,7 +53,7 @@ ohos_shared_library("libmiscdevice_service") { "samgr_L2:samgr_proxy", ] - part_name = "sensors_miscdevice" + part_name = "miscdevice" subsystem_name = "sensors" } diff --git a/utils/BUILD.gn b/utils/BUILD.gn index bf09b68..944f5d4 100755 --- a/utils/BUILD.gn +++ b/utils/BUILD.gn @@ -32,7 +32,7 @@ ohos_shared_library("libmiscdevice_utils") { "safwk:system_ability_fwk", "samgr_L2:samgr_proxy", ] - part_name = "sensors_miscdevice" + part_name = "miscdevice" subsystem_name = "sensors" } -- Gitee