diff --git a/frameworks/native/sensor/BUILD.gn b/frameworks/native/sensor/BUILD.gn index 6210e4a18875824d1c9aa0be35bab8563fe6f8c4..85ea0e72a8e377d353d99ca9717fd3133e070704 100755 --- a/frameworks/native/sensor/BUILD.gn +++ b/frameworks/native/sensor/BUILD.gn @@ -56,7 +56,7 @@ ohos_shared_library("libsensor_native") { "samgr_L2:samgr_proxy", ] - part_name = "sensors_sensor" + part_name = "sensor" subsystem_name = "sensors" } diff --git a/interfaces/native/BUILD.gn b/interfaces/native/BUILD.gn index 7f8cc5db2935584224c242be77e6c9219a8bda3f..8bdb073fab24b6f58defa8b0e6ed24fde28d0af7 100755 --- a/interfaces/native/BUILD.gn +++ b/interfaces/native/BUILD.gn @@ -46,7 +46,7 @@ ohos_shared_library("sensor_interface_native") { "//utils/native/base:utils", ] external_deps = [ "hiviewdfx_hilog_native:libhilog" ] - part_name = "sensors_sensor" + part_name = "sensor" subsystem_name = "sensors" } diff --git a/interfaces/plugin/BUILD.gn b/interfaces/plugin/BUILD.gn index 0b761ffa08f2ad9a2d47dea299cc25db5231e65e..3bf528ca3e97caddf57f10bca6ff1cb076152129 100755 --- a/interfaces/plugin/BUILD.gn +++ b/interfaces/plugin/BUILD.gn @@ -37,7 +37,7 @@ ohos_shared_library("sensor") { ] external_deps = [ "hiviewdfx_hilog_native:libhilog" ] relative_install_dir = "module" - part_name = "sensors_sensor" + part_name = "sensor" subsystem_name = "sensors" } diff --git a/interfaces/plugin/test/unittest/BUILD.gn b/interfaces/plugin/test/unittest/BUILD.gn index 7c121c8d30455930abf3aa9a8d69f1f74443fda5..a49fc5949f9fb3a96cc51f962e0f0360a9fa6258 100755 --- a/interfaces/plugin/test/unittest/BUILD.gn +++ b/interfaces/plugin/test/unittest/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("//build/config/ohos/rules.gni") import("//build/ohos.gni") @@ -49,7 +49,7 @@ ohos_unittest("SensorJsTest") { ] external_deps = [ "hiviewdfx_hilog_native:libhilog" ] relative_install_dir = "module" - part_name = "sensors_sensor" + part_name = "sensor" subsystem_name = "sensors" } group("unittest") { diff --git a/ohos.build b/ohos.build index 85db58cdaf8df2cc3d828b57da17a5870b0cea5a..09bb335f1fb2632e36cee97d442c404bb925cd53 100755 --- a/ohos.build +++ b/ohos.build @@ -1,7 +1,7 @@ { "subsystem": "sensors", "parts": { - "sensors_sensor": { + "sensor": { "variants": [ "phone", "ivi", diff --git a/sa_profile/BUILD.gn b/sa_profile/BUILD.gn index 1df10558112eb3637b4daa58b8d8abbf5462db9b..ca54c21d7322c8a4bcb6776b551a2b84ec6206ea 100755 --- a/sa_profile/BUILD.gn +++ b/sa_profile/BUILD.gn @@ -15,5 +15,5 @@ import("//build/ohos/sa_profile/sa_profile.gni") ohos_sa_profile("sensors_sa_profiles") { sources = [ "3601.xml" ] - part_name = "sensors_sensor" + part_name = "sensor" } diff --git a/services/sensor/BUILD.gn b/services/sensor/BUILD.gn index 1ca86991ff05f38ffc9c1d568473277f233a5bc9..140afe73c7276a849e6e57b61dc2ad192e08364e 100755 --- a/services/sensor/BUILD.gn +++ b/services/sensor/BUILD.gn @@ -59,7 +59,7 @@ ohos_shared_library("libsensor_service") { "safwk:system_ability_fwk", "samgr_L2:samgr_proxy", ] - part_name = "sensors_sensor" + part_name = "sensor" subsystem_name = "sensors" } diff --git a/utils/BUILD.gn b/utils/BUILD.gn index afd130cbaf90134299c7b3b77dc534184a36a032..dc3e43c2d1914e3d5ddea81f1c35d51c1f1557aa 100755 --- a/utils/BUILD.gn +++ b/utils/BUILD.gn @@ -50,7 +50,7 @@ ohos_shared_library("libsensor_utils") { "safwk:system_ability_fwk", "samgr_L2:samgr_proxy", ] - part_name = "sensors_sensor" + part_name = "sensor" subsystem_name = "sensors" }