diff --git a/bundle.json b/bundle.json index b3f0a9292109b54fd58fd56671a913a60a94347c..1770a326f52042fabfdaf023ad0dda213dab88a5 100644 --- a/bundle.json +++ b/bundle.json @@ -61,7 +61,7 @@ "multimedia_image_standard", "hiviewdfx_hilog_native", "appexecfwk_standard", - "time_native", + "time_service", "common_event_service", "napi", "safwk", diff --git a/frameworks/core/BUILD.gn b/frameworks/core/BUILD.gn index ea5bb5a5d3117f0fc0420a6312e86a27d12a1bdf..6ee9aa90e56a6bd053e73de8fedf194f91680ca0 100644 --- a/frameworks/core/BUILD.gn +++ b/frameworks/core/BUILD.gn @@ -97,7 +97,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 cdf752d7e4c898331b01696c0f6b5b82164c156a..4a564f6eb0252aca36f02eca01dc343bf18a6de8 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 f819ff52040a9c30cb5927524725ba74883a92ff..c2c2d095690e7870d20c7c0766fc1036a9de1f95 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 c3f8e9130a4aeed2c3ebf1625cae7b7e31b7a7e1..eba99d01b58a836ddd966a4b7d27aa1e45fedf8e 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) {