Ian Hickson
f284c1a049
Fix tests ( #3977 )
...
Also, make sure that broken tests actually break the bots.
And add a test to make sure that keeps happening.
2016-05-17 12:45:37 -07:00
Jason Simmons
c192a7e4ca
Replace the checked flag in DebuggingOptions with the build mode ( #3901 )
...
This also fixes some related problems affecting "flutter run":
* FLXes built during AndroidDevice.startApp need to match the build mode
* APKs should always be rebuilt if the build mode uses AOT compilation
2016-05-17 12:38:25 -07:00
Collin Jackson
b4313b04b0
Merge pull request #3946 from collinjackson/apk
...
Make flutter run generate identical apks to flutter build apk
2016-05-17 07:30:10 -07:00
Collin Jackson
a312db482d
remove the add-files argument to flutter run
2016-05-16 18:33:59 -07:00
Chinmay Garde
0e8f26dd6c
Use the correct host toolchain when building from a local engine checkout on Mac. ( #3956 )
2016-05-16 17:05:39 -07:00
Collin Jackson
00e22284f2
Fix #3891 by making flutter run generate identical apks to flutter build apk
2016-05-16 15:53:18 -07:00
Devon Carew
483922d15c
allow per-command analytics suppression ( #3919 )
...
* allow per-command analytics suppression
* rev the usage package dep
2016-05-15 20:06:27 -07:00
Devon Carew
cc5d1adcfc
handle an exit code from android n ( #3914 )
...
* handle an exit code from android n
* review comments
2016-05-13 16:47:30 -07:00
Yegor
15decfca6e
reenable --checked option in flutter drive ( #3916 )
2016-05-13 16:42:28 -07:00
Devon Carew
40c0d6ea12
Consolidate observatory code ( #3892 )
...
* rename service_protocol.dart to protocol_discovery.dart
* add a wrapper around the obs. protocol
* use json-rpc in run
* consolidate obs. code; implement flutter run --benchmark
* review comments
2016-05-12 18:15:23 -07:00
Jason Simmons
32846de9f8
Remove ArtifactStore and move flutterRoot into Cache ( #3883 )
2016-05-12 15:54:35 -07:00
Jason Simmons
a590ee2671
Remove BuildConfigurations ( #3879 )
...
Artifacts from local engine builds will be found based on the --local-engine flag
2016-05-12 12:22:15 -07:00
Jason Simmons
0f53f7966b
Remove Toolchain and extend ToolConfiguration to locate host tools such as sky_snapshot ( #3870 )
...
Host tools can be found in the artifact cache directory for the host platform.
If a developer wants to use a local engine build instead, then provide an
--engine-build flag that selects the specific engine build variant.
2016-05-11 15:47:26 -07:00
Devon Carew
6635f1cf9b
re-enable --checked ( #3857 )
2016-05-11 12:26:46 -07:00
Devon Carew
826936cd33
use vendored dart sdk; check the expected version of flutter ( #3831 )
...
* use vendored dart sdk; check the expected version of flutter
* search up directories looking for the flutter root
2016-05-10 16:21:30 -07:00
Devon Carew
52d0434bec
create a flutter setup command ( #3837 )
2016-05-10 15:04:29 -07:00
Devon Carew
067715e302
Send exit for flutter run --resident ( #3829 )
...
* send ext.flutter.exit
* listen for help restart, quit
* refactor into a separate class
2016-05-10 13:47:00 -07:00
Todd Volkert
43c0c52225
Fix regexp that strips invalid characters from the Uniform Type Identifier
...
Fixes #3835
2016-05-10 13:08:29 -07:00
Phil Quitslund
cc93170894
Merge pull request #3798 from pq/package_map_cleanup
...
Analyze update to use in-memory package map.
2016-05-09 11:53:21 -07:00
Hans Muller
74c3e74fba
Call it Flutter Gallery ( #3801 )
2016-05-09 11:00:54 -07:00
Devon Carew
a5b198e9b9
remove the --checked option ( #3799 )
2016-05-09 10:58:47 -07:00
pq
46d32794f9
Analyze update to use in-memory package map.
...
Updates the analyze command to pass a package map to analysis rather than a file path.
This allows us to avoid creating a needless temporary `.packages` file and host directory and saves us a trip to disk to retrieve the contents when building our URI resolvers for analysis.
2016-05-09 09:59:16 -07:00
Jason Simmons
2ea3c9471d
Fix for how flutter refresh locates the Android package manifest ( #3791 )
2016-05-09 09:31:46 -07:00
pq
2df43d50d3
Merge branch 'master' into analysis_rework
2016-05-06 08:58:49 -07:00
Devon Carew
bd564a02af
avoid sending analytics on ci systems ( #3765 )
...
* avoid sending analytics on ci systems
* review comments
2016-05-05 19:51:22 -07:00
Jason Simmons
4d0e6984c2
Build tool support for Android x86 targets in 32- or 64-bit modes ( #3761 )
2016-05-05 16:04:22 -07:00
pq
eb215c14ac
Review cleanup.
2016-05-05 15:16:27 -07:00
Devon Carew
a999366482
remove the analyze --benhcmark-expected option ( #3755 )
2016-05-05 14:26:21 -07:00
pq
3b882fc449
Updated arg default handling and .dartignore support.
2016-05-05 13:25:59 -07:00
pq
e808125c5b
Dead code cleanup.
2016-05-05 12:35:52 -07:00
pq
a59a713f75
Analysis re-work to use analyzer APIs.
...
Introduces a new Dart analysis wrapper that works directly with the analyzer API (in favor of shelling out to a separate process).
Some consequences:
* we no longer need to fear parts (simplifying our dart file gathering)
* we can filter by error code (when needed), rather than by error strings
* no more IO scraping
* no need to generate `main()` or to run with `--package-warnings`
* we now specify an analyzer (and linter) version in the pubspec (we’ll want to make sure this doesn’t diverge too far from the analyzer shipped with the SDK but it does give us some room to play with experimental builds)
* no more (re)scanning of error source files (and so no more source cache)
* should generally be a bit simpler and easier to maintain
* runs a bit faster :)
2016-05-05 12:08:58 -07:00
Yegor
39e741dfb7
[tools] remove --flutter-repo flag in flutter test
( #3728 )
2016-05-04 14:08:16 -07:00
Devon Carew
f34d31717c
complain on missing entries in flutter.yaml ( #3731 )
...
* complain on missing entries in flutter.yaml
* change to a hard failure
2016-05-04 12:33:34 -07:00
Devon Carew
1d4cda5d13
fix the benchmark file written by the analyze command ( #3725 )
2016-05-04 10:01:39 -07:00
Ian Hickson
961f5cd266
Fix framework-side time in profile data ( #3706 )
2016-05-03 14:45:22 -07:00
Collin Jackson
57d6e8514b
Merge pull request #3701 from collinjackson/assets
...
Support for putting assets in android/assets folder (like ios/Resources)
2016-05-03 14:08:47 -07:00
Ian Hickson
4b6af7a42f
Provide framework-only timing information ( #3699 )
...
This makes it easier to generate charts that show the engine time and
the framework time separately.
2016-05-03 13:51:22 -07:00
Collin Jackson
80ef81422d
Support for putting assets in android/assets folder (like ios/Resources)
2016-05-03 13:32:35 -07:00
Devon Carew
c9010c91f6
fix analysis errors ( #3677 )
...
* fix analysis errors
* review comments; fix test
* re-add an export for debugPrint
2016-05-03 09:09:00 -07:00
Eric Seidel
f58fa766c3
Add note about explicit pub get
needed.
...
@devoncarew @jason-simmons
2016-05-02 16:14:35 -07:00
Jason Simmons
30d8dc1399
Check the adb install output for errors and stop "flutter run" if package installation fails ( #3672 )
2016-05-02 14:11:40 -07:00
Jason Simmons
f161f239ef
Download Android AOT tools to the artifacts cache and build APKs using these tools ( #3649 )
...
Also update the engine to a build where these tools have been uplaoded
2016-05-02 11:40:32 -07:00
Adam Barth
21f1827bad
Add a sensible error message when jarsigner is missing ( #3665 )
...
Fixes #3624
2016-05-02 10:27:34 -07:00
Jason Simmons
01a27ca4ae
Build ahead-of-time compiled snapshots and incorporate them into Android APKs ( #3592 )
...
This currently requires a local build of the engine.
Run "flutter build aot" to build an AOT snapshot.
Run "flutter build apk --profile" to build a "profile mode" APK that uses AOT.
2016-04-29 13:44:01 -07:00
Devon Carew
99114cd414
show more errors on missing jarsigner ( #3626 )
2016-04-28 22:48:01 -07:00
Yegor
81af593745
[tools] download traces only from non-resident runs ( #3615 )
2016-04-28 13:35:32 -07:00
Devon Carew
26ed1e71f9
simplify the analysis benchmarking code ( #3588 )
...
* simplify the analysis benchmarking code
* review comments
2016-04-28 10:25:26 -07:00
Yegor
c2cccc7b3b
[tools] teach flutter run to get startup trace info ( #3589 )
2016-04-27 17:58:20 -07:00
Devon Carew
b0dca79671
Flutter run ( #3553 )
...
* rework flutter run
* fix npe with --debug-port
* connect to obs and exit when that conneciton closes
* update todos
2016-04-27 14:43:42 -07:00
Devon Carew
b0ebc71695
clean up git commits ( #3578 )
2016-04-27 10:47:52 -07:00