From d44a939cccfef4c191313ac7b4c9096dbb050af7 Mon Sep 17 00:00:00 2001 From: h00514358 Date: Fri, 8 Oct 2021 02:43:24 +0000 Subject: [PATCH] Signed-off-by:hellohyh001 Signed-off-by: h00514358 --- frameworks/native/sensor/BUILD.gn | 2 +- interfaces/native/BUILD.gn | 2 +- interfaces/plugin/BUILD.gn | 2 +- interfaces/plugin/test/unittest/BUILD.gn | 4 ++-- ohos.build | 2 +- sa_profile/BUILD.gn | 2 +- services/sensor/BUILD.gn | 2 +- utils/BUILD.gn | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/frameworks/native/sensor/BUILD.gn b/frameworks/native/sensor/BUILD.gn index 6210e4a1..85ea0e72 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 7f8cc5db..8bdb073f 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 0b761ffa..3bf528ca 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 7c121c8d..a49fc594 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 85db58cd..09bb335f 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 1df10558..ca54c21d 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 1ca86991..140afe73 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 afd130cb..dc3e43c2 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" } -- Gitee