From 0f76784df42e803aa3d0732bb7e8bc14df33bda4 Mon Sep 17 00:00:00 2001 From: zmx <1029211721@qq.com> Date: Mon, 18 Oct 2021 09:51:51 +0800 Subject: [PATCH] samgr part name rectify Signed-off-by: zmx <1029211721@qq.com> Change-Id: I568965b63338f9a6fc8fc712bad7c21989baf21b Signed-off-by: zmx <1029211721@qq.com> --- services/BUILD.gn | 2 +- services/time_manager/test/BUILD.gn | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/services/BUILD.gn b/services/BUILD.gn index 50a25e6..4b0b0c8 100755 --- a/services/BUILD.gn +++ b/services/BUILD.gn @@ -72,7 +72,7 @@ ohos_shared_library("time_service") { "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", "safwk:system_ability_fwk", - "samgr_L2:samgr_proxy", + "samgr_standard:samgr_proxy", ] part_name = "time_native" subsystem_name = "miscservices" diff --git a/services/time_manager/test/BUILD.gn b/services/time_manager/test/BUILD.gn index 33927f5..1845962 100644 --- a/services/time_manager/test/BUILD.gn +++ b/services/time_manager/test/BUILD.gn @@ -20,7 +20,7 @@ config("module_private_config") { "//base/miscservices/time/interfaces/innerkits/include", "unittest/include", "//foundation/ace/napi/interfaces/kits/napi", - ] + ] } module_output_path = "time_native/time_service" @@ -30,16 +30,14 @@ ohos_unittest("TimeServiceTest") { sources = [ "unittest/src/time_service_test.cpp" ] - configs = [ - ":module_private_config", - ] + configs = [ ":module_private_config" ] deps = [ "//base/miscservices/time/services:time_service", "//base/notification/ans_standard/frameworks/wantagent:wantagent_innerkits", "//foundation/ace/napi:ace_napi", - "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk:system_ability_fwk", "//foundation/distributedschedule/dmsfwk/services/dtbschedmgr:distributedschedsvr", + "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk:system_ability_fwk", "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy", "//third_party/googletest:gtest_main", "//utils/native/base:utils", @@ -55,7 +53,7 @@ ohos_unittest("TimeServiceTest") { "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", "safwk:system_ability_fwk", - "samgr_L2:samgr_proxy", + "samgr_standard:samgr_proxy", ] }