From 8359314b748a95b5893a5e354195491eef9d5fd9 Mon Sep 17 00:00:00 2001 From: z00797030 Date: Wed, 26 Jul 2023 10:16:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?part=20name=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: z00797030 --- calendarmanager/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendarmanager/BUILD.gn b/calendarmanager/BUILD.gn index 1ddd133..adf4cde 100644 --- a/calendarmanager/BUILD.gn +++ b/calendarmanager/BUILD.gn @@ -72,7 +72,7 @@ ohos_shared_library("calendarmanager") { public_deps = [] relative_install_dir = "module" - part_name = "calendardata" + part_name = "calendar_data" subsystem_name = "applications" } -- Gitee From 5e5d5ba73d8b739583d03945824690bec7e736f1 Mon Sep 17 00:00:00 2001 From: z00797030 Date: Wed, 26 Jul 2023 14:25:46 +0800 Subject: [PATCH 2/2] =?UTF-8?q?gn=E6=A0=BC=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: z00797030 --- calendarmanager/BUILD.gn | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/calendarmanager/BUILD.gn b/calendarmanager/BUILD.gn index adf4cde..84b4e90 100644 --- a/calendarmanager/BUILD.gn +++ b/calendarmanager/BUILD.gn @@ -26,20 +26,20 @@ config("calendarmanager_public_config") { ohos_shared_library("calendarmanager") { sources = [ - "./napi/src/module_register.cpp", - "./napi/src/module_init.cpp", - "./napi/src/event_filter_napi.cpp", + "./napi/src/calendar_enum_napi.cpp", "./napi/src/calendar_manager_napi.cpp", "./napi/src/calendar_napi.cpp", - "./napi/src/napi_util.cpp", - "./napi/src/napi_queue.cpp", + "./napi/src/event_filter_napi.cpp", + "./napi/src/module_init.cpp", + "./napi/src/module_register.cpp", "./napi/src/napi_env.cpp", - "./napi/src/calendar_enum_napi.cpp", + "./napi/src/napi_queue.cpp", + "./napi/src/napi_util.cpp", + "./native/src/calendar_env.cpp", + "./native/src/data_share_helper_manager.cpp", + "./native/src/event_filter.cpp", "./native/src/native_calendar.cpp", "./native/src/native_calendar_manager.cpp", - "./native/src/event_filter.cpp", - "./native/src/data_share_helper_manager.cpp", - "./native/src/calendar_env.cpp", "./native/src/native_util.cpp", ] @@ -52,16 +52,16 @@ ohos_shared_library("calendarmanager") { public_configs = [ ":calendarmanager_public_config" ] external_deps = [ - "ability_base:zuri", "ability_base:want", - "ability_runtime:napi_base_context", - "ability_runtime:abilitykit_native", + "ability_base:zuri", "ability_runtime:ability_context_native", "ability_runtime:ability_manager", + "ability_runtime:abilitykit_native", + "ability_runtime:napi_base_context", "c_utils:utils", "data_share:datashare_common", "data_share:datashare_consumer", - "ipc:ipc_single" + "ipc:ipc_single", ] if (is_standard_system) { @@ -78,11 +78,11 @@ ohos_shared_library("calendarmanager") { ohos_static_library("calendarmanager_static") { sources = [ + "./native/src/calendar_env.cpp", + "./native/src/data_share_helper_manager.cpp", + "./native/src/event_filter.cpp", "./native/src/native_calendar.cpp", "./native/src/native_calendar_manager.cpp", - "./native/src/event_filter.cpp", - "./native/src/data_share_helper_manager.cpp", - "./native/src/calendar_env.cpp", "./native/src/native_util.cpp", ] @@ -95,16 +95,16 @@ ohos_static_library("calendarmanager_static") { public_configs = [ ":calendarmanager_public_config" ] external_deps = [ - "ability_base:zuri", "ability_base:want", - "ability_runtime:napi_base_context", - "ability_runtime:abilitykit_native", + "ability_base:zuri", "ability_runtime:ability_context_native", "ability_runtime:ability_manager", + "ability_runtime:abilitykit_native", + "ability_runtime:napi_base_context", "c_utils:utils", "data_share:datashare_common", "data_share:datashare_consumer", - "ipc:ipc_single" + "ipc:ipc_single", ] if (is_standard_system) { -- Gitee