diff --git a/calendarmanager/BUILD.gn b/calendarmanager/BUILD.gn index 1ddd133e01862e690892aa10052cf22f4f7ae8ab..84b4e909ca30be657ae839199fbe6435125f25e9 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) { @@ -72,17 +72,17 @@ ohos_shared_library("calendarmanager") { public_deps = [] relative_install_dir = "module" - part_name = "calendardata" + part_name = "calendar_data" subsystem_name = "applications" } 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) {