From 954108a467f9bd1d90eeedd4d5e950ce1e126dce Mon Sep 17 00:00:00 2001 From: Calcitem Date: Wed, 17 Feb 2021 10:37:47 +0800 Subject: [PATCH] flutter: Windows: Remove generated files --- .../flutter/generated_plugin_registrant.cc | 12 ------------ .../flutter/generated_plugin_registrant.h | 13 ------------- .../windows/flutter/generated_plugins.cmake | 16 ---------------- 3 files changed, 41 deletions(-) delete mode 100644 src/ui/flutter/windows/flutter/generated_plugin_registrant.cc delete mode 100644 src/ui/flutter/windows/flutter/generated_plugin_registrant.h delete mode 100644 src/ui/flutter/windows/flutter/generated_plugins.cmake diff --git a/src/ui/flutter/windows/flutter/generated_plugin_registrant.cc b/src/ui/flutter/windows/flutter/generated_plugin_registrant.cc deleted file mode 100644 index ddfcf7c3..00000000 --- a/src/ui/flutter/windows/flutter/generated_plugin_registrant.cc +++ /dev/null @@ -1,12 +0,0 @@ -// -// Generated file. Do not edit. -// - -#include "generated_plugin_registrant.h" - -#include - -void RegisterPlugins(flutter::PluginRegistry* registry) { - UrlLauncherPluginRegisterWithRegistrar( - registry->GetRegistrarForPlugin("UrlLauncherPlugin")); -} diff --git a/src/ui/flutter/windows/flutter/generated_plugin_registrant.h b/src/ui/flutter/windows/flutter/generated_plugin_registrant.h deleted file mode 100644 index 9846246b..00000000 --- a/src/ui/flutter/windows/flutter/generated_plugin_registrant.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// Generated file. Do not edit. -// - -#ifndef GENERATED_PLUGIN_REGISTRANT_ -#define GENERATED_PLUGIN_REGISTRANT_ - -#include - -// Registers Flutter plugins. -void RegisterPlugins(flutter::PluginRegistry* registry); - -#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/src/ui/flutter/windows/flutter/generated_plugins.cmake b/src/ui/flutter/windows/flutter/generated_plugins.cmake deleted file mode 100644 index 411af46d..00000000 --- a/src/ui/flutter/windows/flutter/generated_plugins.cmake +++ /dev/null @@ -1,16 +0,0 @@ -# -# Generated file, do not edit. -# - -list(APPEND FLUTTER_PLUGIN_LIST - url_launcher_windows -) - -set(PLUGIN_BUNDLED_LIBRARIES) - -foreach(plugin ${FLUTTER_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin}) - target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) - list(APPEND PLUGIN_BUNDLED_LIBRARIES $) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) -endforeach(plugin)