110 Commits

Author SHA1 Message Date
Emmanuel Garcia
7ae2fa67bd Move Skia gold client to shared location (flutter/engine#33672) 2022-05-31 16:33:04 -07:00
sigmundch
988a3911db [web]: update libraries.json to use the include feature. (flutter/engine#32874) 2022-04-28 15:09:04 -07:00
joshualitt
a90e631f77 [web] Migrate Flutter Web to JS static interop - 1. (flutter/engine#32407)
This is the first CL in a series of cls to migrate Flutter Web to JS
static interop.
2022-04-05 12:07:22 -07:00
Mouad Debbar
d8673830fd Revert "[web] Remove the --passfail flag when calling goldctl in post-submit (#32071)" (flutter/engine#32087) 2022-03-18 09:43:12 -04:00
Mouad Debbar
82f5785226 [web] Log all goldctl commands (flutter/engine#32072) 2022-03-17 09:48:30 -04:00
Mouad Debbar
c1d8789876 [web] Remove the --passfail flag when calling goldctl in post-submit (flutter/engine#32071) 2022-03-16 13:00:09 -07:00
godofredoc
eac59ff580 Fix web_engine_archive target. (flutter/engine#31751) 2022-03-02 08:26:11 -08:00
godofredoc
229e5b9a1d Generate fonts in the expected location. (flutter/engine#31575)
* Generate fonts in the expected location.

Fonts-subset is generated directly in out/../zip_archives but the final
destination is expected to be inside a folder like linux-x64. This PR
generates the file directly in the expected path.

Bug: https://github.com/flutter/flutter/issues/81855

* Fix font zip tests.

* Revert changes to run_tests.py

* Update host_os_cpu_name variable to report darwin for mac.

* Fix variable names.

* Calculate prebuilts path using mac instead of darwin.

* Add platform to fontset path.

* Fix platforms map.

* Add debugging.

* Add win32 to the map of artifact locations.

* Use full_platform_name instead of host_os_name.

* Use x32 for windows font binaries.

* Fix paths for debug version in windows.

* Use x64 for win32.

* Remove additional logging.

* Add linux2 to map of platforms.
2022-02-23 19:35:20 -08:00
godofredoc
7525d73232 Fix gn problem impacting fuchsia builds. (flutter/engine#31615) 2022-02-22 13:59:09 -08:00
godofredoc
56a84d32da GN targets to create flutter_web_sdk. (flutter/engine#31556) 2022-02-19 22:24:02 -08:00
sigmundch
9eb3d24186 Revert "[web]: update libraries.json to use the include feature. (#30961)" (flutter/engine#31123) 2022-01-28 11:25:11 -08:00
Mouad Debbar
25ad7b4adf [web] Fix screenshot tests running locally (flutter/engine#31054) 2022-01-25 10:05:02 -08:00
sigmundch
c11791240a [web]: update libraries.json to use the include feature. (flutter/engine#30961) 2022-01-24 10:55:10 -08:00
Mouad Debbar
91e7f57f14 [web] Remove usage of flutter/goldens (flutter/engine#30116) 2022-01-24 11:20:11 -05:00
Mouad Debbar
f111c9f844 [web] Move ui files to lib/ (flutter/engine#30051) 2022-01-14 11:20:10 -08:00
sigmundch
5d1a6d167e [web] bring libraries.yaml/libraries.json up to date (flutter/engine#30467) 2022-01-04 21:45:07 -08:00
Yegor
e7c4fcc17d [web] consolidate JS interop code (attempt 2) (flutter/engine#30161)
The original https://github.com/flutter/engine/pull/30007 was reverted
because it broke the framework. Turns out the framework still used the
WebExperiments code, which has been cleaned up in https://github.com/flutter/flutter/pull/94739.

This PR must land after https://github.com/flutter/flutter/pull/94739.

This reverts commit ae31d5a5d82c8091d859c27922e5f52e3a264286.
2021-12-07 09:27:06 -08:00
Jim Graham
ae31d5a5d8 Revert "[web] consolidate JS interop code (#30007)" (flutter/engine#30137)
This reverts commit 01a91d484eab5fae50381ab7c94fcdca9fbb56a9.
2021-12-04 18:54:31 -08:00
Yegor
01a91d484e [web] consolidate JS interop code (flutter/engine#30007)
* Consolidate and check JavaScript access
* Remove all `ignore: implicit_dynamic_function`
* Add `js_access_test.dart` that validates JS access
* Make `engine.dart` an exports-only library
* Fix `sdk_rewriter_test.dart` and `ci/analyze.sh` (they skipped some tests)
2021-12-03 15:46:03 -08:00
Mouad Debbar
b44dfd45b3 [web] Use fuzzy matching in Gold (flutter/engine#29847) 2021-11-29 16:07:33 -05:00
Mouad Debbar
e784b12872 [web] Start support for Skia Gold (flutter/engine#29139) 2021-11-15 16:05:31 -08:00
Yegor
5e017917d5 [web] move all build artifacts under web_ui/build (flutter/engine#29666)
* [web] move all build artifacts under web_ui/build
2021-11-11 13:47:59 -08:00
godofredoc
454e39efe6 Migrate golds script to use main branch. (flutter/engine#29389) 2021-10-28 14:28:05 -07:00
sigmundch
357aae21f0 [web] use 'dart compile js' instead of 'dart2js' in web_ui and felt (flutter/engine#29179) 2021-10-14 14:33:01 -07:00
Anthony
50adf078fd [Re-land] Add SPIR-V FragmentShader API to painting.dart (flutter/engine#28208)
[Re-land] Add SPIR-V FragmentShader API to painting.dart

- Add a SPIR-V FragmentShader interface in painting.dart
- Create end to end pixel tests for ops supported by the SPIR-V to SkSL transpiler
- The end to end tests also test the c++ fragment shader implementation

Co-authored-by: Christopher Crawford <chriscraws@gmail.com>
2021-08-20 11:24:14 -04:00
Zachary Anderson
e3f282c563 Revert "Add SPIR-V FragmentShader API to painting.dart (#26996)" (flutter/engine#28202)
This reverts commit 1b518619357cc1666a9fca183c9766d1ece16d0f.
2021-08-19 12:38:10 -07:00
Anthony
1b51861935 Add SPIR-V FragmentShader API to painting.dart (flutter/engine#26996)
Add SPIR-V FragmentShader API to painting.dart
2021-08-18 12:58:25 -04:00
Zachary Anderson
5c4431a610 Use a pool for dart actions to avoid OOMs (flutter/engine#27781)
* Use a pool for dart actions to avoid OOMs

* Add Windows support
2021-07-29 23:43:49 -07:00
Zachary Anderson
e4e5297094 Adjust web_sdk rule deps (flutter/engine#27435) 2021-07-15 09:57:35 -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
Zachary Anderson
7829bfd192 Fix prebuilt Dart SDK use on Windows (flutter/engine#27264) 2021-07-08 17:05:54 -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
72d7ac4ba4 Remove unnecessary experiment flag (flutter/engine#27072)
* Remove unnecessary experiment flag

* add explicit --no-sound-null-safety
2021-07-01 12:27:42 -07:00
Dan Field
81388c9511 Revert "--sound-null-safety instead of enable-experiment where possible (#26999)" (flutter/engine#27059)
This reverts commit a34de4830b50728b589903abfe69a7d809967b73.
2021-06-29 21:36:07 -07:00
Dan Field
a34de4830b --sound-null-safety instead of enable-experiment where possible (flutter/engine#26999) 2021-06-29 15:36:03 -07:00
Yegor
660d911915 [web] migrate web_sdk to null safety (flutter/engine#26720) 2021-06-11 18:04:02 -07:00
Yegor
7a60f2fb7f [web] text_editing_test.dart nnbd; bump test dep (flutter/engine#26709) 2021-06-11 12:31:51 -07:00
Yegor
339073d44b [web] migrate some felt code to null safety (flutter/engine#26644)
* [web] migrate some felt code to null safety
2021-06-09 11:30:51 -07:00
Mouad Debbar
d05c96d8fa [web] Fix some regex issues in the sdk_rewriter (flutter/engine#25866) 2021-05-03 11:10:11 -07:00
Mouad Debbar
6d732d05b6 [web] Start splitting the engine into smaller libs (flutter/engine#25569) 2021-04-19 15:09:39 -07:00
Michael Goderbauer
d627e66bcf remove ignores (flutter/engine#25131) 2021-03-25 10:19:01 -07:00
Yegor
5a5f326745 [web] Make window.locale(s) non-null; upgrade to null safe deps (flutter/engine#24922)
* Make window.locale(s) non-null

* upgrade deps to null-safe; migrate some test libs
2021-03-11 14:28:49 -08:00
Jonah Williams
11f0419aa4 [web] specify all defines used for html, ck, auto rendering modes (flutter/engine#23433) 2021-01-05 21:18:56 -08:00
Siva
ae14ea248a Add missing sdk constriant in pubspec.yaml files. (flutter/engine#23124)
* Add missing sdk constriants in pubspec.yaml files.

* Update tools/android_lint/pubspec.yaml

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2020-12-17 09:45:26 -08:00
Yegor
d2213fc58e Make CkPicture resurrectable (flutter/engine#22807)
* Make CkPicture resurrectable

* disable goldens on Firefox

* add non-recording canvas test; fix Firefox test
2020-12-03 13:13:44 -08:00
Ferhat
ba105e0ea0 [web]Update @dart annotation. Change shaders to allocate smaller canvas (flutter/engine#22481) 2020-11-13 13:55:32 -08:00
nturgut
00333158e6 Upgrades to felt (running on multiple modes, multiple backends, single test target option) (flutter/engine#22260)
* testing running the tests on all build modes

* don't run debug mode on other browsers

* fix platform message test failures

* some cleanup. change dispose platform channel message

* adding flags to control the integration tests better with felt

* running tests by target name, selecting web rendering backend

* fix conditions

* carrying some conditions to helper methods. Adding comments

* create a blocked list for failing canvaskit test

* parse parameters before all integration tests

* Give better warning to developers for tests that are blocked for CI

* address some reviwer comments (more remains)

* remove named parameters

* also run with auto mode

* add verbose option

* reduce the number of tests running. skip url_test for now
2020-11-11 17:18:15 -08:00
Yegor
06a9b5b950 Update pubspecs to null-safe dependencies (flutter/engine#22366)
* update pubspecs to null-safe dependencies

* remove build_runner dep; upgrade quiver

* use analysis_options.yaml to control analysis scope
2020-11-06 17:54:53 -08:00
Jason Simmons
717ab830a1 Roll the path package in web_ui and web_test_utils to match the version used by the framework (flutter/engine#22309) 2020-11-04 22:23:31 -08:00
Jonah Williams
d3d5bd8761 [null-safety] update path version (flutter/engine#22134) 2020-10-26 18:49:42 -07:00