Alexander Aprelev
bedf987fc8
Pipe strong mode option for iOS simulator. ( #14002 )
2018-01-11 14:08:28 -08:00
Alexander Aprelev
5dc4ce85d9
Revert "Handle abnormal termination of frontend compiler. ( #13982 )" ( #14037 )
...
This reverts commit 9534082fc0
.
Causes hot_mode_dev_cycle__preview_dart_2_benchmark test timeout.
2018-01-10 19:54:08 -08:00
Alexander Aprelev
9534082fc0
Handle abnormal termination of frontend compiler. ( #13982 )
...
* Check frontend_server exit code.
When frontend_server completes abnormally, flutter tools has to stop and let user know.
* Add tests
2018-01-10 17:51:08 -08:00
Alexander Aprelev
27c61eeb50
Explicitly report CFE output(when using --preview-dart-2) ( #13936 )
...
* Explicitly report CFE output(when using --preview-dart-2)
* Fix test so it looks at errorText
* Fix expected text
2018-01-05 18:51:35 -08:00
Siva
426d6b0672
support for --strong option ( #13859 )
...
* Plumb a --strong option through to the front end server and the engine
so that we can run flutter apps in preview-dart-2 and strong mode
* - Address analyzer lint issues
*- correctly set up strong mode option in the case of AOT builds
2018-01-04 10:39:02 -08:00
Alexander Markov
a69af9902c
Pass --aot option to front-end server when generating kernel for AOT build ( #13342 )
2017-12-04 16:57:44 -08:00
Alexander Aprelev
9ae893bd45
Use IKG for restarts, use IKG with ProtectedFileByteStore. ( #12953 )
...
* Use IKG for restarts, use IKG with ProtectedFileByteStore.
* Fix comment, add end of file newline.
* Remove unused import
2017-11-10 10:09:37 -08:00
Alexandre Ardhuin
15601fe55c
Enable lint prefer asserts in initializer lists ( #12903 )
...
* enable lint prefer_asserts_in_initializer_lists
* enable --assert-initializer
2017-11-08 22:59:49 +01:00
Alexandre Ardhuin
28366002d9
enable lint prefer_foreach ( #12674 )
...
* enable lint prefer_foreach
* fix tests
2017-10-25 08:25:44 +02:00
Alexander Aprelev
52fbcefed6
Link platform.dill only into app kernel file used for build aot. ( #12571 )
...
gen_snapshot loads all packages from single app kernel file.
2017-10-17 13:30:32 -07:00
Alexander Aprelev
85e4f0526b
Fix restart flow for preview-dart-2 mode. ( #12496 )
...
* 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
2017-10-12 14:48:37 -07:00
Alexander Markov
7153dea296
Add hidden options --extra-front-end-options and --extra-gen-snapshot-options to flutter tool ( #12219 )
...
This CL introduces 2 hidden options to 'flutter build aot' and 'flutter run' for passing arbitrary arguments to front-end server and to gen_snapshot tool when building and running flutter app in --profile or --release modes.
The ability to pass arbitrary options simplifies various experiments, as it removes the need to change defaults and rebuild flutter engine for every tested configuration.
2017-10-03 12:55:53 -07:00
Ian Hickson
efb45ea788
Trivial nit fixes ( #12285 )
2017-09-27 16:13:48 -07:00
Alexander Aprelev
35c47611b9
Recreate outputFileName completer, handle process launch errors. ( #11980 )
...
* Recreate outputFileName completer, handle process launch errors.
* Fix formatting
* Updated comment
2017-09-13 07:33:52 -07:00
Alexander Aprelev
59bc0a0fce
Move host build check until it's actually used. ( #11926 )
...
* Move host build check until it's actually used
* Elaborate diagnostic message
2017-09-05 11:12:15 -07:00
Alexander Aprelev
c5750cd7ea
Introduce --preview-dart-2
option to run new frontend compiler in flutter tools. ( #11741 )
...
This adds --preview-dart-2 flag that enables use of Dart 2.0 Frontend in Flutter tools.
2017-08-31 13:35:55 -07:00