flutter/packages/flutter_tools/bin
Chris Bracken d272a3ab80
Reland: [macos] add flavor options to tool commands (#119564)
* Reland: [macos] add flavor options to tool commands

Adds --flavor option to flutter run and flutter build. Running against
preexisting devicelab flavor tests for feature parity between macOS,
iOS, and Android.

This relands #118421 by alex-wallen which was reverted in #118858 due to
the following test failures:

The bail-out with "Host and target are the same. Nothing to install."
added in `packages/flutter_tools/lib/src/commands/install.dart`
triggered failures in the following tests, which unconditionally attempt
to install the built app, which is unsupported on desktop since the
host and target are the same:

* https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8791495589540422465/+/u/run_flutter_view_macos__start_up/test_stdout
* https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8791496218824259121/+/u/run_complex_layout_win_desktop__start_up/test_stdout
* https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8791496218165602641/+/u/run_flutter_gallery_win_desktop__start_up/test_stdout

Fixes #64088

* Partial revert: eliminate install check on desktop

The original flavour support patch included a check that triggered a
failure when flutter install is run on desktop OSes. This was
intentional, since the host and target devices are the same and
installation is unnecessary to launch the app on currently-supported
desktop OSes.

Note that Windows UWP apps *do* require installation to run, and we used
to have an install command for those apps, though UWP is no longer
supported.

Since that part of the change was orthogonal to flavour support itself,
I'm reverting that component of the change and we can deal with it
separately if so desired.
2023-01-31 17:37:46 +00:00
..
analysis_options.yaml Enable avoid_print lint. (#91444) 2021-10-07 16:48:04 -07:00
flutter_tools.dart Reland "Null safety migration of packages/flutter_tools/bin" (#111756) 2022-09-16 12:39:55 -07:00
fuchsia_asset_builder.dart Reland "Null safety migration of packages/flutter_tools/bin" (#111756) 2022-09-16 12:39:55 -07:00
fuchsia_tester.dart Fix null safety error in fuchsia_tester.dart (#112414) 2022-09-26 16:02:20 -07:00
macos_assemble.sh Reland: [macos] add flavor options to tool commands (#119564) 2023-01-31 17:37:46 +00:00
podhelper.rb Allow iOS and macOS plugins to share darwin directory (#115337) 2023-01-09 10:33:03 -08:00
tool_backend.bat License update (#45373) 2019-11-27 15:04:02 -08:00
tool_backend.dart add missing trailing commas in list/set/map literals (#102585) 2022-04-27 09:15:35 +02:00
tool_backend.sh License update (#45373) 2019-11-27 15:04:02 -08:00
xcode_backend.dart Show Xcode compilation errors at end of build, suppress stdout and stderr from Xcode (#113302) 2022-10-17 17:47:25 +00:00
xcode_backend.sh [flutter_tools] Port xcode backend to dart (#86753) 2021-07-27 14:39:05 -07:00