diff --git a/bundle.json b/bundle.json index 0677163492e7c5a4ce6d14bd95c2022a4fc26834..1369d3a0da04f5b378928e8c5c1db6640dc881e4 100644 --- a/bundle.json +++ b/bundle.json @@ -63,7 +63,7 @@ "relational_store", "device_usage_statistics", "bundle_framework", - "time_native", + "time_service", "safwk", "ability_runtime", "ability_base", diff --git a/frameworks/core/BUILD.gn b/frameworks/core/BUILD.gn index 4a432b1d11f0ba8ba54388348e79ba7053cc5922..c0e116f07e3f995abf94d58ceb73e2a97f612fef 100644 --- a/frameworks/core/BUILD.gn +++ b/frameworks/core/BUILD.gn @@ -96,7 +96,7 @@ ohos_shared_library("ans_core") { "os_account:os_account_innerkits", "relational_store:native_rdb", "samgr_standard:samgr_proxy", - "time_native:time_service", + "time_service:time_service", ] part_name = "${component_name}" diff --git a/services/ans/BUILD.gn b/services/ans/BUILD.gn index 85000ca1847de71271b7eba8f773307546838738..c106f529a8de10cd18f93960be2f3de4e9f7ee9f 100644 --- a/services/ans/BUILD.gn +++ b/services/ans/BUILD.gn @@ -83,7 +83,7 @@ ohos_shared_library("libans") { "multimedia_image_standard:image_native", "multimedia_player_framework:media_client", "os_account:os_account_innerkits", - "time_native:time_service", + "time_service:time_service", "window_manager:libdm", ] external_deps += component_external_deps diff --git a/services/ans/test/unittest/BUILD.gn b/services/ans/test/unittest/BUILD.gn index 6a92edaf114a941e10097c648c4337f819d7a650..f79fbcb4e7616074dfee9531b51b043a9bea9492 100644 --- a/services/ans/test/unittest/BUILD.gn +++ b/services/ans/test/unittest/BUILD.gn @@ -98,7 +98,7 @@ ohos_unittest("ans_unit_test") { "os_account:os_account_innerkits", "safwk:system_ability_fwk", "samgr_standard:samgr_proxy", - "time_native:time_service", + "time_service:time_service", ] if (device_usage) { diff --git a/services/test/moduletest/BUILD.gn b/services/test/moduletest/BUILD.gn index 3481ca0a71bda303005b0eb1f391e45431dce431..e3a7f31a6b9881d29e3a8b7a20c4ca57e9e02b4b 100644 --- a/services/test/moduletest/BUILD.gn +++ b/services/test/moduletest/BUILD.gn @@ -84,7 +84,7 @@ ohos_moduletest("ans_module_test") { "os_account:os_account_innerkits", "safwk:system_ability_fwk", "samgr_standard:samgr_proxy", - "time_native:time_service", + "time_service:time_service", ] if (device_usage) {