Generate a makefile for Linux plugins (#51520)
When generating the plugin registrant for Linux, also generate a
makefile that can be included in the app-level Makefile to manage all of
the plugin targets and flags, exporting them in a few known variables
for use in the outer makefile.
Part of #32720
diff --git a/packages/flutter_tools/lib/src/project.dart b/packages/flutter_tools/lib/src/project.dart
index 06ca2d6..4a9944e 100644
--- a/packages/flutter_tools/lib/src/project.dart
+++ b/packages/flutter_tools/lib/src/project.dart
@@ -1003,6 +1003,9 @@
/// the build.
File get generatedMakeConfigFile => ephemeralDirectory.childFile('generated_config.mk');
+ /// Makefile with rules and variables for plugin builds.
+ File get generatedPluginMakeFile => managedDirectory.childFile('generated_plugins.mk');
+
/// The directory to write plugin symlinks.
Directory get pluginSymlinkDirectory => ephemeralDirectory.childDirectory('.plugin_symlinks');