642 Commits

Author SHA1 Message Date
Dan Field
298ab24bf5 Reland use a pbuffer surface when in the background (flutter/engine#27629)
* Reland "Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android (#27141)" (#27607)"

This reverts commit 78663924741a29aeca10648015e39db6fbd28be4.

* Do not let gradle download SDK deps
2021-07-21 15:07:35 -07:00
Gary Qian
5417eef989 Revert "Enable Dart compressed pointers for 64-bit mobile targets" (flutter/engine#27615) 2021-07-21 00:22:29 -07:00
Dan Field
7866392474 Revert "Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android (#27141)" (flutter/engine#27607)
This reverts commit 9520cdc6c45bc45f8e944618a0ff641fd5f5429a.
2021-07-20 16:40:55 -07:00
Dan Field
9520cdc6c4 Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android (flutter/engine#27141) 2021-07-20 16:05:54 -07:00
Liam Appelbe
6657092b22 Enable Dart compressed pointers for 64-bit mobile targets (flutter/engine#27373) 2021-07-20 15:23:49 -07:00
David Worsham
934eced2e4 fuchsia: Add hermetic SessionConnection tests; rename (flutter/engine#27327) 2021-07-20 13:52:09 -07:00
Jason Simmons
ab998239a4 Extract the prebuilt Dart SDK to a temp directory and then move it after the extraction completes (flutter/engine#27569)
* Extract the prebuilt Dart SDK to a temp directory and then move it after the extraction completes

This ensures that the GN script will not see an invalid Dart SDK at the
expected path if the extract fails.

* Add os_arch to temp extraction path

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2021-07-20 08:35:52 -07:00
Zachary Anderson
8aa14be6b5 Warn, but don't fail if prebuilt Dart SDK could not be fetched (flutter/engine#27546) 2021-07-19 09:50:37 -07:00
Zachary Anderson
d566a7bed6 Re-route githook for Windows (flutter/engine#27532) 2021-07-18 21:17:38 -07:00
Darren Chan
cbcbbf7102 Migrate non-scenic-based fuchsia tests to cfv2. (flutter/engine#27241)
This PR also wraps up the soft transition for #27417.

Because some unit tests depend on the real Scenic which isn't hermetic, `flutter_runner_tests` and `flutter_runner_scenic_tests` aren't currently compatible with cfv2.
This will change once a FakeScenic is created (https://fxbug.dev/79873).

See https://fxbug.dev/79691.
2021-07-16 23:41:41 -04:00
Zachary Anderson
6065efeb6b Verbose output on CI from download_dart_sdk.py (flutter/engine#27484) 2021-07-16 10:16:42 -07:00
Rich Kadel
351c6c3dd5 Adds python3_action GN target (flutter/engine#27211)
Ninja runs `action` scripts using the default python interpretter, and
most flutter build scripts that use python currently require python2. In
order to support python3 scripts as well, the `python3_action` invokes a
wrapper python2-based script via GN `action` target, and the wrapper
invokes the python3 interpretter with the given script.

This new target is required to support flutter/engine#26880, but is
broken out to a separate PR (by request) to support other more immediate
use cases.
2021-07-16 10:03:25 -07:00
Kaushik Iska
45cf4e9ab1 [fuchsia] Use FFI to get System clockMonotonic (flutter/engine#27353) 2021-07-14 11:01:58 -07:00
Devon Carew
cda2feb215 restore the directives_ordering lint (flutter/engine#27346) 2021-07-13 08:26:02 -07:00
Devon Carew
5606c9682f update the analysis options for tools/licenses (flutter/engine#27339)
update the analysis options for tools/licenses
2021-07-12 16:34:42 -07:00
Yegor
6dfbdc3f05 [web] delete e2etests and all related tooling (flutter/engine#27299)
* [web] delete e2etests and all related tooling
2021-07-12 12:16:31 -07:00
Devon Carew
22df124af6 disable the directives_ordering lint (flutter/engine#27331) 2021-07-12 11:31:46 -07:00
Chase Latta
d7a4148d62 [fuchsia] make dart_runner work with cfv2 (flutter/engine#27226)
Adds support for running the dart runner as a CFv2 component.
The runner has been refactored to launch in both a v1 environemnt
as well as a v2 environment.
2021-07-08 15:19:21 -07:00
Zachary Anderson
83066bd45d Add an option to use a prebuilt Dart SDK (flutter/engine#26931) 2021-07-08 10:36:34 -07:00
Dan Field
f314bfb910 pub get offline for scenario_app (flutter/engine#27240) 2021-07-08 09:16:02 -07:00
Zachary Anderson
3f02650a9b Emit more info while running pre-push githooks (flutter/engine#27222) 2021-07-07 15:37:08 -07:00
Dan Field
75dd73587d Fix zip bundle structure (flutter/engine#27150)
* Fix zip bundle structure

* Add test, make test.py python3 safe
2021-07-07 15:31:28 -07:00
Jason Simmons
2e770170d0 Move the Android API JAR ahead of the third-party dependencies in the Javadoc classpath (flutter/engine#27125) 2021-07-01 21:56:02 -07:00
Darren Chan
cc3f93e26d Prepare for cfv2 unittests. (flutter/engine#27036) 2021-07-01 13:11:01 -07:00
David Worsham
5e5fe01dd2 Reland "fuchsia: Delete all the legacy code! (#26422)" (flutter/engine#27075)
This reverts commit bb3c49a9c3edf931a5601f0245faa85f5e077cb4.
2021-06-30 15:43:21 -07:00
Chase Latta
38cc5181d8 Allow fuchsia_archive to accept a cml file and cmx file (flutter/engine#27012)
This adds support for adding a cml file to a fuchsia package. The
cml file will be compiled to a cm file and included in the archive.
2021-06-28 13:48:21 -07:00
Dan Field
844fa85973 Fix Fuchsia build on Mac (flutter/engine#27007) 2021-06-28 10:36:01 -07:00
Zachary Anderson
c4922e97ae Use package:clang_tidy in git pre-push hook (flutter/engine#26986) 2021-06-26 22:13:26 -07:00
Dan Field
7d104db2ff Make const_finder a kernel snapshot rather than app_jit (flutter/engine#26958) 2021-06-24 21:10:24 -07:00
Dan Field
225eefb97f font-subset builds its own zip bundle and adds a README (flutter/engine#26927) 2021-06-24 12:36:55 -07:00
Chase Latta
6c40a784a2 Make fuchsia python scripts work with python3 (flutter/engine#26924) 2021-06-24 12:11:02 -07:00
Zachary Anderson
d4b386da55 Make clang_tidy test more hermetic (flutter/engine#26910) 2021-06-23 14:48:11 -07:00
Zachary Anderson
6ec4ac1011 Fix tools/luci/build.py script (flutter/engine#26895) 2021-06-23 09:34:22 -07:00
Dan Field
42ef4abc81 fix javadoc (flutter/engine#26892) 2021-06-22 23:01:01 -07:00
Zachary Anderson
39f533c8b8 Make ci/lint.dart more idiomatic and move to tools/clang_tidy (flutter/engine#26722) 2021-06-22 20:36:01 -07:00
Zachary Anderson
46d0947985 Add a python script for doing prod rebuilds (flutter/engine#26889) 2021-06-22 18:09:16 -07:00
Dan Field
383b728733 Const finder NNBD (flutter/engine#26883) 2021-06-22 16:11:01 -07:00
keyonghan
2b4b08f865 increase verification timeout (flutter/engine#26886) 2021-06-22 15:18:30 -07:00
Zachary Anderson
23cb015a33 Add pre-push git hook (flutter/engine#26699) 2021-06-20 16:12:53 -07:00
Dan Field
01bf2ce3d7 Android lint to NNBD (flutter/engine#26826) 2021-06-20 06:58:17 -07:00
Darren Chan
6ea64cbb71 [build] Speed up incremental & no-op builds. (flutter/engine#26815)
Per gn documentation, the output timestamp can remain the same if all outputs remain the same, resulting in large time savings since dependent targets don't need to be rebuilt.
See: https://gn.googlesource.com/gn/+/HEAD/docs/reference.md#target-declarations-action_declare-a-target-that-runs-a-script-a-single-time-outputs

Currently, `copy_debug_symbols.py` updates timestamps unconditionally, resulting in slower incremental and no-op builds.
We change its current behavior to not update the timestamps if the debug symbols will not change.

Local testing indicates around a `20s` improvement for no-op and incremental builds:
 - Control: http://go/paste/4800062489100288
 - Experiment: http://go/paste/5727928869453824

See https://fxbug.dev/79001.

CC: @naudzghebre
2021-06-18 19:35:06 -04:00
Chinmay Garde
ba8b4b7161 Add family of dependencies that work on SPIRV. (flutter/engine#26745) 2021-06-15 18:04:01 -07:00
Gary Qian
8bd3a1ca26 Update create_sdk_cipd_package.sh (flutter/engine#26755) 2021-06-15 00:21:26 -07:00
godofredoc
3e4c6957e4 Updates the objectc docs script to use env variables. (flutter/engine#26666) 2021-06-10 12:49:02 -07:00
Yegor
3d93c2d50f small clean-up of the license script (flutter/engine#26659)
* small clean-up of the license script
2021-06-09 16:22:35 -07:00
David Worsham
bad9b71a01 Revert "fuchsia: Delete all the legacy code! (#26422)" (flutter/engine#26637)
This reverts commit 9afd7d6af8a0d023c0db67d24c55eb6c08c48aba.
2021-06-08 12:47:44 -07:00
David Worsham
9afd7d6af8 fuchsia: Delete all the legacy code! (flutter/engine#26422) 2021-06-07 17:29:39 -07:00
Chris Bracken
f411050a16 Fix Android imports stamp file write mode (flutter/engine#26614) 2021-06-07 12:29:02 -07:00
LongCatIsLooong
f2d4eff14c [Android KeyEvents] Split AndroidKeyProcessor into separate classes (flutter/engine#25628) 2021-06-04 18:54:01 -07:00
Daco Harkes
c386089d6a Update pub_get_offline.py (flutter/engine#26510) 2021-06-01 08:19:02 -07:00