
This attempts to reland https://github.com/flutter/flutter/pull/126848 This was reverted because it made some unexpected changes to our perf measurements. After landing https://github.com/flutter/flutter/pull/127900, we have much less noise in our benchmarks, so I'd like to reland this and see if there is still a significant measurement difference.
Forbidden from release tests
This program compiles the Dart portions of a Flutter application to the
AOT format used for release builds, and verifies that debugging related types
are not retained. By default, it uses the //examples/hello_world
application
in this repository.
This harness is invoked from dev/bots/test.dart
. By default it uses the
examples/hello_world.dart
as if it were being compiled for Android arm64
release. New forbidden types may be added by adding more --forbidden-type
options in the runForbiddenFromReleaseTests
method in dev/bots/test.dart