Jonah Williams
1e4d9f8502
[flutter_tools] add --write-sksl-on-exit to flutter drive ( #58743 )
...
Allow dumping sksl files on driver exit when a file path is provided to drive's --write-sksl-on-exit
2020-06-05 11:01:23 -07:00
Jonah Williams
f5de6aadd4
[flutter_tools] remove zone level overrides of verbose and daemon logging ( #57448 )
...
Make it possible for all FlutterCommands to be global free, by moving instantiation to inside the Zone context. Additionally, provide VerboseLogger and NotifyLogger (daemon) at the top level and remove from command-specific overrides.
This allows removing a work around where web devices needed to look up directly from the context in non-test code.
Technically the output preferences are still zone injected, but these will be moved soon as they were not being used correctly by the top level command (the injection comes after ArgParser reads the overflow values, causing numerous wrap issues)
2020-06-04 16:35:36 -07:00
Jonah Williams
b1d75fc99d
[flutter_tools] add flag for sound-null-safety, unify with experiments ( #58533 )
...
Also combines experiments into extraGenSnapshot/ExtraFrontEndOptions. Allows providing --no-sound-null-safety to allow out of order migration and running.
2020-06-03 21:02:07 -07:00
Jonah Williams
e216eec7b4
[flutter_tools] Allow the tool to suppress compilation errors. ( #58539 )
...
Suppress compilation errors on startup so they are not duplicated from the native build step.
2020-06-03 12:00:03 -07:00
Jonah Williams
01b9bf8ea6
[flutter_tools] deprecate flutter generate and codegen ( #58328 )
2020-06-03 09:28:02 -07:00
Jenn Magder
f4d26a3b85
Change iOS device discovery from polling to long-running observation ( #58137 )
2020-06-01 12:33:01 -07:00
Marcus Tomlinson
5ee5490a63
[flutter_tools] Support profile and release builds on Linux ( #57135 )
2020-05-29 15:38:02 -07:00
stuartmorgan
9989c54cb1
Add release and profile support for Windows ( #57749 )
...
Builds and bundles an 'app.so' containing AOT data, and downloads and packages the release/profile artifacts for those builds, rather than always using the debug artifacts.
Fixes https://github.com/flutter/flutter/issues/38477
Fixes https://github.com/flutter/flutter/issues/39664
2020-05-28 12:17:56 -07:00
Jonah Williams
7cdf26d0dc
[flutter_tools] forward flutter format to dart format and deprecate ( #57829 )
2020-05-28 11:28:08 -07:00
Jim Graham
3373a4042a
print checksum differences when detected by --verify-only ( #58064 )
2020-05-27 10:31:15 -07:00
Jonah Williams
a926715dac
[flutter_tools] URI encode dart-define values ( #57873 )
2020-05-27 10:11:04 -07:00
Jonah Williams
ba847d54f0
[flutter_tools] validate android arch and build number ( #57830 )
2020-05-27 10:10:51 -07:00
Jonah Williams
f640ad6914
[flutter_tools] ensure emulator command does not crash with missing avdmanager ( #57703 )
2020-05-27 10:10:30 -07:00
Jonah Williams
ffc56ff735
[flutter_tools] hide all development tools ( #57690 )
2020-05-27 10:10:19 -07:00
Jenn Magder
adead099a6
Always show diagnostics ( #57532 )
2020-05-19 18:17:03 -07:00
Jonah Williams
8e765c7f6a
[flutter_tools] put system clock on globals ( #57447 )
2020-05-18 09:56:22 -07:00
Tianguang
5a3104b36a
Update flutter_gallery_assets to ^0.2.0 ( #57328 )
...
* Bump flutter_gallery_assets version to ^0.2.0.
* Run `flutter update-packages --force-upgrade`.
* Add comment.
* Remove duplicate key.
2020-05-18 18:26:18 +02:00
Jesse
2da08f4c10
Fix typo in 'flutter create --list-samples' help ( #57005 )
2020-05-14 14:37:03 -07:00
Zachary Anderson
533cd7a6d1
[flutter_tools] Delete system temp entries on fatal signals ( #55513 )
2020-05-14 14:27:02 -07:00
Jonah Williams
a2cf9ecc46
[flutter_tools] expose track-widget-creation to build aar ( #57117 )
2020-05-14 11:17:06 -07:00
Christopher Fujino
a2f5364dc0
throw more specific toolexit when git fails during upgrade ( #57162 )
2020-05-14 11:03:07 -07:00
Jenn Magder
9c87b32477
Remove Runner target check, prefer schemes ( #56620 )
2020-05-11 11:56:44 -07:00
Jonah Williams
f5d2c8c770
[flutter_tools] fix documentation on default built ios ( #56720 )
...
The default for build for flutter build ios should be release to match the other build commands. This is correctly handled in the command, but the documentation is incorrect. Update the documentation and the default to reflect the more common case of building for a physical device.
2020-05-08 17:35:40 -07:00
Jenn Magder
0a4f6cdef0
Add split-debug and obfuscation to build aar ( #56342 )
2020-05-07 18:14:02 -07:00
Zachary Anderson
6f0ed5e142
[flutter_tools] Restore base/platform.dart ( #56410 )
2020-05-06 08:15:39 -07:00
Jenn Magder
c587d73ec6
Use androidSdk globals variable everywhere ( #56330 )
2020-05-04 17:48:10 -07:00
Peter Lauri
f6db8ccd20
[flutter_tools] fix version tag v
stripping and support old "dev" and new "pre" tags ( #55602 )
2020-05-04 11:24:03 -07:00
Jonah Williams
2a5690f097
[flutter_tools] fix iOS build inconsistencies and pipe through performance file ( #56094 )
...
Ensure iOS and android builds can be correctly cached. Use the performance-measurement-file to verify that all targets were skipped on the second invocation. This is only run on the flutter_gallery build.
2020-05-01 15:34:28 -07:00
Jonah Williams
368da5bb59
[flutter_tools] support bundling SkSL shaders in flutter build apk/appbundle ( #56059 )
...
Support bundling SkSL shaders into an android APK or appbundle via the --bundle-sksl-path command line options. If provided, these are validated for platform engine revision and then placed in flutter_assets/io.flutter.shaders.json
2020-04-30 13:39:08 -07:00
Jonah Williams
a58d50deb1
[flutter_tools] allow pulling performance data from assemble ( #55699 )
2020-04-29 13:04:59 -07:00
Jonah Williams
534b0608ce
[flutter_tools] remove vm service ( #55794 )
...
Finishes the gradual vm service migration by deleting the flutter tooling's vm_service
2020-04-29 11:52:46 -07:00
Jonah Williams
c55b32204e
[flutter_tools] fix performance of tree-shake-icons ( #55417 )
...
Fixes the performance issue with tree-shake-icons and filters to ttf mime type. Does not change default or error behavior.
2020-04-29 11:43:47 -07:00
Christopher Fujino
069dc9c72d
[flutter_tools] catch ProcessException and throw ToolExit during upgrade ( #55759 )
2020-04-27 15:04:02 -07:00
michaellee8
34b8f830b8
[flutter_tools] add --dart-define option for fuchsia build ( #55715 )
2020-04-27 14:59:03 -07:00
Jonah Williams
1ab3878996
[flutter_tools] support --enable-experiment in flutter test ( #55564 )
...
Support --enable-experiment in flutter test (for flutter_tester). Required minor change for null safety.
2020-04-27 14:47:43 -07:00
Jonah Williams
dd88b20435
[flutter_tools] quality pass on Linux build ( #55556 )
...
- Update the Linux build to support most of the build configuration, though like windows most only make sense for profile/release.
- Ensure VERBOSE_SCRIPT_LOGGING is set when the logger is verbose
- Automatically run pub get like other build commands
2020-04-25 19:02:03 -07:00
Christopher Fujino
4552af155c
[flutter_tools] enable flutter upgrade
to support force pushed branches ( #55594 )
2020-04-24 17:55:16 -07:00
Jonah Williams
35edbe3d9d
Revert "[flutter_tools] fix version tag v
stripping ( #55385 )" ( #55577 )
...
This reverts commit c91a3a74ec
.
2020-04-24 09:38:49 -07:00
Peter Lauri
c91a3a74ec
[flutter_tools] fix version tag v
stripping ( #55385 )
2020-04-24 09:11:54 -07:00
Jonah Williams
543186f105
[flutter_tools] quality pass on windows build ( #55436 )
2020-04-23 12:29:48 -07:00
Jonah Williams
8df0d68633
[flutter_tools] remove globals from pub ( #55412 )
2020-04-22 16:34:12 -07:00
xster
72986f7bcf
remove intellij references to the v1 embedding jars now that the v2 embeddings are referenced via maven ( #55353 )
2020-04-22 13:33:13 -07:00
Jonah Williams
c8164dad80
[flutter_tools] migrate windows to assemble ( #55187 )
2020-04-22 12:26:49 -07:00
Jonah Williams
94ddf56b9e
[flutter_tools] unpin package config and update ( #55348 )
2020-04-22 10:16:34 -07:00
Jonah Williams
f2761b6b04
[flutter_tools] refactor Chrome launch logic to remove globals/statics ( #55160 )
2020-04-22 01:28:51 -07:00
James D. Lin
566c1d1124
flutter_tools: Prefer using .of() over .from() when possible ( #55250 )
...
Prefer using `.of()` (which is statically type-checked) over
`.from()` (which is dynamically type-checked) when possible.
2020-04-21 22:09:50 -07:00
Jonah Williams
0b3f5cfcc0
[flutter_tools] initial support for enable experiment, run, apk, ios, macos ( #54617 )
2020-04-21 20:39:36 -07:00
Jonah Williams
d46da3ae11
[flutter_tools] remove PackageMap and finish PackageConfig migration ( #55244 )
2020-04-21 19:55:15 -07:00
Katarina Sheremet
d8f353af5b
Support tags when running tests from command line ( #55152 )
2020-04-21 10:35:13 -07:00
Jonah Williams
6a390aa7dc
[flutter_tools] fix type error in symbolize ( #55212 )
2020-04-20 12:21:44 -07:00