diff --git a/interfaces/innerkits/BUILD.gn b/interfaces/innerkits/BUILD.gn index db852c3c6e5cc1e2878933550d4c1a4a8ff367cf..a9d1860160581ba899951e6f6dae93f863e36f6c 100644 --- a/interfaces/innerkits/BUILD.gn +++ b/interfaces/innerkits/BUILD.gn @@ -51,7 +51,7 @@ ohos_shared_library("powermgr_client") { "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", "safwk:system_ability_fwk", - "samgr_L2:samgr_proxy", + "samgr_standard:samgr_proxy", ] part_name = "${powermgr_native_part_name}" diff --git a/services/BUILD.gn b/services/BUILD.gn index 6d240a2462520abf06bb4dbb507d38f09c147fcf..b73f67425f7ee06bb1a9ece9776224888e3b68f8 100644 --- a/services/BUILD.gn +++ b/services/BUILD.gn @@ -64,7 +64,7 @@ ohos_shared_library("powermgrservice") { "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", "safwk:system_ability_fwk", - "samgr_L2:samgr_proxy", + "samgr_standard:samgr_proxy", ] part_name = "${powermgr_native_part_name}" diff --git a/services/native/test/unittest/BUILD.gn b/services/native/test/unittest/BUILD.gn index b4504f2c2192fc3962ed41f6ff332b0a36ad47d1..c1d114ab55136c2194b18f2792791c59de28adc5 100644 --- a/services/native/test/unittest/BUILD.gn +++ b/services/native/test/unittest/BUILD.gn @@ -35,7 +35,7 @@ deps_ex = [ "ipc:ipc_core", "hiviewdfx_hilog_native:libhilog", "safwk:system_ability_fwk", - "samgr_L2:samgr_proxy", + "samgr_standard:samgr_proxy", ] ##############################unittest##########################################