[flutter_tools] shrink fingerprinter API to currently used subset (#63840)

This commit is contained in:
Jonah Williams
2020-08-18 17:01:06 -07:00
committed by GitHub
parent 39c735f408
commit a42c56791b
3 changed files with 69 additions and 430 deletions

View File

@@ -13,7 +13,11 @@ import '../project.dart';
/// For a given build, determines whether dependencies have changed since the
/// last call to processPods, then calls processPods with that information.
Future<void> processPodsIfNeeded(XcodeBasedProject xcodeProject, String buildDirectory, BuildMode buildMode) async {
Future<void> processPodsIfNeeded(
XcodeBasedProject xcodeProject,
String buildDirectory,
BuildMode buildMode,
) async {
final FlutterProject project = xcodeProject.parent;
// Ensure that the plugin list is up to date, since hasPlugins relies on it.
await refreshPluginsList(project);
@@ -29,7 +33,8 @@ Future<void> processPodsIfNeeded(XcodeBasedProject xcodeProject, String buildDir
xcodeProject.podfile.path,
xcodeProject.generatedXcodePropertiesFile.path,
],
properties: <String, String>{},
fileSystem: globals.fs,
logger: globals.logger,
);
final bool didPodInstall = await globals.cocoaPods.processPods(