383 Commits

Author SHA1 Message Date
Jackson Gardner
82886d52b3 Web test reorganization (flutter/engine#39984)
Web test reorganization
2023-03-28 00:08:48 +00:00
Brandon DeRosier
9e9590a68f Revert "Post 3.0 lint sync (#40394)" (flutter/engine#40687)
This reverts commit 8ba209121d2671b0d202d9731fe67ec5eb1529b4.
2023-03-27 15:45:59 -07:00
Michael Goderbauer
8ba209121d Post 3.0 lint sync (flutter/engine#40394)
Post 3.0 lint sync
2023-03-27 17:15:08 +00:00
Harry Terkelsen
888d56a309 Reland "Default the CanvasKit base URL to local artifacts. (#40293)" (flutter/engine#40470)
This reverts commit d56b53d0c6006873499ba75dcc0bf478834a1b64.
2023-03-24 11:41:33 -07:00
Zachary Anderson
b4c1aaaf1c Revert "[web] Turn on CanvasKit Chromium (#40459)" (flutter/engine#40495)
Revert "[web] Turn on CanvasKit Chromium"
2023-03-21 18:18:51 +00:00
Mouad Debbar
a32e3ab927 [web] Turn on CanvasKit Chromium (flutter/engine#40459)
[web] Turn on CanvasKit Chromium
2023-03-21 16:23:09 +00:00
Zachary Anderson
d56b53d0c6 Revert "Default the CanvasKit base URL to local artifacts. (#40293)" (flutter/engine#40415)
Revert "Default the CanvasKit base URL to local artifacts."
2023-03-18 04:33:12 +00:00
Harry Terkelsen
d9e8942c04 Default the CanvasKit base URL to local artifacts. (flutter/engine#40293) 2023-03-17 14:36:11 -07:00
Jackson Gardner
5508a04de1 Output web test artifacts to out directory. (flutter/engine#40355)
Output web test artifacts to out directory.
2023-03-16 22:19:55 +00:00
Mouad Debbar
fe97e51d19 [web][felt] Add 'archive' target + 'profile' mode (flutter/engine#40060)
[web][felt] Add 'archive' target + 'profile' mode
2023-03-07 21:31:31 +00:00
godofredoc
bc2611e03c Web engine build config cleanup. (flutter/engine#40064)
Web engine build config cleanup.
2023-03-04 00:28:18 +00:00
Jackson Gardner
a3dc9e77fb Skwasm Renderer - initial implementation (flutter/engine#39072)
Skwasm Renderer - initial implementation
2023-03-02 00:01:04 +00:00
Mouad Debbar
2c378412f2 [web] Copy everything under the local canvaskit folder (flutter/engine#39799)
* [web] Copy everything under the local canvaskit folder

* Update compile_tests_step.dart
2023-02-23 15:06:18 +00:00
Yegor
543f998577 [web] consolidate network code into httpFetch (flutter/engine#39657)
* consolidate network code into httpFetch

* make HTTP test cross-browser friendly; fix copypasta
2023-02-16 00:02:02 +00:00
Jackson Gardner
43e7f9beeb Bump to Chrome 111. (flutter/engine#39525) 2023-02-10 01:05:10 +00:00
Jackson Gardner
6f7fd98f68 Remove uses of --full-dart-sdk from the engine_v2 builders. (flutter/engine#39297)
Also, do not produce host-specific web_sdk artifacts in the builders.
2023-01-31 23:01:00 +00:00
Jackson Gardner
5c3acfecc6 @alwaysThrows is deprecated. Return Never instead. (flutter/engine#39269) 2023-01-30 16:31:56 -08:00
Mouad Debbar
e1651d2e3a [web] Expose felt flag for building CanvasKit Chromium (flutter/engine#39201) 2023-01-30 21:48:15 +00:00
Ben Konyi
d3f45828bf Reland "Remove references to Observatory (#38919)" (flutter/engine#39139)
This reverts commit 5dd945442b230a2c0549ee6d798fda71e031a4a9.
2023-01-30 09:50:09 -05:00
Harry Terkelsen
3447ce87ad [web] Remove dependency on 'profiling' subfolder of canvaskit. (flutter/engine#38169) 2023-01-24 14:23:20 -08:00
Mouad Debbar
105bb9ab43 [web] Build multiple CanvasKit variants (using toolchain_args) (flutter/engine#38448)
* [web] New gn for building CanvasKit

* Use toolchain_args to override CanvasKit gn args

* Use correct path for the generated canvaskit files

* Put toolchain close to target

* remove extra toolchains

* remove extra import

* add canvaskit_lite to archive

* fix local canvaskit path in tests

* add some guards using visibility and asserts

* renames

* formatting

* rename mistake

* Add github issue to the TODO

* Update buildroot sha

* clang-tidy error

* skip canvaskit targets when not needed
2023-01-23 20:37:18 +00:00
Ben Konyi
002fce29e0 Revert "Remove references to Observatory (#38919)" (flutter/engine#39035)
Reason for revert: breaking Flutter -> plugins roll

This reverts commit 1f603711c7b7afe52dff3872a5035789e3ddba02.
2023-01-20 12:33:40 -05:00
Ben Konyi
1f603711c7 Remove references to Observatory (flutter/engine#38919)
Observatory is being deprecated for Dart 3.0 so it should no longer be referenced in tooling messaging / flags.

See https://github.com/dart-lang/sdk/issues/50233
2023-01-19 09:20:46 -05:00
Jackson Gardner
b9047c2756 Get unit tests working with dart2wasm (flutter/engine#38784) 2023-01-18 12:28:31 -08:00
Mouad Debbar
3b8d9a5429 [web] Reduce code size impact of fallback font data (flutter/engine#38787)
* [web] Reduce code size impact of fallback font data

* fix rangeEnd vs rangeLength mistake
2023-01-17 19:59:14 +00:00
skia-flutter-autoroll
32ed4b3d69 Roll Skia from dfb838747295 to 9e51c2c9e231 (26 revisions) (flutter/engine#38827)
* Roll Skia from dfb838747295 to 9e51c2c9e231 (26 revisions)

https://skia.googlesource.com/skia.git/+log/dfb838747295..9e51c2c9e231

2023-01-12 kjlubick@google.com Roll CanvasKit to 0.38.0
2023-01-12 jonahwilliams@google.com Allow clients to cache sample count and stencil params
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 0a9529c8cd2d to 4053bc460f32 (6 revisions)
2023-01-12 herb@google.com Fix stack alignment for SkAutoSTArray
2023-01-12 kjlubick@google.com Remove SkBudgeted in favor of skgpu::Budgeted
2023-01-12 johnstiles@google.com Implement comma operator in RP codegen.
2023-01-12 johnstiles@google.com Allow cloning from another stack with an offset-from-top.
2023-01-12 fmalita@chromium.org [skottie] Initial text editing experiment
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 46e3e213b046 to 1f9e50edd4d4 (9 revisions)
2023-01-12 kjlubick@google.com [base] Fold GrConfig.h into SkTypes.h
2023-01-12 kjlubick@google.com Break out metal headers used by C++ and ObjC code
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 77e7d61086a2 to 65176286ea26
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 154fb3872c36 to 0a9529c8cd2d (9 revisions)
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from eab5947427ad to 410d8ba51f95 (17 revisions)
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 8bedae1a44a2 to 77e7d61086a2 (4 revisions)
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 410b5acc7f3f to 46e3e213b046 (14 revisions)
2023-01-12 kyslov@google.com jpegr codec: get image origin from EXIF metadata
2023-01-12 ccameron@chromium.org Enable Jpeg gainmaps on Android
2023-01-11 johnstiles@google.com Add transpose support to RP codegen.
2023-01-11 johnstiles@google.com Add transpose support to the RP builder.
2023-01-11 jvanverth@google.com Some fixes to address null color attachment crash.
2023-01-11 johnstiles@google.com Create a RP transpose op, based on swizzle.
2023-01-11 kjlubick@google.com Remove two shim files
2023-01-11 kjlubick@google.com [canvaskit] Fix return value of Paragraph ranges
2023-01-11 kjlubick@google.com Disable JpegGainmapTest on WASM build
2023-01-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 93e4d1cd4725 to 154fb3872c36 (2 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC aaclarke@google.com,herb@google.com,jacksongardner@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

* Adjust to changes to CanvasKit getRectsForRange API.

* remove unused commit

* Roll CIPD CanvasKit and fix some unit tests.

* Adjustments to direction API and unit tests.

Co-authored-by: Jackson Gardner <jacksongardner@google.com>
Co-authored-by: jonahwilliams <jonahwilliams@google.com>
2023-01-12 19:33:45 -08:00
joshualitt
357662a383 [web] Update felt to use generated JS runtime for Dart2Wasm. (flutter/engine#38786) 2023-01-11 14:57:22 -08:00
Jackson Gardner
fe5366cae0 Generate font fallback data to be const. (flutter/engine#38259)
* Generate font fallback data to be const.

* Fix end points.
2022-12-13 15:59:37 -08:00
Jackson Gardner
3b68ad4bfe Check for renderer-specific versions of the tests first. (flutter/engine#38088)
* Check for renderer-specific versions of the tests first.

* Fix indentation.
2022-12-06 16:49:50 +00:00
Harry Terkelsen
f67cc46e98 Update Firefox to 106.0 (flutter/engine#38019) 2022-12-01 17:13:42 -08:00
Mouad Debbar
9d9401970f [web] Move unicode properties to third_party (flutter/engine#37440)
* [web] Move unicode properties to third_party

* license

* fix license check

* attempt to fix license golden

* more license fixes

* even more license fixes

* add check mode and readme file

* fix licenses + add web_unicode.dart

* build web_unicode as an sdk library

* remove unnecessary variable

* minor fix in license golden

* tool signature
2022-11-22 18:47:11 +00:00
Harry Terkelsen
7bdfae0d6b [web] Check for cached browsers on LUCI (flutter/engine#37721) 2022-11-17 14:17:52 -08:00
Harry Terkelsen
a73618b46a Roll Firefox to CIPD with dev/browser_roller.dart (flutter/engine#37692) 2022-11-16 16:55:08 -08:00
Jackson Gardner
5b7645c6b3 Remove felt snapshotting behavior. (flutter/engine#37639)
* Remove felt snapshotting behavior.

* Use `dart run`.
2022-11-15 22:11:32 +00:00
joshualitt
c6467e322e [web] Test harness fixes. (flutter/engine#37560) 2022-11-15 12:21:31 -08:00
Jackson Gardner
8b8ddc8c04 Skip the skwasm unit test suite on Safari since it is flaky. (flutter/engine#37602)
* Skip the skwasm unit test suite on Safari since it is flaky.

* Add TODO.
2022-11-15 20:20:45 +00:00
Harry Terkelsen
cac16e67dc Combine results of all the test batches. (flutter/engine#37610)
* Combine results of all the test batches.

* Skip regressions

* Use bool instead

* remove unused var

* skip fragment_program_test

* Also skip GL context lost test

* Transparent background test fails on Firefox and Safari

* Skip other test in safari

* Skip text test on firefox
2022-11-15 03:35:39 +00:00
Jackson Gardner
d3a4734ede Run pub get before building host.dart. (flutter/engine#37502)
* Run pub get before building host.dart.

* We should call `pub get` for `web_ui` in the launcher script because
felt itself needs it. However, we should let felt invoke `pub get` on
`web_engine_tester` only as needed, not in the launcher script.
2022-11-11 19:00:55 +00:00
Jackson Gardner
e3da6d905b Felt analyze (flutter/engine#37481)
* Adding `felt analyze` command that CI will run.

* Remove some copypasta'd stuff.

* Also remove code path from felt.dart that forces a rebuild if it doesn't
detect the host_debug_unopt directory.

* More cleanup of felt.bat for CI.

* Fix typo in felt.bat.
2022-11-10 18:34:24 +00:00
Harry Terkelsen
bbd93f8fa7 Roll CanvasKit to 0.37.1 (flutter/engine#37454) 2022-11-09 12:07:25 -08:00
Jackson Gardner
005dc4e774 Wasm harness for unit tests. (flutter/engine#36255) 2022-11-02 16:11:12 +00:00
Harry Terkelsen
0b8c1c1d2a [web] Allow tests to run with multiple renderers (flutter/engine#37061) 2022-10-27 13:16:07 -07:00
Harry Terkelsen
cc7ed45b1e Fix typos in felt build help docs (flutter/engine#37016) 2022-10-26 10:49:27 -07:00
Jackson Gardner
c7d1a69158 Web sdk build reland (flutter/engine#36851) 2022-10-20 20:31:54 +00:00
Jackson Gardner
cf2bf1ba1b Revert "Build Web SDK in wasm build tree (#36520)" (flutter/engine#36805) 2022-10-17 18:40:05 +00:00
Jackson Gardner
48495d1865 Build Web SDK in wasm build tree (flutter/engine#36520) 2022-10-14 18:40:49 +00:00
Mouad Debbar
10a7bfb644 [web] Fix 'felt test' watch mode (flutter/engine#36423) 2022-09-30 20:59:03 +00:00
Jackson Gardner
9d1aaf1159 Felt should use arm64 dart sdk and arm64 Chromium when on arm Macs (flutter/engine#36336) 2022-09-23 20:09:14 +00:00
Harry Terkelsen
83a2d5f9ba Warn if we have not built CanvasKit and requested --use-local-canvaskit (flutter/engine#36211) 2022-09-19 14:16:49 -07:00
Mouad Debbar
2ea5d2a9f0 [web] Compile tests with sound null safety (flutter/engine#36169) 2022-09-15 16:24:27 +00:00