From fabd768d630604257538828612ff96756ea18263 Mon Sep 17 00:00:00 2001 From: Vitaliy Zarubin Date: Thu, 8 Jun 2023 13:26:04 +0300 Subject: [PATCH] [flutter_local_notifications] Remove aurora generated --- .../example/.gitignore | 3 ++ .../flutter/generated_plugin_registrant.cpp | 16 --------- .../flutter/generated_plugin_registrant.h | 12 ------- .../aurora/flutter/generated_plugins.cmake | 34 ------------------- 4 files changed, 3 insertions(+), 62 deletions(-) delete mode 100644 packages/flutter_local_notifications/flutter_local_notifications_aurora/example/aurora/flutter/generated_plugin_registrant.cpp delete mode 100644 packages/flutter_local_notifications/flutter_local_notifications_aurora/example/aurora/flutter/generated_plugin_registrant.h delete mode 100644 packages/flutter_local_notifications/flutter_local_notifications_aurora/example/aurora/flutter/generated_plugins.cmake diff --git a/packages/flutter_local_notifications/flutter_local_notifications_aurora/example/.gitignore b/packages/flutter_local_notifications/flutter_local_notifications_aurora/example/.gitignore index 24476c5..3db3823 100644 --- a/packages/flutter_local_notifications/flutter_local_notifications_aurora/example/.gitignore +++ b/packages/flutter_local_notifications/flutter_local_notifications_aurora/example/.gitignore @@ -42,3 +42,6 @@ app.*.map.json /android/app/debug /android/app/profile /android/app/release + +# Aurora generated +/aurora/flutter diff --git a/packages/flutter_local_notifications/flutter_local_notifications_aurora/example/aurora/flutter/generated_plugin_registrant.cpp b/packages/flutter_local_notifications/flutter_local_notifications_aurora/example/aurora/flutter/generated_plugin_registrant.cpp deleted file mode 100644 index d6335b1..0000000 --- a/packages/flutter_local_notifications/flutter_local_notifications_aurora/example/aurora/flutter/generated_plugin_registrant.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#include -#include - -#include "generated_plugin_registrant.h" - -void RegisterPlugins() { - Application::RegisterPlugins({ - std::make_shared(), - }); -} diff --git a/packages/flutter_local_notifications/flutter_local_notifications_aurora/example/aurora/flutter/generated_plugin_registrant.h b/packages/flutter_local_notifications/flutter_local_notifications_aurora/example/aurora/flutter/generated_plugin_registrant.h deleted file mode 100644 index 648dcb3..0000000 --- a/packages/flutter_local_notifications/flutter_local_notifications_aurora/example/aurora/flutter/generated_plugin_registrant.h +++ /dev/null @@ -1,12 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#ifndef GENERATED_PLUGIN_REGISTRANT -#define GENERATED_PLUGIN_REGISTRANT - -void RegisterPlugins(); - -#endif /* GENERATED_PLUGIN_REGISTRANT */ diff --git a/packages/flutter_local_notifications/flutter_local_notifications_aurora/example/aurora/flutter/generated_plugins.cmake b/packages/flutter_local_notifications/flutter_local_notifications_aurora/example/aurora/flutter/generated_plugins.cmake deleted file mode 100644 index e041b37..0000000 --- a/packages/flutter_local_notifications/flutter_local_notifications_aurora/example/aurora/flutter/generated_plugins.cmake +++ /dev/null @@ -1,34 +0,0 @@ -# -# Generated file, do not edit. -# -set(ROOT_PROJECT_BINARY_DIR "${PROJECT_BINARY_DIR}") - -function(add_library TARGET) - _add_library(${TARGET} ${ARGN}) - - if ( - "${TARGET}" MATCHES "^package_info_plus_aurora_platform_plugin$" OR - FALSE - ) - add_custom_command(TARGET ${TARGET} POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy - "$" - "${ROOT_PROJECT_BINARY_DIR}/bundle/lib/$") - endif() -endfunction() - -list(APPEND FLUTTER_PLATFORM_PLUGIN_LIST - package_info_plus_aurora -) - -list(APPEND FLUTTER_FFI_PLUGIN_LIST -) - -foreach(PLUGIN ${FLUTTER_PLATFORM_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${PLUGIN}/aurora plugins/${PLUGIN}) - target_link_libraries(${BINARY_NAME} PRIVATE ${PLUGIN}_platform_plugin) -endforeach(PLUGIN) - -foreach(FFI_PLUGIN ${FLUTTER_FFI_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${FFI_PLUGIN}/aurora plugins/${FFI_PLUGIN}) -endforeach(FFI_PLUGIN)