flutter/packages
auto-submit[bot] 187ec75eb5
Reverts "Expose build mode in environment of asset transformer processes (#144752)" (#144957)
Reverts: flutter/flutter#144752
Initiated by: andrewkolos
Reason for reverting: compilation issue has turned the tree red
Original PR Author: andrewkolos

Reviewed By: {christopherfujino}

This change reverts the following previous change:
In service of https://github.com/flutter/flutter/issues/143348

When invoking a package to transform an asset, we set `FLUTTER_BUILD_MODE` to the CLI name of the build mode being used. Inspired by https://github.com/flutter/flutter/issues/101077#issuecomment-1890379501:

> Do transformers know whether they get executed in debug or release mode? I kinda imagine that being useful. Ex: There's a transformer that optimizes the file size of images. Depending on the amount and size of the images, that could take a significant amount of time. Therefore, I might want to only execute it in release builds.

Note for the reviewer: the interesting part of this change can be found in the commit [set environment variable to build mode when running asset transformer…](579912d470). The rest of the change is updating call sites with a new argument.
2024-03-11 21:00:17 +00:00
..
flutter Skip test temporarily until headingLevel is added in engine (issue 41… (#135077) 2024-03-11 16:31:21 +00:00
flutter_driver Upgrade vm_service. (#144845) 2024-03-08 17:09:07 -08:00
flutter_goldens Rename isAvailableForEnvironment to isForEnvironment (#143176) (#144858) 2024-03-10 06:20:38 +00:00
flutter_localizations Upgrade vm_service. (#144845) 2024-03-08 17:09:07 -08:00
flutter_test Upgrade vm_service. (#144845) 2024-03-08 17:09:07 -08:00
flutter_tools Reverts "Expose build mode in environment of asset transformer processes (#144752)" (#144957) 2024-03-11 21:00:17 +00:00
flutter_web_plugins Upgrade vm_service. (#144845) 2024-03-08 17:09:07 -08:00
fuchsia_remote_debug_protocol Upgrade vm_service. (#144845) 2024-03-08 17:09:07 -08:00
integration_test Upgrade vm_service. (#144845) 2024-03-08 17:09:07 -08:00
analysis_options.yaml Unify analysis options (#108462) 2022-07-28 09:07:49 -07:00