diff --git a/README.md b/README.md index d8ad3e0372e12b978350eb9f45d0d97c1315ab81..b1862ab2905fb038479705924665891601ad6c34 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 cf8bbe7ceb4e21fb1a4131f3321e3b4122a8e2dd..2f11683dfb61a5c63f0de6297a80b7834e9bb646 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 578fad45b26d8325fbbe2070e2124e29ae7c9c15..4515757fb7b7f4b8650ff5234dc41db4bbccdeec 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 f0491d447239e2e600e1877fbdebe7a3857b18c7..d9ed9f302827484309cb186ec0683eba9f61501b 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 0013fbc012081ccc7648f2b6bf0f6a9b392f981c..db68d3c56cb3dbbeab0b817cbf6dfe52a7035af9 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 eaf26639ae0e10a21bdf058aa0bcee686e0eda81..0158d8bd23d4ab4de74f85c0bf9be235739c5f96 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 f070a2be624dbd6915670d99a70335e21fa1c449..7631ba056e0d305322a63586bd14bc4786d7cde4 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 bf09b683c788cb30a07fe0273e5df328e7eff575..944f5d4baef0ea0eac1e60bdd30450df89bb73ea 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" }