diff --git a/interfaces/kits/js/napi/system_time/BUILD.gn b/interfaces/kits/js/napi/system_time/BUILD.gn index 878efdfc54ed3ae5b01c621ef79869357c9bc163..3881f56ec49f3319fc4b0f72cc0269641db94ce9 100644 --- a/interfaces/kits/js/napi/system_time/BUILD.gn +++ b/interfaces/kits/js/napi/system_time/BUILD.gn @@ -41,7 +41,7 @@ ohos_shared_library("systemtime") { ] external_deps = [ - "aafwk_standard:want", + "ability_runtime:want", "appexecfwk_standard:appexecfwk_base", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", diff --git a/interfaces/kits/js/napi/system_timer/BUILD.gn b/interfaces/kits/js/napi/system_timer/BUILD.gn index adaa3d555c6105bd1c4d43f5e1abaab1803d00ed..60e15dca4992bed52c8ad9253c9a6bb13ee4c5fe 100644 --- a/interfaces/kits/js/napi/system_timer/BUILD.gn +++ b/interfaces/kits/js/napi/system_timer/BUILD.gn @@ -58,7 +58,7 @@ ohos_shared_library("systemtimer") { ] external_deps = [ - "aafwk_standard:want", + "ability_runtime:want", "appexecfwk_standard:appexecfwk_base", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", diff --git a/services/BUILD.gn b/services/BUILD.gn index 8f37439215173cc1a4423264042b50d8ab686084..611f35ad9954cbfc09cd7c1ea9ea421503f57880 100755 --- a/services/BUILD.gn +++ b/services/BUILD.gn @@ -65,8 +65,8 @@ ohos_shared_library("time_service") { "//utils/native/base:utils", ] external_deps = [ - "aafwk_standard:base", - "aafwk_standard:want", + "ability_runtime:base", + "ability_runtime:want", "appexecfwk_standard:appexecfwk_base", "appexecfwk_standard:libeventhandler", "ces_standard:cesfwk_innerkits", diff --git a/services/time_manager/test/BUILD.gn b/services/time_manager/test/BUILD.gn index 18459626ce551f7155114227d3f855ffa781ea6b..08da0f74fdcd7bce10f7a5b198e9da306ae36158 100644 --- a/services/time_manager/test/BUILD.gn +++ b/services/time_manager/test/BUILD.gn @@ -44,8 +44,8 @@ ohos_unittest("TimeServiceTest") { ] external_deps = [ - "aafwk_standard:base", - "aafwk_standard:want", + "ability_runtime:base", + "ability_runtime:want", "appexecfwk_standard:appexecfwk_base", "appexecfwk_standard:libeventhandler", "ces_standard:cesfwk_innerkits", diff --git a/utils/BUILD.gn b/utils/BUILD.gn index 6d32a78ae944fed199c98d87d29e859579e873a7..7e4662efbeb4db0f136e0b0ca1f88d8f322d9e5c 100644 --- a/utils/BUILD.gn +++ b/utils/BUILD.gn @@ -32,6 +32,7 @@ ohos_source_set("time_utils") { ] deps = [ + "//foundation/aafwk/standard/interfaces/innerkits/app_manager:app_manager", "//foundation/aafwk/standard/interfaces/innerkits/base:base", "//foundation/aafwk/standard/interfaces/innerkits/want:want", "//foundation/appexecfwk/standard/interfaces/innerkits/appexecfwk_core:appexecfwk_core",