diff --git a/frameworks/native/sensor/BUILD.gn b/frameworks/native/sensor/BUILD.gn index 85ea0e72a8e377d353d99ca9717fd3133e070704..35fa0fe1b97def4c0ccb9f8217c185c495f8e3f7 100755 --- a/frameworks/native/sensor/BUILD.gn +++ b/frameworks/native/sensor/BUILD.gn @@ -53,7 +53,7 @@ ohos_shared_library("libsensor_native") { "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", "safwk:system_ability_fwk", - "samgr_L2:samgr_proxy", + "samgr_standard:samgr_proxy", ] part_name = "sensor" diff --git a/frameworks/native/sensor/test/unittest/common/BUILD.gn b/frameworks/native/sensor/test/unittest/common/BUILD.gn index 143de54dd6cceb58b3111af9ede8b3b297da0a9c..5c1464511cc32cac0effb9130f13dee1cb644224 100755 --- a/frameworks/native/sensor/test/unittest/common/BUILD.gn +++ b/frameworks/native/sensor/test/unittest/common/BUILD.gn @@ -45,7 +45,7 @@ ohos_unittest("SensorNativeCommonTest") { "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", "safwk:system_ability_fwk", - "samgr_L2:samgr_proxy", + "samgr_standard:samgr_proxy", ] } @@ -80,7 +80,7 @@ ohos_unittest("SensorDfxTest") { #"communication_L2:ipc_core", "ipc:ipc_core", "safwk:system_ability_fwk", - "samgr_L2:samgr_proxy", + "samgr_standard:samgr_proxy", ] } diff --git a/frameworks/native/sensor/test/unittest/phone/BUILD.gn b/frameworks/native/sensor/test/unittest/phone/BUILD.gn index 112320b24feffc770bfd5e0c924b4f9c5e078cbd..8fb67c69b49373a8e7fe95ada574730a3a4fdc26 100755 --- a/frameworks/native/sensor/test/unittest/phone/BUILD.gn +++ b/frameworks/native/sensor/test/unittest/phone/BUILD.gn @@ -48,7 +48,7 @@ ohos_unittest("SensorNativeTest") { #"communication_L2:ipc_core", "ipc:ipc_core", "safwk:system_ability_fwk", - "samgr_L2:samgr_proxy", + "samgr_standard:samgr_proxy", ] } diff --git a/services/sensor/BUILD.gn b/services/sensor/BUILD.gn index 140afe73c7276a849e6e57b61dc2ad192e08364e..6ea5e1916e901df04703d27db9a3b4f99e7d4097 100755 --- a/services/sensor/BUILD.gn +++ b/services/sensor/BUILD.gn @@ -57,7 +57,7 @@ ohos_shared_library("libsensor_service") { "ipc:ipc_core", "permission_standard:libpermissionsdk_standard", "safwk:system_ability_fwk", - "samgr_L2:samgr_proxy", + "samgr_standard:samgr_proxy", ] part_name = "sensor" subsystem_name = "sensors" diff --git a/services/sensor/test/unittest/phone/BUILD.gn b/services/sensor/test/unittest/phone/BUILD.gn index 7b1f6b25aceaa3d19b79dacc17c92a8354248002..b0bcaa952d7a4bcb3bbb379cdbcdb4d2164261d6 100755 --- a/services/sensor/test/unittest/phone/BUILD.gn +++ b/services/sensor/test/unittest/phone/BUILD.gn @@ -44,7 +44,7 @@ ohos_unittest("SensorDataProcesserTest") { external_deps = [ "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", - "samgr_L2:samgr_proxy", + "samgr_standard:samgr_proxy", ] } @@ -76,7 +76,7 @@ ohos_unittest("SensorProxyTest") { "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", "safwk:system_ability_fwk", - "samgr_L2:samgr_proxy", + "samgr_standard:samgr_proxy", ] } @@ -108,7 +108,7 @@ ohos_unittest("SensorServiceImplTest") { "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", "safwk:system_ability_fwk", - "samgr_L2:samgr_proxy", + "samgr_standard:samgr_proxy", ] } diff --git a/utils/BUILD.gn b/utils/BUILD.gn index dc3e43c2d1914e3d5ddea81f1c35d51c1f1557aa..a5c46b3a150b9ee42958161592f4e2fe54339543 100755 --- a/utils/BUILD.gn +++ b/utils/BUILD.gn @@ -48,7 +48,7 @@ ohos_shared_library("libsensor_utils") { "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", "safwk:system_ability_fwk", - "samgr_L2:samgr_proxy", + "samgr_standard:samgr_proxy", ] part_name = "sensor" subsystem_name = "sensors"