This updates the test to match the engine API change introduced in:
https://github.com/flutter/engine/pull/6081
This also rolls the engine, the roll includes only the relevant engine commit:
```
091492601 Allow passing extra creation parameters for embedded Android views. (#6081)
```
This includes the following changes
c62248bdd Roll src/third_party/skia 82cf64a0d317..33d5394d08f6 (14 commits) (#6068)
b0fb3e660 Roll src/third_party/skia 96597c22c344..82cf64a0d317 (12 commits) (#6067)
ea8b949a7 Roll src/third_party/skia 4d727c560b58..96597c22c344 (27 commits) (#6066)
4fde39583 Roll Dart to version ccb16f72824374163562364bf19dd18e8a882fab (#6065)
140a5b757 Alllow access to Flutter engine, Dart & Skia versions in the Shell API. (#6060)
Contains the following changes:
4fde39583 Roll Dart to version ccb16f72824374163562364bf19dd18e8a882fab (#6065)
140a5b757 Alllow access to Flutter engine, Dart & Skia versions in the Shell API. (#6060)
* Reland "Roll engine to version b148e628ec86b3a9a0382e0bcfae73f0390a8232 (#20427)"
This is a re-land with downgraded `package:flutter_gallery_assets`
version.
* Downgrade package:flutter_gallery_assets to 0.1.4
* Change engine.version to 81baff97c29bb08cbf8453a3f9042c5813f84ad3 (which contains an additional fix)
* Change engine.version to e3687f70c7ece72000b32ee1b3c02755ba5361ac (since mac tarballs are corrupted on earlier commit)
Reason for revert: The package:flutter_gallery_assets has removed some images which are required for the examples/flutter_gallery, so the gallery build is failing (only discovered after landing, since gallery doesn't seem to get built during github PR presubmit checks)
This CL
* rolls `engine.version` to flutter/engine@b148e628 (which includes dart sdk 2.1.0-dev)
* rolls `goldens.version` to flutter/goldens@6c45fafdf (which includes updates due to skia changes in engine)
* changes `platform.dill` to `platform_strong.dill` in various places due to flutter/engine@a84b210b
* adds explicit `environment: sdk: ">=2.0.0-dev.68 < 3.0.0"` constraints to `pubspec.yaml` and `pubspec.yaml.tmpl` files (since pub defaults to `<2.0.0` if omitted)
* upgrades to newer versions of various 3rd party packages (to ensure transitive dependencies have `<3.0.0` sdk constraint)
This includes the following changes :
e54bc4ea1 Fixed invalid call site of runWithEntrypointAndCallback (#5984)
764884b91 Removed callback for HeadlessDartRunner (#5983)
91537abba Revert "Temporarily add travis/analyze.sh back for Chrome bot (#5961)" (#5966)
3501acb70 Roll src/third_party/skia 9c9611fcc1bb..0d5d0659a684 (7 commits) (#5980)
Includes the following changes :
377793180 Roll Dart to version eab492385c3f345cb2f44f3b702b0e30e4a9c107 (#5979)
8a7af11f7 Fix IsolateStart event kind. (#5978)
Includes the following changes:
78f8bcace Annotate deprecated methods with @Deprecated (#5976)
4c7e5d5a1 Roll src/third_party/skia 0c5b0b1dd692..9c9611fcc1bb (13 commits) (#5977)
4208f8404 make ios text affinity behavior match android (#5971)
69b19a5f5 Roll src/third_party/skia f5402004c4a6..0c5b0b1dd692 (11 commits) (#5975)
8137d3411 Roll src/third_party/skia 4856f5fa596d..f5402004c4a6 (1 commits) (#5974)
cbe960d90 Roll src/third_party/skia 20714bdf90f3..4856f5fa596d (1 commits) (#5973)
f05a4ccaa Roll src/third_party/skia faeef7837210..20714bdf90f3 (11 commits) (#5970)
14af0348b Complete the AndroidView resize call only after a new frame is ready. (#5968)
ecbb2b28d Call drawPaint instead of drawPath if there's clip (flutter/engine#5937)
597a50849 Roll src/third_party/skia cdfa16d086b8..4c3b63e289c5 (9 commits) (flutter/engine#5936)
715b64ee3 Roll src/third_party/skia 1400d38e0863..cdfa16d086b8 (10 commits) (flutter/engine#5934)
ffbafc852 Flush all embedded Android views on hot restart. (flutter/engine#5929)
9fe6a573e Roll src/third_party/skia 578ef2847b72..1400d38e0863 (7 commits) (flutter/engine#5933)
3b66f20d9 Don't drop MotionEvents with unknown tool type. (flutter/engine#5931)
391ac2f95 Roll src/third_party/skia 64cc576b1fa7..578ef2847b72 (20 commits) (flutter/engine#5930)
Goldens:
64b7a3a Add updated golden files
cb1fa8a Update golden files of PhysicalModel and PhysicalShape
3baed8d Add a goldens package for the embedded Android views integration test.
flutter/engine@4893b07 Roll src/third_party/skia e43024a5bab7..64cc576b1fa7 (1 commits)
flutter/engine@aa7326a Roll src/third_party/skia ed8bc196bd56..e43024a5bab7 (1 commits)
This roll also switches flutter_tester to use the new minimal ICU data config, which are already in use for app builds. This unifies the ICU data in use. Everything now uses the flutter-specific minimal configuration.
* Dart SDK roll for 8/1/2018
Dart SDK roll and disabling of return warnings as errors.
List of commits included in this roll:
8bad5c7b29 [vm/compiler] Non-speculative X64 long division/remainder.
918cda18c5 Add docs about sourcemap extensions
329e029bd6 Fixes dart-lang/sdk#34035
12326c10e1 Store constructor field initializera when the target is not a field.
50da4b8d92 Skip ShadowInvalidFieldInitializer while resynthesizing constructor initializers.
8810b6ecc7 Translate kernel.Instantiation in constant expressions.
cb7341fceb Initial support for inlining-data in source-maps.
4206131030 Fix tracking of onStep position of arguments to new expression
384b0a9a73 Issue 34038. Fix resynthesizing imports when mixed with exports.
ba7dbcf412 Update the test output processor to produce more useful analysis
4b2ee8e9a5 Improve catch clause recovery
66500de4dc More fixes to the CFE integration tests
3f2251986d CC sra also in changes to compiler files and tests
4734c55882 Report error on unsupported operators
00e3109368 [VM] Adjust flags for creating depfiles
07c462b471 [vm] Refactoring: extract BaseFlowGraphBuilder to a separate file
ff9167ff7b Fix parseDirectives to recognize metadata
079bebb78b [ VM ] Added missing token position for assert statements
174649b9be [gardening] Update status of dissasemble_test on Windows
8c5aca7d4d Remove the Factory interface
3dc201e168 Update ChangeBuilder to not include empty edits (Take 2)
18047b2757 Refactor test.dart by changing class Configuration to TestConfiguration
7373d38a31 Update status for Dart2js minified CSP on Chrome with fast startup
61148eade8 Update mixin-declaration feature specification.
a98feb0f01 [VM interpreter] Fix exception handling. Convert bytecode indices to pc offsets ....
da2ed2fd59 Don't ignore runtime cast failures on Map<K,V>.
3d8ca8e566 [gardening] Increase debug app-jitk timeout
0313f7bd66 [gardening] Update status file for failing test
6c39bc38f3 Clear ShadowX references that are not required after compilation.
05b9bbd2b5 Remove the dart1 version of the analysis server snapshot.
9107399190 Add back in the analysis server training.
9fb6c09015 Store reference/type for invalid types.
21db860271 Remove non-strong dart2js builders from test_matrix.json
2e7b0a13f1 Add support for accessing all of the created contexts
73663ae7c6 Allow void on the RHS of null coalescing expressions
17cb6d95d1 Don't remember TypeEnvironment in resolution results.
72960de5f9 [VM] Fix one more place where bound error allocation happened on BG thread in new space
6ad79ff4bd Update status file for tests passing under CFE
23ba527735 [VM] Ensure to alloate bound errors in old space on BG compiler
fe8052428b Remove CONTENT_MODIFIED from spec/test for getSignature
c4c847a45c Revert "[CQ] Remove pkg-linux-release from the CQ trybots until it is fixed"
beaf05efa3 [vm] When generating JITDUMP also dump IR and attach it as source to code.
24158b773d [vm/compiler] Do not LICM LoadStaticField for uninitialized fields.
68bfaf3ac3 [vm/compiler] Avoid crashes when canonicalizing unreachable AssertAssignable.
5a45b2a62b [infra] Upgrade homebrew dependencies to work on Dart 2
8e287dc037 [VM] Only add direct implementor when reading script snapshots if ....
6e81d74fcc [VM] Optimize generation of type testing stubs in JIT mode.
058510eeab fix#28233, add hint for missing returns to function expressions
4482d13ff7 [vm/compiler] Bug fix in 64-bit MOD (%) operator.
* Try ignore instead of commenting out.
* Also disable this in package analysis options.
```
7d17da76d Package Skia licenses into a separate file from other third party libraries (#5861)
d2d8bf394 Pass touch events to embedded Android views with dispatchTouchEvents.
216908652 Synthesize Android MotionEvents with the long form obtain method.
0b4432769 Roll src/third_party/skia 396661825f45..1c94a8fabed7 (8 commits) (#5859)
f50e218d9 Rename clip mode to clip behavior (#5853)
42bd86d6d Make the virtual display's presentation window non focusable. (#5845)
a726e1d85 Roll src/third_party/skia c062b6be5a01..396661825f45 (3 commits) (#5857)
3fa83d2d2 Roll src/third_party/skia 15020ea2cf44..c062b6be5a01 (1 commits) (#5856)
75ad43954 Roll src/third_party/skia 4c7a750e5543..15020ea2cf44 (1 commits) (#5855)
5cd8b4530 Roll src/third_party/skia 75e5406be66a..4c7a750e5543 (2 commits) (#5854)
e12b52841 Roll src/third_party/skia b8eeb808d84f..75e5406be66a (17 commits) (#5852)
5bc1e68b6 Remove check_roll from Travis (#5846)
```
95e91e31f Update tonic to pull in Android build fixes. (#5834)
29f475c8d Update tonic to pull in fixes to assertions and build failures on Windows. (#5833)
5474415e1 Roll src/third_party/skia e35055f31c7f..b8eeb808d84f (5 commits) (#5832)
380eb84c4 Remove unused function CreateSkiaInterface (#5812)
33a4aef1d Fix build break caused by https://github.com/flutter/engine/pull/5830 (#5831)
244ebd660 Reapply "Fix Dart 2 reload when running from a snapshot instead of platform.dill." (#5830)
0bad812c7 Migrate to a standalone Tonic repository separated from Topaz (#5817)
f949f7d43 Roll src/third_party/skia 206dbe8a21b6..e35055f31c7f (1 commits) (#5829)
768daa4d3 Roll src/third_party/skia 5e6cd2affe41..206dbe8a21b6 (5 commits) (#5828)
b8cd25b4f libtxt: fix a bug that used incorrect buffer size depending on conditions (#5804)
b7b13b5e9 Roll src/third_party/skia df795638b9bd..5e6cd2affe41 (1 commits) (#5824)
5886949c9 Roll src/third_party/skia dfe1fe40796e..df795638b9bd (1 commits) (#5822)
926f546de Roll src/third_party/skia cc22d4d2fb02..dfe1fe40796e (1 commits) (#5821)
04633f326 Generate process global trace identifiers for pipeline flow traces. (#5818)
fb0bc05d7 Roll src/third_party/skia 6f6de6524c73..cc22d4d2fb02 (1 commits) (#5820)
fadfff7fd Mention that running git clone isn't necessary (#5816)
81ec6000d Roll src/third_party/skia d3509a42638a..6f6de6524c73 (5 commits) (#5819)
2a77a4130 Make git diff range more robust in format.sh (#5813)
e555ea573 Remove trailing white spaces (#5734)
4c7618ac7 Roll src/third_party/skia fa0720436319..d3509a42638a (7 commits) (#5814)
55b423f07 Ensure assistiveTechnologyEnabled is initialized when the android view is set up (#5793)
3054f3183 Add touch events to the platform views method channel API. (#5796)
91c16af0c Revert "Roll Dart to 937ee2e8ca4b76499e24cd463f07bfb736bccd74. (#5745)" (#5799)
1a66f895b Roll Dart to 937ee2e8ca4b76499e24cd463f07bfb736bccd74. (#5745)
8d046a727 Revert "Roll src/third_party/skia 9e0d7e4072e4..8f8bf8880d9d (32 commits) (#5794)" (#5797)
e8d172cf3 Revert "Fix Dart 2 reload when running from a snapshot instead of platform.dill. (#5792)" (#5795)
624cf7e25 Fix Dart 2 reload when running from a snapshot instead of platform.dill. (#5792)
16da4710d Roll src/third_party/skia 9e0d7e4072e4..8f8bf8880d9d (32 commits) (#5794)
3fe63fd5d Add presubmit check for engine to flutter roll (#5790)
* Revert "Revert "Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717 (includes dart roll) (#19044)" (#19276)"
This reverts commit cf932490b7 as it also
includes fix for type error that broke tests.
* Add type cast for dart2 type checks.
* Move up to latest goldens
* Make inDirectory() type-parameterized.
* Add typecasting to transitions_perf_test.dart and microbenchmarks.
* Add boolean flag initialization in save_catalog_screenshots.dart
* Add type conversion to gallery transition test
* Roll engine to rolled dart
Add connectionTimeout property to class that extends HttpOverrides.
Upgrade packages.
Add more type fixes.
Update goldens hash.
Add more type fixes.
Upgrade packages.
Fix tests.
Remove strong-mode from analysis options yaml file.
Increase dev/devicelab timeout from 2 to 10 seconds.
Added getVM to waitForViews. Fix type errors in compileExpression.
* Pick up engine revision with fix for microbenchmarks regression.
Increase default timeout from 20/30 to 60s.
…30)"
Causes microbenchmarks to start failing. This included the following
engine PR, which appears to be the culprit:
* Remove vmservice_io.main from entry points. (flutter/engine#5625)
This reverts commit 3643790437.
* Pre-Dart SDK roll engine revision
* Dart SDK engine roll for 2018-05-30.
Commits:
3b6caa3517b Split UnresolvedNameGenerator
f50873d3451 [fuchsia] Renaming component FIDL to fuchsia.sys.
13987b073d6 Add Forest method to access the name of a variable
declaration
3b86f823d0a [vm/corelib] Remove GrowableArrayMarker hack.
88127f10e4f Clean up num#toStringAsPrecision docs
1eb1885c62d tools/addlatexhash.dart: Remove unused import
03cb46a2290 [vm/perf] Fix JITDUMP integration.
9d9eff44c99 Support sharing function signatures in deferred parts for
fast startup
ae9f5d2a1b1 Add Forest API for logical expressions
66c590d3ad3 Add json/utf8 BOM support in changelog.
d116e62d76d Improve catch parameter recovery
aa8e2ee178d Revert "[vm] Add tests for determinism of script and AppJIT
snapshots."
ec47e524bc9 Switch to non-alpha versions for analyzer/front_end/kernel.
aac0478fada [vm] Add tests for determinism of script and AppJIT
snapshots.
6cc7aa803a1 Change names/declarations tasks in AnalysisDriver sync.
c30af41b96c Reapply "[mirrors] Add IsolateMirror.loadUri."
a40993a6aff Observatory strong mode fix: Fix incorrect types in
DebuggerStackElement.
0fdfc9aa3b6 Observatory strong mode fix: Add a needed implements clause.
209029ab8ee Observatory strong mode fix: Pass through a type parameter
in the implements clause for GuardedMock.
1d323687b39 Use selection to decide whether EXTRACT_LOCAL_VARIABLE and
EXTRACT_METHOD are available.
* abd74ed Add support for physical keyboards on Android (flutter/engine#5324)
* bb75825 Update buildroot to pull in msvc updates. (flutter/engine#5366)
* df7a02d Roll src/third_party/skia a0047bc..20027ce (19 commits) (flutter/engine#5365)
* 15bb9b8 Generate .packages for both flutter_kernel_transformers and frontend_server in the same way (flutter/engine#5362)
* 983f39c Don't enable LTO on Windows hosts as the toolchain does not read the value. (flutter/engine#5364)
* fb709e2 [fuchsia] Plumbing for sharing between AOT snapshots. (flutter/engine#5351)
* 416418f Roll src/third_party/skia 75bf216..a0047bc (5 commits) (flutter/engine#5363)
* b607382 Improve licenses script (flutter/engine#5355)
* c8050e8 Generate frontend server's .packages from Dart .packages file instead of using pub get. (flutter/engine#5360)
* 4d89213 Roll src/third_party/skia 84a4e5c..75bf216 (5 commits) (flutter/engine#5361)
* f24fdba Roll src/third_party/skia/ e9c81ee2e..84a4e5c00 (1 commit) (flutter/engine#5359)
* c622c68 Roll src/third_party/skia/ 8517631bf..e9c81ee2e (1 commit) (flutter/engine#5358)
* 93b3b26 Roll src/third_party/skia/ d416083ee..8517631bf (3 commits; 2 trivial rolls) (flutter/engine#5357)
* 9b51b89 Roll src/third_party/skia/ 13235d896..d416083ee (3 commits) (flutter/engine#5356)
This contains the following commits:
flutter/engine@1179c38 Clear the raster cache result when bypassing raster cache.
flutter/engine@ea9f96b Roll src/third_party/skia/ dd6e62e28..44890ef00 (1 commit)
flutter/engine@5c4201f Roll src/third_party/skia/ 51371a433..dd6e62e28 (4 commits; 1 trivial rolls)
flutter/engine@a56f2f2 Roll src/third_party/skia/ 000e00df1..51371a433 (11 commits; 1 trivial rolls)
* Roll engine to 40a37126078f3eee2cd7584da04704908f47cd68
Changes since last roll:
```
40a371260 Remove the content handler for its move to topaz. (#5289)
a262da46f Roll src/third_party/skia/ c06754b04..000e00df1 (12 commits; 1 trivial rolls) (#5288)
f7eab94f4 Roll src/third_party/skia/ bd74e6a02..c06754b04 (1 commit) (#5287)
597fa9ed4 Delegate AppDelegate life-cycle callbacks to plugins via separate object (#5173)
ef0915c10 update docs for Path.getBounds (#5261)
bb1736b7b Roll src/third_party/skia/ 15f1761d9..bd74e6a02 (1 commit; 1 trivial rolls) (#5286)
8c9558b1f Roll src/third_party/skia/ ed4921b9d..15f1761d9 (1 commit) (#5285)
5cbfa9593 Roll src/third_party/skia/ 05da1c16d..ed4921b9d (1 commit) (#5284)
919e8c211 Support for TwoPointConical gradients (#5275)
cdd7e0887 Roll src/third_party/skia/ 94f585ed0..05da1c16d (9 commits; 1 trivial rolls) (#5283)
```
* Include more changes(reverts and a fix)
Changes since last roll:
```
ae0d3a553 Roll dart to 2765fcf2aecd3841d082fedaeafc00a73a965f8c. (#5160)
73b835c33 Roll src/third_party/skia/ 0caef298c..20fa1e94a (1 commit) (#5159)
f5c7cb366 Roll dart to b298fc6d8f6a0e1aa841dbbdda26663d6012a79a. (#5155)
93b85ee68 Add Android accessibility bridge support for "longPress" and "tap" semantic events
862d13c6f Roll src/third_party/skia/ 97b48a9c7..0caef298c (6 commits) (#5158)
9b7cc44df Dart bindings own the FDIO namespace. Release the engine side reference to the handle after bindings are setup. (#5156)
8896bd35a Roll src/third_party/skia/ f9ab22385..97b48a9c7 (11 commits; 1 trivial rolls) (#5154)
77910baad Roll src/third_party/skia/ 2050565fe..f9ab22385 (11 commits) (#5151)
0667cba31 Roll src/third_party/skia/ 3fef39d94..2050565fe (2 commits) (#5150)
5da171634 Roll src/third_party/skia/ ef4142a9b..3fef39d94 (1 commit) (#5148)
4ec4b3870 Roll src/third_party/skia/ c86c5c014..ef4142a9b (2 commits) (#5147)
d5c111717 Roll dart to 011676641a8b4b77bb372384c712709cbf037675 (#5146)
beb988c60 Roll src/third_party/skia/ 91368c9b9..c86c5c014 (4 commits) (#5145)
a58eabf14 Roll src/third_party/skia/ dc3192b30..91368c9b9 (12 commits; 1 trivial rolls) (#5144)
```
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)
```
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.
This engine roll contains the following commits:
* flutter/engine@09d05a389: Prepare and run child isolates on a VM managed (i.e. no UI) task runner.
* flutter/engine@adee35142: Throw an error or return null if FlutterView.getBitmap fails
This contains the following commits:
flutter/engine@3cc8d82 Fix more Linux unittest targets.
flutter/engine@b6ba69b libtxt: add boxes representing empty lines in GetRectsForRange
flutter/engine@388f019 Enable downscale of very large images when uploading on IO thread
flutter/engine@22e1381 Allow runtime unit-test to perform dynamic symbol resolution for Dart snapshots.
flutter/engine@59d1366 Don’t build the host shell on target builds.
flutter/engine@7a6b779 Remove the weak pointer factory from the service isolate's DartIsolate object
flutter/engine@d4729ab Update the embedder GN target to use a source set instead of a complete static library.
flutter/engine@8973c73 Implement Scene::toImage for creating a raster image representation of a scene.
flutter/engine@572c584 Configure kernel paths in the embedder if the asset directory contains the kernel assets
flutter/engine@8ed932c Roll src/third_party/skia/ 1cd6098d5..1ccaa6e05 (20 commits)
flutter/engine@a0804f3 Simplify weak pointer factories and allow vending weak pointers on multiple threads.
* Handle error count reported by frontend.
Extend compilation result from single string to a structure(string filename and integer error count).
* Use ?.
* Include engine roll with dart sdk roll.
* parse(onError) -> tryParse
* Make '?? throw' more readable and avoid issue with analyzer
* Fix test so it mocks compiler output including errors count
Changes since last roll:
```
ed303c628 Roll dart sdk again. Previous roll required 23ae4fa098 revert. (#4966)
8cd272733 Revert "Roll dart to 7764e6962e22afcf4b58c4e3cef3147330f3c884. (#4960)" (#4965)
9199b40f2 Revert "Support multiple shells in a single process. (#4932)" (#4964)
6baff4c82 Support multiple shells in a single process. (#4932)
31c5bb427 Roll dart to 7764e6962e22afcf4b58c4e3cef3147330f3c884. (#4960)
c8e4c6984 Avoid copying the contents of large platform message responses (#4947)
5ff527295 Update to use new vulkan GrBackendRenderTarget ctor. (#4962)
0c8993a1a Update to use new vulkan GrBackendRenderTarget ctor (part 2) (#4963)
132ebdda8 Revert "Roll src/third_party/skia/ 9874bf1bc..52e16d984 (135 commits) (#4958)" (#4961)
11882ab9e Roll src/third_party/skia/ 9874bf1bc..52e16d984 (135 commits) (#4958)
```
Add consts
Includes:
* Revert "Roll dart to 4bcf8ad411bd90da16d44ad399bf350e8423eac9" (flutter/engine#4936)
* libtxt: render fake bold text if a bold font is not available (flutter/engine#4933)
* Set FlutterTexture copyPixelBuffer return nullable (flutter/engine#4934)
* Roll dart to 4bcf8ad411bd90da16d44ad399bf350e8423eac9 (flutter/engine#4929)
Includes:
* libtxt: add missing dependency for Mac/iOS builds (flutter/engine#4931)
* libtxt: use Helvetica as a fallback font on iOS 8 and earlier (flutter/engine#4930)
* Make Rect.largest match the "largest" rect used in DefaultLayerBuilder (flutter/engine#4926)
* [vulkan] Add VK_ERROR_NOT_PERMITTED_EXT
* Roll buildroot to 8dddd90bf9 (flutter/engine#4928)
* Set the asset bundle path when initializing the shell in the embedder API (flutter/engine#4925)
Changes since last roll:
```
ec1e96864 Revert pub roll from recent dart roll. (#4904)
ac552fba4 Port flutter content handler to FIDL2. (#4903)
94cdd8103 Roll dart. (#4902)
af63732de Support `Path.addCircle` (#4783)
564c6a5a9 Add hint to use ninja with goma (#4894)
```
```
Includes:
* libtxt: move to the next run if the current run ends before the start of the line block (flutter/engine#4891)
* Rolled Dart SDK to e3051175192c83fafa3636c0f16d804734bb285a (flutter/engine#4877)
* roll engine version to 6280adbfb1f9f63cdc6179b9b78634add1e4f2e3
* Correctly handle previewDart : false setting in AnalysisServer and
AnalyzeOnce classes.
Includes:
* Provide lookup key to access Flutter assets in the APK (flutter/engine#4785)
* Roll skia and update licenses (flutter/engine#4797)
* libtxt: retain hard line breaks when calculating maxIntrinsicWidth (flutter/engine#4796)
* iupdate engine version to 141176b9004d7b01325629fd45b2ef61b0d00251
* update engine version to f192c59d76c0afe63f2290c3ed76061f00c77cc7
This rolls dart to version 0175f24b2549732d0010708988fd328440c3f956
* Move dart 2 tests back to optional section to allow debugging of a new
regression in the petitParser package.
* Update
* Roll engine to b6df7a637498ca9beda1fa9cd7210e3202ea599f.
Changes since last roll:
```
b6df7a637 Roll dart to 290c576264faa096a0b3206c71b2435309d9f904. (#4771)
a6764dbd5 Add sources for Fuchsia target. (#4763)
2d5900615 [fuchsia] Remove unused header file. (#4769)
9717063b7 Revert "Roll dart to c080951d45e79cd25df98036c4be835b284a269c. (#4767)" (#4768)
9a9814312 Roll dart to c080951d45e79cd25df98036c4be835b284a269c. (#4767)
e74e8b35c [async] Update includes of async headers to new path (#4760)
e2c4b2760 Use Dart 2 camel case constants in the engine Dart libraries (#4766)
9c1e48434 Updates for Fuchsia roll. (#4765)
14c940e27 Switch from fxl::Mutex to std::mutex (#4764)
debf82c0b Roll Garnet (#4759)
5bffdefbb Use weak pointers to the accesibility bridge from objects vended to the UIKit accessibility framework. (#4761)
```
* Roll engine to c88ba37c794f57982374bb53a694301198cad593.
Changes since last roll:
- move generated entry points JSON out of flutter_patched_sdk
- List missing core lib bigint_patch.dart source for new Bigint implementation (#4735)
- Skip over .emf-files. (#4739)
- Roll dart to ee15c8eb689791f6777eb3f6b0a1e9c58ff0671b.
* defaultValue -> orElse
* Revert "Disable a text field test that fails on some Macs with libtxt (#14895)"
This reverts commit aa04a056f3.
* Revert "Roll engine to 33b88173f3820690169348859bbdc29133179e0b (#14832)"
This reverts commit 44592238bb.
* Revert non-engine reverts
Inlcudes:
* libtxt: specifically request the Roboto font in tests and benchmarks (flutter/engine#4675)
* Make Paragraph methods really return List<int> if they are declared as such (flutter/engine#4676)
* Stop using ClassHierarchy.deprecated_incremental (flutter/engine#4678)
* On iOS, render to an offscreen surface to avoid renderbuffer slowdown (flutter/engine#4680)
* Revert "Roll engine to 834d6eb02988e7f2c44eda05cec908378a1a9138 (#14664)"
This reverts commit c19fbe86dd.
Reason: timeouts while doing hot reload in hot_mode_dev_cycle__preview_dart_2_benchmark.
It seems that setTraversalBefore doesn't work as well as setTraversalAfter for some reason, although I'm using them the same way. Some apps would lock up TalkBack when traversing if setTraversalBefore was set, but not with the equivalent setTraversalAfter.
It's not entirely clear why this is, but I'm going with this to at least get it fixed for apps we know about.
Fixes#14600
Includes:
* Roll topaz to 531e2778d86b213bc663ea51bb0e0dde33d8ac8c (#4657)
This supports SDK/project paths including URI-escaped UTF-8 sequences
(e.g., including spaces, accented characters, etc.).
Includes:
* Roll topaz to 08a3394395036a2bb9b556f5b0eb8f365d2c0fa5 (flutter/engine#4650)
* [fuchsia] Add missing AOT entry points for FromFileResult and MapResult. (flutter/engine#4649)
* [fuchsia] Fix compile-time error introduced in 58e6c23. (flutter/engine#4651)
* Roll topaz to 046105efd225ed61c94e65dbd4a528256a3a34a9 (flutter/engine#4652)
Topaz rolls enable:
* Support for Flutter SDK, project paths including spaces (flutter/engine#4650)
* Support for Flutter SDK, project paths including arbitrary UTF-8 sequences (flutter/engine#4652)
* Roll engine to pre-dart roll
* Roll engine to pick up updated dart
* Apply Map changes
* Move to dev.22
* Fix some analysis issues
* Silent analyzer
* More consts
* More const massaging
* Yet more const massaging
* Yet more const massaging
* Use nonconst()
Includes:
* Only implement application:performActionForShortcutItem:completionHandler on iOS 9.0+ (flutter/engine#4600)
* [fuchsia] Remove MessageLoopHandler dependency (flutter/engine#4618)
* Use @available checks for iOS 11 features (#4619)
* Revive "Push physical layers with paths instead of rects in RenderPhysicalModel. (#13942)"
That commit was reverted due to a performance problem which has now been
fixed.
* Roll engine 05fe72d068e19c7886e8d27f9b004201d5ad1300
includes the following CLs since the last roll
- Further improve painting.dart documentation. (#4505)
- Add support for --strong option in the engine, create a strong mode
version of platform file (#4504)
- Apply texture transform on Android (#4513)
- [fuchsia] Removed the flutter_app template. (#4511)
- This adds RPC call to set asset path. (#4323)
- Fix windows build by using lambda capture workaround (#4514)
- Add missing include for sk_malloc_throw
* Revert "Roll engine to e122f4825726035e4579471ef83848b1aa796444 dart roll"
This reverts commit c7dfadfaf5.
* Revert "Roll engine to just before dart roll"
This reverts commit d5cc86578a.
This reverts commit dbd3eb678a.
Commit above fixed initial problem with frontend_server on Windows, but caused another more explicit problem with gen_snapshot down the line.
* Revert "Include a directory with Flutter assets (#12944)"
This reverts commit 3af6b9cbf5.
* Revert "Upgrade project.pbxproj to include flutter_assets (#13011)"
This reverts commit 08128cb29b.
* Revert "Upgrade complex_layout project.pbxproj to include flutter_assets (#13544)"
This reverts commit 35f1a04195.
* mark complex_layout_ios__start_up as flaky
**This PR contains a breaking API change:**
`SemanticsConfiguration.addAction()` has been removed and replaces by action-specific setters (`onTap`, `onLongPress`, etc.) to take care of the fact that some action handlers (those, who take arguments) have different signatures.
This is the first engine role with libwebp, so we expect an increase in
flutter app sizes.
I'll be monitoring the app size benchmarks after this lands.
* Revert "Fix error message to refer to actual ClipRect widget instead of non-existing RectClip (#12632)"
This reverts commit 1573d3b886.
* Revert "Roll engine to 5003703330f280325fa73080bb23b1ab7008b213 (#12629)"
This reverts commit 81a358b7a8.
* Fix restart flow for preview-dart-2 mode.
Restart in preview-dart-2 needs to use kernel file and it has to be complete, rather than incremental kernel file.
* Add curly braces
* Do full compile on restart
* Roll engine to pick up changes to hot reload for preview-dart-2
* Roll engine
* Move assert requiring 'this' from initializer to constructor body
* Update test expected message
* Relax regexp to allow wider array of dart uris
* Roll engine
* Pick up updated engine with analyzer fix
* Add new typeArguments override
* Update engine dep
* Up dartdoc version to fix name resolution issues
* Add framework-side support for system text scale factor.
* Rolling engine to e3404b81a53ba3180c7623a6f2190ebb28518f30
Additional changes rolled in with engine change:
libtxt: implementation of GetRectsForRange that processes a line at a time - e3404b8
Provide an entropy source to the Dart engine (#4161) - e1aa867
libtxt: search for fallback fonts that can match emoji and CJK characters - 8061df1
Roll skia to e4679fa06a. (#4157) - 267e7a8
Update buildroot to 53fea9aebb (#4160) - 02ea7ae
Revert engine Dart roll. (#4158) - 14aab33
Add support for system text scale factor. (#4124) - b2a7f4b
Include _http into sky_engine libraries for analyzer (#4154) - b930f10
libtxt: Remove postprocess_line and improve tracking of X offsets - 86f95f0
libtxt: remove redundant line_widths (#4152) - 14bf515
Roll dart to ade37f931e90b0fdb8fe16d6bf6f089545da55b6 (#4151) - 6f1264f
* Roll engine dependency forward
* Tests seem to fail with segfault. Trying different engine version to troubleshoot
* Tests seem to fail with segfault. Trying original engine version to troubleshoot
* Tests seem to pass with original engine version. Continue bisecting.
* Tests seem to fail now. Continue bisecting.
* Reverted culprit cl, rolling to that
* Add --trace-skia parameter to flutter run
Skia tracing is extremely useful for internal debug, but reduces the
amount of space available in the Dart Timeline buffers.
Disable skia tracing by default and expose them via the --trace-skia
flag.
* Roll Engine to 57a1445a45964d386500c39f5e8d06db060abadb
* Rolls the engine to 75c74dc463d56e17be10315cfde409010fd8f90b.
* Adds framework support for the `AppLifecycleState.inactive` and `AppLifecycleState.suspending` states.
What are the new states?
------------------------
* `AppLifecycleState.inactive` is emitted on iOS only and corresponds to iOS's foreground inactive state. Current iOS state transitions are:
`resumed` <--> `inactive` <--> `paused`
* `AppLifecycleState.suspending` is currently emitted on Android only and corresponds to the
transition to Android's stopped state. Current Android state transitions are:
`resumed` <--> `paused` --> `suspending` --> `resumed`
These transitions may change in future.
This is a breaking change on iOS
--------------------------------
This changes the semantics of the `AppLifecycleState.paused` state on
iOS. The behaviour associated with this state is unchanged on Android.
For background on iOS application states see the state transition
diagram in the [App Programming Guide for iOS](https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/TheAppLifeCycle/TheAppLifeCycle.html#//apple_ref/doc/uid/TP40007072-CH2-SW6).
On iOS, prior to this change, `AppLifecycleState.paused` corresponded to
a transition to the _foreground inactive_ state. It now corresponds to a
transition to the _background state_. The newly-added
`AppLifecycleState.inactive` state now corresponds to entering the
_foreground inactive_ state, which (currently) has no exact analogue on
Android.
Briefly, the _foreground inactive_ state is the state entered when
switching from an app to the app switcher, receiving a phone call, or
responding to a TouchID request. Apps are permitted to continue
animating/updating views in this state if desired. From the _foreground
inactive_ state, the app may transition back to _active_ (e.g., entering
the app switcher then resuming the app), or to the _background_ state
(e.g., switching to the home screen or another app).
What to change
--------------
If your app does not handle the `AppLifecycleState.paused` state in a
`WidgetsBindingObserver.didChangeAppLifecycleState` implementation, no
changes are required.
If you do handle `AppLifecycleState.paused`, you may additionally wish
to also handle `AppLifecycleState.inactive`. For example, games should
probably pause on entering the app switcher rather than wait to be
backgrounded.
More details
------------
For background on Android application states see the state transition
diagram in the [Android Activity Lifecycle docs](https://developer.android.com/guide/components/activities/activity-lifecycle.html#alc).
* Manually fix every use of Point.x and Point.y
Some of these were moved to dx/dy, but not all.
* Manually convert uses of the old gradient API
* Remove old reference to Point.
* Mechanical changes
I applied the following at the root of the Flutter repository:
git ls-files -z | xargs -0 sed -i 's/\bPoint[.]origin\b/Offset.zero/g'
git ls-files -z | xargs -0 sed -i 's/\bPoint[.]lerp\b/Offset.lerp/g'
git ls-files -z | xargs -0 sed -i 's/\bnew Point\b/new Offset/g'
git ls-files -z | xargs -0 sed -i 's/\bconst Point\b/const Offset/g'
git ls-files -z | xargs -0 sed -i 's/\bstatic Point /static Offset /g'
git ls-files -z | xargs -0 sed -i 's/\bfinal Point /final Offset /g'
git ls-files -z | xargs -0 sed -i 's/^\( *\)Point /\1Offset /g'
git ls-files -z | xargs -0 sed -i 's/ui[.]Point\b/ui.Offset/g'
git ls-files -z | xargs -0 sed -i 's/(Point\b/(Offset/g'
git ls-files -z | xargs -0 sed -i 's/\([[{,]\) Point\b/\1 Offset/g'
git ls-files -z | xargs -0 sed -i 's/@required Point\b/@required Offset/g'
git ls-files -z | xargs -0 sed -i 's/<Point>/<Offset>/g'
git ls-files -z | xargs -0 sed -i 's/[.]toOffset()//g'
git ls-files -z | xargs -0 sed -i 's/[.]toPoint()//g'
git ls-files -z | xargs -0 sed -i 's/\bshow Point, /show /g'
git ls-files -z | xargs -0 sed -i 's/\bshow Point;/show Offset;/g'
* Mechanical changes - dartdocs
I applied the following at the root of the Flutter repository:
git ls-files -z | xargs -0 sed -i 's/\ba \[Point\]/an [Offset]/g'
git ls-files -z | xargs -0 sed -i 's/\[Point\]/[Offset]/g'
* Further improvements and a test
* Fix minor errors from rebasing...
* Roll engine
* Fix tests to use Ahem, and helpful changes around that
- Fix fonts that had metric-specific behaviours.
- LiveTestWidgetsFlutterBinding.allowAllFrames has been renamed
to LiveTestWidgetsFlutterBinding.framePolicy.
- LiveTestWidgetsFlutterBinding now defaults to using a frame policy
that pumps slightly more frames, to animate the pointer crosshairs.
- Added "flutter run --use-test-fonts" to enable Ahem on devices.
- Changed how idle() works to be more effective in live mode.
- Display the test name in live mode (unless ahem fonts are enabled).
- Added a toString to TextSelectionPoint.
- Style nit fixes.
* Roll engine to get Ahem changes.
* Update tests for dartdoc changes.
* Fix flutter_tools tests
Breaking change: removed deprecated methods of PlatformMessages, leaving only binary messaging there. All other use of platform communication now goes through PlatformMessageChannel and PlatformMethodChannels. Retained use of String and JSON codecs for now.
Companion engine PR: flutter/engine#3482
* Enable Hot Reload on Windows (backed by gen_snapshot)
\o/
Two caveats:
* Hot Reload on Windows is slower than on other platforms because gen_snapshot is slower then sky_snapshot
* We currently cannot hot reload projects with spaces in the path
* enable tests
* Simplify path handling logic in dependency checker and devFS
Simplification will make it easier to port this to Windows.
* Roll Engine to 0a7b177c330367904597a6129b3eb653d29dfca0
* Roll engine to b64c88766dbd83bf4bab1cd1cd1757139b6cdb74.
Picks up changes to include inlined frames and line numbers in AOT stack traces.
* Adjust/weaken stack_trace_test.dart to pass in the face of async causal stack traces (Issue #8128).
* s/sky/flutter/ in Android templates
* update engine.version with a compatible engine version
* replace more SkyActivity references with FlutterActivity
* Rollback commits to get iOS into a stable state
This rolls back the following commits:
* 23c52fc (#6434)
* a97cf4b (#6433)
* e72e174 (#6428)
It also updates the engine to a newer revision that has the
necessary rollbacks in the engine repo.
Fixes#6458