Zachary Anderson
05226d2a61
Reland: [flutter_tool] Fuchsia AOT builds ( #45350 )
...
* Reland: [flutter_tool] Fuchsia AOT builds
* Fixes
2019-11-21 12:55:39 -08:00
Zachary Anderson
0216953674
Revert "[flutter_tool] Fuchsia AOT builds ( #45187 )" ( #45349 )
...
This reverts commit a57dddd217
.
2019-11-21 09:41:46 -08:00
Zachary Anderson
a57dddd217
[flutter_tool] Fuchsia AOT builds ( #45187 )
2019-11-21 08:32:58 -08:00
Jonah Williams
df3505c1f3
Improve performance of build APK (~50%) by running gen_snapshot concurrently ( #44534 )
2019-11-19 11:26:07 -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
Zachary Anderson
d0d8e6edcb
[flutter_tool] Teach the tool about local engine Fuchsia artifacts ( #43759 )
2019-10-30 14:11:18 -07:00
Zachary Anderson
0dfabb2ae1
[flutter_tool] Use engine flutter_runner prebuilts ( #43381 )
...
* [flutter_tool] Use engine flutter_runner prebuilts
* Update packages/flutter_tools/lib/src/fuchsia/fuchsia_build.dart
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
2019-10-28 09:38:08 -07:00
Jonah Williams
79a985f9fd
Add compiler configuration to support dartdevc target ( #43281 )
2019-10-22 20:35:05 -07:00
Jonah Williams
7a487b2cbf
Ensure we find dart.exe on local engines ( #41514 )
2019-09-27 18:54:24 -07:00
Jonah Williams
9bd02a1787
Re-Re-Re-land implement flutter build bundle with assemble ( #41302 )
2019-09-25 13:55:29 -07:00
Jonah Williams
cc3ca9a916
Revert "Re-Re-land Implement flutter build bundle with assemble ( #41230 )" ( #41295 )
2019-09-25 10:57:58 -04:00
Jonah Williams
84a476a4db
Re-Re-land Implement flutter build bundle with assemble ( #41230 )
2019-09-25 10:17:04 -04:00
Jonah Williams
f8ba6756c3
Revert "Reland: implement build bundle with assemble ( #40470 )" ( #40862 )
2019-09-19 09:04:07 -07:00
Jonah Williams
ea7876ae82
Reland: implement build bundle with assemble ( #40470 )
2019-09-19 07:46:50 -07:00
Zachary Anderson
e2340c641d
[flutter_tool] Use curly braces around single statment control structures ( #40446 )
2019-09-13 14:51:35 -07:00
Jonah Williams
609a78fdca
Revert "build bundle with assemble ( #37508 )" ( #40204 )
2019-09-10 20:03:52 -07:00
Jonah Williams
a7aff56741
build bundle with assemble ( #37508 )
2019-09-10 19:28:38 -07:00
Jonah Williams
b2d19d2af5
Add support for macOS release/profile mode (3 of 3) ( #38909 )
2019-08-23 08:46:24 -07:00
Liam Appelbe
0cd0c66021
Change priority of gen_snapshot search paths ( #37647 )
2019-08-06 08:45:08 -07:00
Jonah Williams
2ab469952b
Flutter assemble for macos take 2! ( #36987 )
2019-07-31 16:19:22 -07:00
Jonah Williams
d1190b638f
remove unrelated code ( #36481 )
2019-07-18 16:49:39 -07:00
Christopher Fujino
102ab1e6d9
Reland bundle ios deps ( #36093 )
...
This updates the flutter tool cache to download binary files for ideviceinstaller, ios-deploy, libimobiledevice, and dynamically linked dependencies from Flutter's GCP bucket.
2019-07-15 09:22:29 -07:00
Christopher Fujino
e91822da24
Revert "Bundle ios dependencies ( #34669 )" ( #36071 )
...
This reverts commit 14d489adc5
.
2019-07-12 09:03:34 -07:00
Christopher Fujino
14d489adc5
Bundle ios dependencies ( #34669 )
...
This updates the flutter tool to cache binary files for ideviceinstaller, ios-deploy, libimobiledevice, and dynamically linked dependencies from Flutter's GCP bucket.
2019-07-12 08:36:18 -07:00
Jonah Williams
e91b98a41f
Add initial implementation of flutter assemble ( #32816 )
2019-07-11 16:53:17 -07:00
Alexandre Ardhuin
c7408be181
prepare for lint update of prefer_final_fields ( #35059 )
2019-06-25 19:39:34 +02:00
Jonah Williams
73330e1241
Remove compilation trace and dynamic support code ( #34529 )
2019-06-18 15:22:04 -07:00
Jonah Williams
83986acbdb
Add a real-er web restart, doctor, workflow ( #33786 )
2019-06-03 23:19:42 -07:00
Jonah Williams
da600bacfe
Reland - Wire up hot restart and incremental rebuilds for web ( #33533 )
2019-05-29 22:46:28 -07:00
Jonah Williams
925f5f1c53
Revert "Wire up hot restart and incremental rebuilds for web ( #33197 )" ( #33529 )
...
This reverts commit 52ae99682e
.
2019-05-29 12:09:01 -07:00
Jonah Williams
52ae99682e
Wire up hot restart and incremental rebuilds for web ( #33197 )
2019-05-29 09:49:16 -07:00
Jonah Williams
0acd3e6b04
refactor context to be implicit-downcast safe ( #31622 )
2019-04-25 15:51:08 -07:00
Jonah Williams
7f959d8b78
Add Xcode build script for macOS target ( #31329 )
2019-04-22 13:51:00 -07:00
Stanislav Baranov
08445c8a01
Stop precaching the artifacts for dynamic mode. ( #31282 )
2019-04-22 09:05:38 -07:00
Alexander Aprelev
d775908c7e
Download and handle product version of flutter patched sdk ( #31063 )
...
* Support release/debug flavors of flutter_patched_sdk
* Use [anyNamed] instead of [any] for mocking named arguments
* Fix use of local engine in release mode
2019-04-15 21:02:20 -07:00
Jonah Williams
44b22c7b04
Fix cache location, artifacts, and re-enable dart2js test ( #29783 )
2019-03-25 18:47:37 -07:00
Jonah Williams
77142b8257
Revert "re-enable dart2js test ( #29010 )" ( #29030 )
...
This reverts commit 6a7f231d89
.
2019-03-07 22:18:15 -08:00
Jonah Williams
6a7f231d89
re-enable dart2js test ( #29010 )
2019-03-07 21:56:02 -08:00
Alexandre Ardhuin
5169ab5974
format parameter list ( #27261 )
2019-02-21 09:27:07 +01:00
Jonah Williams
9bc5656637
Wire dart2js through flutter tool, add compilation test ( #27668 )
2019-02-14 22:42:30 -08:00
Alexandre Ardhuin
ef276ffea5
format initializer list of constructors ( #27111 )
2019-01-29 21:47:16 +01:00
Jonah Williams
a226c0f0d9
Add a flutter-attach entry point for fuchsia ( #24878 )
2018-11-30 16:18:18 -08:00
Jonah Williams
81c7af342d
Add fuchsia specific entrypoint ( #23916 )
2018-11-06 14:36:35 -08:00
Jonah Williams
c9ca7c4936
Add override frontend_server snapshot for fuchsia_reload command ( #23162 )
2018-10-16 14:27:22 -07:00
Alexandre Ardhuin
2ea1d81cdc
sort_constructors_first ( #22575 )
2018-10-04 07:28:07 +02:00
Alexander Markov
83cdb5738e
Cleanup uses of entry points files ( #22098 )
2018-09-20 15:10:41 -07:00
Stanislav Baranov
c799c2fd80
Use "product" mode VM snapshot when running dynamic "release" mode flutter with cached engine. ( #22043 )
...
Dynamic "release" mode requires "product" (not "release") mode VM, so we must point it to the correct cached snapshot.
Generation and caching of this snapshot happens the following corresponding change: https://chromium-review.googlesource.com/c/chromium/tools/build/+/1232134
2018-09-20 13:12:38 -07:00
Alexandre Ardhuin
d927c93310
Unnecessary new ( #20138 )
...
* enable lint unnecessary_new
* fix tests
* fix tests
* fix tests
2018-09-12 08:29:29 +02:00
Stanislav Baranov
393f9276ca
Reland Flutter tool support for dynamic code #20543 ( #20646 )
2018-08-16 08:43:41 -07:00
Jonah Williams
58e52cc177
Revert "Flutter tool support for dynamic code" ( #20644 )
...
* Revert "iOS Dialog blur, brightness, and layout (#18381 )"
This reverts commit 21bc9f1b02
.
* Revert "Flutter tool support for dynamic code. (#20543 )"
This reverts commit 25ba90aafa
.
2018-08-15 13:32:22 -07:00
Stanislav Baranov
25ba90aafa
Flutter tool support for dynamic code. ( #20543 )
2018-08-15 12:27:35 -07:00
Alexandre Ardhuin
eda03e2586
re-re-enable lint unnecessary_const ( #20103 )
2018-08-02 12:02:32 +02:00
Todd Volkert
00aac68e2d
Revert flutter/flutter#19592 ( #19861 )
...
It was causing problems rolling Flutter into Fuchsia
2018-07-27 08:44:39 -07:00
Alexandre Ardhuin
27018359d2
re-enable lint unnecessary_const ( #19592 )
...
* re-enable lint unnecessary_const
* remove trailling whitespaces
* remove unnecessary const (after merge)
2018-07-23 08:31:48 +02:00
Ian Hickson
f630f90d6d
Revert "enable lint unnecessary_const ( #19342 )" ( #19423 )
...
This reverts commit cc1cf13eec
.
2018-07-16 13:30:27 -07:00
Alexandre Ardhuin
cc1cf13eec
enable lint unnecessary_const ( #19342 )
2018-07-16 21:43:48 +02:00
Alexander Aprelev
9e0a6107fa
Support local-engine option for flutter_tester on Windows. ( #16648 )
2018-04-16 20:40:52 -07:00
Konstantin Scheglov
cf500bf6cd
Integration test for FlutterTesterDevice. ( #16424 )
2018-04-11 08:52:17 -07:00
Konstantin Scheglov
38970f5f75
Add a new Device backed by flutter_tester. ( #16405 )
2018-04-10 09:37:16 -07:00
Todd Volkert
8d11f5c763
Make AppContext immutable and race-free ( #15984 )
...
This updates AppContext per the recommendations in #15352
Fixes #15352
2018-03-28 10:58:28 -07:00
Alexander Markov
602e6d74b5
Pass entry points JSON files to front-end server, take 2 ( #15227 )
...
* Pass entry points JSON files to front-end server (#15180 )
* Fix ios/debug build which uses 'flutter build aot': do not require entry points files and disable AOT transformations in this mode
2018-03-06 18:45:45 -08:00
Alexander Markov
01d8e0a143
Revert "Pass entry points JSON files to front-end server" ( #15223 )
...
* Revert "Pass entry points JSON files to front-end server (#15180 )"
This reverts commit 0edea88745
.
Reason: buildbot failures on Mac.
2018-03-06 16:08:37 -08:00
Alexander Markov
0edea88745
Pass entry points JSON files to front-end server ( #15180 )
2018-03-06 14:50:22 -08:00
Keerti Parthasarathy
0263394028
Adding back commit #e0f6e62 with fix to test failures ( #15212 )
...
* Add to Artifacts, and add optional arguments to entry points for flut… (#15185 )
Add to Artifacts, and add optional arguments to entry points for flutter run and test to allow for wiring up the same with preview-dart-2 internally
* Changing packages uri here is not necessary
2018-03-06 14:41:50 -08:00
Keerti Parthasarathy
7066cd7b88
Revert "Add to Artifacts, and add optional arguments to entry points for flut… ( #15185 )" ( #15210 )
...
This reverts commit e0f6e626e9
.
2018-03-06 11:55:39 -08:00
Keerti Parthasarathy
e0f6e626e9
Add to Artifacts, and add optional arguments to entry points for flut… ( #15185 )
...
Add to Artifacts, and add optional arguments to entry points for flutter run and test to allow for wiring up the same with preview-dart-2 internally
2018-03-06 10:03:42 -08:00
Alexander Aprelev
fe00598ab3
Reintroduce engineDartSdkPath artifact. ( #14742 )
...
This is needed to support running with local engine's dart sdk.
This is follow-up to https://github.com/flutter/flutter/pull/14702 .
2018-02-16 09:20:23 -08:00
Alexander Aprelev
c0c6c60b8f
Use already downloaded dart sdk for frontend_server. ( #14702 )
...
* Use already downloaded dart sdk for frontend_server.
This is follow-up to https://github.com/flutter/flutter/pull/14610
* Remove reference to engine dart-sdk from artifacts
* Remove unused imports
* WIP to switch back to solution where dart sdk is downloaded into bin/cache/dart-sdk, but it is 'flutter precache -a' that can download all dart sdks for other platforms under bin/cache/artifacts/engine/<platform>/dart-sdk
* Download all dart sdks when 'flutter precache -a'
2018-02-15 07:29:42 -08:00
asiva
83e0ca24fd
Fuse --strong into --preview-dart-2 option.
2018-02-08 09:18:52 -08:00
Alexandre Ardhuin
c02b6a8bcf
some whitespace cleanup ( #14443 )
2018-02-02 23:27:29 +01:00
Jason Simmons
d5149d4457
Toolchain support for Android ARM64 targets ( #14394 )
2018-02-01 15:14:48 -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 Aprelev
70b32e85a3
Use processManager.canRun instead of file existance check.
2017-12-22 17:00:24 -08:00
Alexander Aprelev
a6c963032e
Fix gen_snapshot name, path for Windows.
...
Executables have '.exe' extension on Windows. We do have to specify extension for gen_snapshot since when running with local engine, we are looking for that exact file before launching it.
2017-12-22 17:00:24 -08:00
Ben Konyi
0ca1af7e4f
Removed additional dead code.
2017-12-11 11:13:16 -08:00
Ben Konyi
90ad465f8e
Removed dead code.
2017-12-11 11:13:16 -08:00
Ben Konyi
08c2e0771f
Removed special cases for '.exe'.
2017-12-11 11:13:16 -08:00
Ben Konyi
bf33eb78c5
Enabling 'flutter test' for Windows (woohoo!).
2017-12-11 11:13:16 -08:00
Jason Simmons
eb475bbb80
move dart_io_entries.txt to third_party/dart for AOT builds with a local engine ( #12659 )
2017-10-20 15:32:27 -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
Jason Simmons
22ccb74ef5
Check all possible output directories to find a locally built gen_snapshot ( #11417 )
...
The output location of gen_snapshot differs based on the engine's target
platform, and we don't know the target platform when building a
platform-independent FLX in JIT mode.
2017-07-27 14:22:21 -07:00
Ryan Macnak
1650420db5
Update --local-engine to account for changed host architecture of 32-bit Android debug builds. ( #11263 )
...
Roll engine to 03e642bc8940441bbad5c2fb7d3ca868c1fdad54.
2017-07-17 14:56:27 -07:00
Ryan Macnak
fce76bcfd6
Revert "Update --local-engine to account for changed host architecture of 32-bit Android debug builds. ( #11251 )" ( #11259 )
...
This reverts commit 3f514fcfdf
.
2017-07-17 13:47:03 -07:00
Ryan Macnak
3f514fcfdf
Update --local-engine to account for changed host architecture of 32-bit Android debug builds. ( #11251 )
...
Roll engine to 7480e32854606e554ae37f8bd241c050bdc565c4.
2017-07-17 12:20:14 -07:00
Michael Goderbauer
561e7773c2
Fix path to flutter_tester when using local enginde on Mac OS ( #11134 )
2017-07-10 12:34:04 -07:00
Jason Simmons
91dbb3c91e
roll engine and update tools for the removal of dart:jni ( #9137 )
2017-03-31 16:20:14 -07:00
Jason Simmons
e7f1361681
Update artifact names and remove obsolete artifacts ( #9091 )
2017-03-29 16:30:41 -07:00
Jason Simmons
72effdd27c
Roll the engine and update for new binary names ( #9089 )
2017-03-29 15:31:36 -07:00
Jakob Andersen
7b2367ed5f
Remove legacy .apk build. ( #8793 )
...
* Remove legacy .apk build.
Print out an error message telling the user to upgrade the project if
it's not Gradle-based. Removed all the obvious traces of the legacy
build.
Added support for Dart VM kernel snapshots in Gradle builds.
Fixed Android installs to verify that the app is actually installed, and
not just rely on the presence of the .sha1 file.
2017-03-20 11:05:55 +01:00
Zachary Anderson
b6ba37d768
Adds initial support for hot reload for Fuchsia to flutter_tool. ( #8764 )
2017-03-14 11:12:19 -07:00
Jason Simmons
e44f513e43
Fix the gen_snapshot path for a local_engine FLX build in debug mode ( #8754 )
...
gen_snapshot is now used for both JIT and AOT snapshots. The JIT version
used in debug mode will be a 64-bit binary.
2017-03-14 10:17:59 -07:00
Michael Goderbauer
906103dd10
eliminate sky snapshot ( #8631 )
...
* eliminate sky snapshot
* roll engine
2017-03-08 13:33:06 -08:00
Chris Bracken
7a09316cd0
Declare locals final where not reassigned (flutter_tools) ( #8570 )
2017-03-03 17:50:46 -08:00
Michael Goderbauer
d579d58702
Enable Hot Reload on Windows (backed by gen_snapshot) ( #8512 )
...
* 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
2017-03-02 10:57:27 -08:00
Michael Goderbauer
cd8434d931
Refactor how Artifacts are located ( #8234 )
...
Artifacts are now located in a central place.
This will enable us to downlaod artifacts when we need them (instead of
downloading them all upfront).
This also makes replacing sky_snapshot with gen_snapshot easier.
2017-02-16 23:10:11 -08: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
Devon Carew
f132acaf1d
use the new cache code to locate more artifacts ( #3361 )
...
* use the new cache code to locate more artifacts
* add todo
* review comments
2016-04-15 21:08:03 -07:00