Commit Graph

3485 Commits

Author SHA1 Message Date
Jonah Williams
9fa0f3b2ea fix test for null flutter root (#44468) 2019-11-08 14:38:44 -08:00
Jonah Williams
978fada33c Refactor flutter.gradle to use assemble directly (#43876)
Removes multiple re-entrant calls of bundle and aot and replaces them with a single call to assemble. This restores full caching and will allow follow-up performance improvements when building multiple ABIs
2019-11-08 12:41:24 -08:00
Jonah Williams
cc51ad5d08 Reland: enable usage of experimental web compiler (#44400) 2019-11-07 20:13:02 -08:00
Jonah Williams
7535ef735f Revert "Enable usage of experimental incremental compiler for web (#43576)" (#44396)
This reverts commit e5d6d92498.
2019-11-07 16:32:20 -08:00
Jonah Williams
e5d6d92498 Enable usage of experimental incremental compiler for web (#43576) 2019-11-07 16:29:51 -08:00
Emmanuel Garcia
2c80bc973d Flip enable-android-embedding-v2 flag (#44369) 2019-11-07 15:18:56 -08:00
Zachary Anderson
12c190f746 [flutter_tool] Stream artifact downloads to files (#44360) 2019-11-07 14:01:57 -08:00
Emmanuel Garcia
b0ad6072ef Don't print how to consume AARs when building plugins as AARs (#44301) 2019-11-07 10:18:55 -08:00
Afzaal Ahmad Zeeshan
9492dcc7cc Update create.dart (#43764)
Changed the placements of the operands to make it more readable.
2019-11-07 10:17:03 -08:00
Emmanuel Garcia
cb614d1339 Fix v1 embedding support heuristic for plugins (#44214) 2019-11-07 08:24:19 -08:00
xster
d2e87a5d2c Build ios framework (#44065) 2019-11-06 14:54:15 -08:00
Alexander Markov
cf6a8d6a47 Do not pass obsolete --strong option to front-end server (#44278) 2019-11-06 14:46:10 -08:00
Emmanuel Garcia
bb8cf609ec Build local maven repo when using local engine (#44243) 2019-11-06 12:52:37 -08:00
Jonah Williams
383e90eb13 Use platform appropriate filepaths when constructing asset bundle (#44221) 2019-11-06 12:50:18 -08:00
Jonah Williams
aa333fda25 link platform should be true for profile (#44279) 2019-11-06 12:21:41 -08:00
Kaushik Iska
8e8add524e [flutter_tool] Screenshot command must require device only for _kDeviceType (#44227)
There are cases where we have access to the observatory without having a device connection accessible.
2019-11-06 10:59:29 -08:00
James D. Lin
1f0c3d462e Make ProjectFileInvalidator injectable (#44200)
Allow ProjectFileInvalidator to be overridden with a different
implementation.

I stole this from https://github.com/flutter/flutter/pull/39217.
2019-11-05 21:40:48 -08:00
Michael Klimushyn
02aac5072c Revert "Exit tool if a plugin supports the embedding v2 but the app doesn't (#44026)"
This missed some plugins that _do_ support the v1 embedding
(shared_preferences as one known case) so caused unexpected breakages.

This reverts commit b94c1a41ca.
2019-11-05 14:38:09 -08:00
Kaushik Iska
7dceec21f7 [flutter_tool] --flutter_runner will download the debug symbols (#44119)
This makes the flutter tool download the debug symbols for Flutter and Dart runners to be used in Fuchsia dev environment.
2019-11-05 14:07:48 -08:00
xster
ba26f926c7 Add Android embedding version analytics (#44043) 2019-11-05 12:38:42 -08:00
Jonah Williams
e5af60c83e Remove flutter.yaml migration code (#44146) 2019-11-05 12:28:03 -08:00
Zachary Anderson
372fe290e4 [flutter_tool] Update analytics policy, send event on disable (#43217) 2019-11-05 10:43:52 -08:00
Jonah Williams
0f6c093d68 Remove Source.behavior, fix bug in depfile invalidation (#43945)
* remove Source.behavior, fix bug in depfile invalidation

* more cleanup of assets

* Add skip

* address comments

* Update build_system.dart
2019-11-04 16:37:43 -08:00
Emmanuel Garcia
76957c9da8 build aar prints how to consume the artifacts (#44127) 2019-11-04 16:28:27 -08:00
Emmanuel Garcia
b94c1a41ca Exit tool if a plugin supports the embedding v2 but the app doesn't (#44026) 2019-11-04 13:37:51 -08:00
Jonah Williams
3422540bc4 copy chrome preferences to seeded data dir (#44032) 2019-11-04 09:09:20 -08:00
Jonah Williams
df0501c7d3 remove services code (#44052) 2019-11-04 09:08:57 -08:00
Jonah Williams
5e1bb20c83 support --no-resident on the web (#44028) 2019-11-04 09:08:40 -08:00
Jonah Williams
f1186b0758 Asset server fix for sourcemaps (#44017) 2019-11-01 22:33:52 -07:00
Emmanuel Garcia
ade8dfac3d Move the plugin registrant to io.flutter.plugins and add the @Keep annotation (#44011) 2019-11-01 16:58:26 -07:00
Jenn Magder
2e7d9130b2 Observe logging from VM service on iOS 13 (#43915) 2019-11-01 14:37:17 -07:00
Jonah Williams
71740bef74 remove listDartSources (#43950) 2019-11-01 11:06:24 -07:00
Emmanuel Garcia
dea35da040 Log additional Android build failures (#43941) 2019-11-01 10:06:23 -07:00
Jonah Williams
a60a47ae2c Serve correct mime type on release dev server (#43907) 2019-10-31 14:57:34 -07:00
Emmanuel Garcia
175b37247d Refactor gradle.dart (#43479) 2019-10-31 13:19:15 -07:00
Jonah Williams
79323f7c13 Ensure target platform is passed is always passed to assemble (#43862) 2019-10-30 19:40:19 -07:00
Jonah Williams
79bc6cafc5 implement build aot with assemble for Android target platforms (#43282) 2019-10-30 15:23:25 -07:00
Zachary Anderson
d0d8e6edcb [flutter_tool] Teach the tool about local engine Fuchsia artifacts (#43759) 2019-10-30 14:11:18 -07:00
Jonah Williams
417449e2f3 Deflake flutter tool logger test (#43800) 2019-10-30 13:09:26 -07:00
Jonah Williams
349d694fb7 Revert "Added a null check for ranges in the sourceReport map. (#43667)" (#43827)
This reverts commit 0dc5ea4a95.
2019-10-30 10:57:35 -07:00
Efthymis Sarmpanis
c5b3b3ac26 Flutter doctor should require java 1.8+ (#41989) 2019-10-30 10:40:27 -07:00
Nate Bosch
7cf362fc31 Handle onError callback with optional argument (#43436)
Check for a binary callback first since a function with an optional
second argument will match both typedefs.

Remove documentation around a synchronous error following some other
error or value - a synchronous error can never follow a value or an
asynchronous error. If there is a synchronous error it will _always_ be
the first thing to happen.

Add a test for a unary error handler and an error handler with an
optional stack trace argument.
2019-10-30 10:39:50 -07:00
Larry McKenzie
0dc5ea4a95 Added a null check for ranges in the sourceReport map. (#43667) 2019-10-30 10:35:45 -07:00
stuartmorgan
f6f6e86eb8 Split desktop config fallback variable by platform (#43758)
The environment variable for all desktop platforms is currently
ENABLE_FLUTTER_DESKTOP to allow backward compatibility with existing
workflows. However, this is actually causing issues since 'flutter
config' provides a better experience (most importantly, IDEs will work
correctly, which is generally not the case with the environemnt
variable). Currently people following old (third-patry) instructions
don't realize that they are missing available functionality, so aren't
looking for the current instructions.

In adddition, this will be confusing as different platform graduate to
channels other than master at different times.

To resolve both issues, the environment variable fallback is now
separate for each desktop platform, and follows a naming scheme
consistent with the web environment variable.
2019-10-29 21:43:25 -07:00
Jonah Williams
50da3bd062 check if libimobiledevice executables exist (#43767) 2019-10-29 21:35:51 -07:00
Jonah Williams
b1aff28593 pass --no-gen-bytecode to aot kernel compiler invocations (#43753) 2019-10-29 16:05:54 -07:00
Emmanuel Garcia
7e60a65ff0 Don't read AndroidManifest.xml if it doesn't exit (#43669) 2019-10-29 16:05:13 -07:00
Christopher Fujino
261594e785 add libzip cache artifact (#43677) 2019-10-29 14:29:00 -07:00
liyuqian
c523149819 Reland "Enable dump-skp-on-shader-compilation in drive (#43022)" (#43455)
This reverts commit b9eb3f717a.

We fixed the issue by updating the constructors.
2019-10-29 14:20:22 -07:00
Jonah Williams
331d19ff4b Add reloadMethod RPC (#43725) 2019-10-29 13:21:06 -07:00