Moves the kernel compile step to the beginning of the AOT build in a
separate method. This is pre-factoring for iOS universal builds where
the kernel build happens once, but we then snapshot twice: once for
armv7 and once for arm64.
This also writes dependencies to build/kernel_compile.d rather than
build/aot/snapshot.d, since that is immediately overwritten by
gen_snapshot.
When forwarding all ports, run a test connection to each Dart VM instance, stopping port forwarding if the connection fails.
Also does the same for any batched calls that hit all Dart VM instances.
This is a simple refactoring with no functional changes. We now reuse
the existing _isBuildRequired() and _writeFingerprint() functions and
share them with script snapshotting rather than reimplementing their
logic.
Changes the signatures of both to support multiple output files (as
required for AOT snapshotting).
Fixes a bug introduced in 82f969ff0593e1da270bcc18cb0a495877f617df where
the depfile used for AOT snapshotting, useful in particular for skipping
gen_snapshot when inputs/outputs haven't changed since the last build.
Changes since the last roll:
```
e11905c6e Add tooltip method to Android AccessibilityBridge (#5103)
2ee36e270 Always enable verbose logging on fuchsia. (#5104)
131349f83 Update flutter runner process name to reflect last running shell. (#5102)
ad9826cbb Roll src/third_party/skia/ c79e2d155..47ed6f10e (10 commits; 1 trivial rolls) (#5100)
7617d2889 libtxt: post-process glyph positions in order to accurately right-justify text (#5093)
895c965ce Set file modified callback. (#5096)
956f3eeca Roll src/third_party/skia/ 5c9369eb1..c79e2d155 (7 commits) (#5099)
6e5112214 Roll src/third_party/skia/ 643ab1bf5..5c9369eb1 (1 commit; 1 trivial rolls) (#5098)
a9180ca20 Roll src/third_party/skia/ 6b043cb9c..643ab1bf5 (3 commits; 3 trivial rolls) (#5097)
82d461049 Roll src/third_party/skia/ 1366282bc..6b043cb9c (2 commits) (#5095)
fb4926e65 Roll src/third_party/skia/ 580aee2fa..1366282bc (2 commits) (#5094)
c249b7026 Path metrics/getBounds/combinations again (#4957)
df255b828 Roll src/third_party/skia/ de5cffbc4..580aee2fa (16 commits) (#5092)
e44e1b49f Initial plugin support for background downloads + content fetching (#5082)
78f8a0f45 [fuchsia] Changes for running Dart 2 on flutter_runner. (#5080)
cbec56a3d Roll src/third_party/skia/ 77e95f706..de5cffbc4 (14 commits) (#5090)
8da9398ed Throw an exception if a secondary isolate tries to send a platform message (#5069)
```
This is required for iOS debug builds, but unused otherwise. In theory,
Android debug builds could be run in this mode, but this is historically
untested and adds unnecessary complexity to the code. If ad-hoc testing
is required, it can be patched in when necessary.
This re-lands 8c4f0c0d215ca3219923c60fce2cd7c7528acf9b with a fix to
xcode_backend.sh to eliminate the use of --interpreter.
This is required for iOS debug builds, but unused otherwise. In theory,
Android debug builds could be run in this mode, but this is historically
untested and adds unnecessary complexity to the code. If ad-hoc testing
is required, it can be patched in when necessary.
The zero-width space character may not be supported by the font requested in
the text style. If that happens, then libtxt will fall back to another font
to render that character, resulting in text metrics that do not match the
intended font.
Fixes https://github.com/flutter/flutter/issues/16257
This fixes and re-lands 4bb7496b6243b13e14712b3b5702928c831a329f, which
was reverted in ceade39c83cf0832b53c4e0fbf17eee6081201ca due to test
failures caused by a bad rebase.
This simplifies tests by allowing the test author to express the outputs
they'd like the snapshotter to generate without creating a whole new
instance and context with the additional overrides.
Also sets the default set of outputs to none, setting them instead in
the setUp function for script snapshotting.
flutter/engine@6a93ef1 Call SkGraphics::Init earlier on Fuchsia.
flutter/engine@f1234eb Add disabled failing test for floating point errors on matrix decomposition.
flutter/engine@ac68263 Hold a global reference to the AssetManager Java object backing the APKAssetProvider
flutter/engine@0e95bb2 Roll src/third_party/skia/ 2d2c1e32c..058f2e6ed (35 commits; 1 trivial rolls)
flutter/engine@3e20562 Roll src/third_party/skia/ 5209d7fce..2d2c1e32c (42 commits; 1 trivial rolls)
flutter/engine@a20fd83 [fuchsia] Remove dead package file generation from core snapshots.
flutter/engine@79b9ffb Fixup Fuchsia content handler post shell refactor.