flutter/dev/devicelab/lib/tasks
auto-submit[bot] a01eac78ee
Reverts "Reland #128236 "Improve build output for all platforms" (#145376)" (#145487)
Reverts: flutter/flutter#145376
Initiated by: loic-sharma
Reason for reverting: It caused the following post-submit failures:

1. https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8752928710548811665/+/u/run_run_release_test_windows/stdout
2. https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8752927564747697169/+/u/run_run_release_test_windows/stdout
Original PR Author: guidezpl

Reviewed By: {loic-sharma}

This change reverts the following previous change:
Reland #128236, reverted in https://github.com/flutter/flutter/pull/143125 and https://github.com/flutter/flutter/pull/145261.

This PR contains 3 additional commits, fixing post-submit tests on Android and Windows.

## Original description

Improves the build output:

1. Gives confirmation that the build succeeded, in green
1. Gives the path to the built executable, without a trailing period to make it slightly easier to cmd/ctrl+open
1. Gives the size of the built executable (when the built executable is self contained) 

### `apk`, `appbundle` 

<img width="607" alt="image" src="https://github.com/flutter/flutter/assets/6655696/ecc52abe-cd2e-4116-b22a-8385ae3e980d">

<img width="634" alt="image" src="https://github.com/flutter/flutter/assets/6655696/8af8bd33-c0bd-4215-9a06-9652ee019436">

### `macos`, `ios`, `ipa`
Build executables are self-contained and use a newly introduced `OperatingSystemUtils.getDirectorySize`.

<img width="514" alt="image" src="https://github.com/flutter/flutter/assets/6655696/b5918a69-3959-4417-9205-4f501d185257">

<img width="581" alt="image" src="https://github.com/flutter/flutter/assets/6655696/d72fd420-18cf-4470-9e4b-b6ac10fbcd50">

<img width="616" alt="image" src="https://github.com/flutter/flutter/assets/6655696/5f235ce1-252a-4c13-898f-139f6c7bc698">

### `windows`, `linux`, and `web`
Build executables aren't self-contained, and folder size can sometimes overestimate distribution size, therefore their size isn't mentioned (see discussion below).

<img width="647" alt="image" src="https://github.com/flutter/flutter/assets/6655696/7179e771-1eb7-48f6-b770-975bc073437b">

<img width="658" alt="image" src="https://github.com/flutter/flutter/assets/6655696/a6801cab-7b5a-4975-a406-f4c9fa44d7a2">

<img width="608" alt="image" src="https://github.com/flutter/flutter/assets/6655696/ee7c4125-a273-4a65-95d7-ab441edf8ac5">

### Size reporting
When applicable, the printed size matches the OS reported size.

- macOS
    <img width="391" alt="image" src="https://github.com/flutter/flutter/assets/6655696/881cbfb1-d355-444b-ab44-c1a6343190ce">
- Windows
    <img width="338" alt="image" src="https://github.com/flutter/flutter/assets/6655696/3b806def-3d15-48a9-8a25-df200d6feef7">
- Linux   
    <img width="320" alt="image" src="https://github.com/flutter/flutter/assets/6655696/89a4aa3d-2148-4f3b-b231-f93a057fee2b">

## Related issues
Part of #120127
Fixes https://github.com/flutter/flutter/issues/121401
2024-03-20 18:18:25 +00:00
..
analysis.dart Prepare dev (minus flutter_gallery) for use_super_parameters (#100516) 2022-03-29 12:52:42 -07:00
android_choreographer_do_frame_test.dart Funnel devicelab tests through utils process methods (#122161) 2023-03-08 19:44:40 +00:00
android_lifecycles_test.dart Fixed a lot of typos (#141431) 2024-01-12 22:10:25 +00:00
android_verified_input_test.dart Verified input test take 2 (#140836) 2024-01-03 01:17:08 +00:00
android_views_test.dart Migrate android views to devicelab. (#142081) 2024-01-24 23:11:12 +00:00
build_test_task.dart Copy artifacts to applicationBinaryPath when specified for build+test separation (#109879) 2022-08-23 16:32:39 +00:00
dart_plugin_registry_tests.dart Funnel devicelab tests through utils process methods (#122161) 2023-03-08 19:44:40 +00:00
entrypoint_dart_registrant.dart enable combinators_ordering (#107847) 2022-07-18 22:04:07 +00:00
flutter_tool_startup.dart Fix typos (#121171) 2023-02-23 19:43:21 +00:00
gallery.dart Added standard deviation to rasterizer results. (#131781) 2023-08-02 16:40:07 +00:00
hot_mode_tests.dart Add --no-dds to Mac_arm64_ios version of hot_mode_dev_cycle_ios__benchmark (#145335) 2024-03-18 18:51:26 +00:00
integration_tests.dart Start renaming by adding a new bringup: true as an Android emulator. (#142257) 2024-01-26 01:07:08 +00:00
microbenchmarks.dart Reland "Add a microbenchmark for text intrinsic height layout (#145007)" (#145037) 2024-03-13 00:52:24 +00:00
native_assets_test.dart Pin dart-lang/native dependencies (#137601) 2023-11-03 22:16:04 +00:00
new_gallery.dart [devicelab] migrate new gallery benchmarks to local copy. (#143545) 2024-02-15 22:32:38 +00:00
perf_tests.dart Platform view devicelab ad banner scroll list real ads (#145239) 2024-03-16 05:44:21 +00:00
platform_channels_benchmarks.dart Funnel devicelab tests through utils process methods (#122161) 2023-03-08 19:44:40 +00:00
plugin_tests.dart Reland "Add FlutterMacOS.xcframework artifact (#143244)" (#144275) 2024-02-28 20:09:54 +00:00
run_tests.dart Reverts "Reland #128236 "Improve build output for all platforms" (#145376)" (#145487) 2024-03-20 18:18:25 +00:00
web_benchmarks.dart Reland "Disentangle and align flutter build web --wasm flags (#143517)" (#143549) 2024-02-16 00:19:38 +00:00
web_dev_mode_tests.dart Funnel devicelab tests through utils process methods (#122161) 2023-03-08 19:44:40 +00:00