914 Commits

Author SHA1 Message Date
Loïc Sharma
ca9bbfe90c [Windows] Move to Visual Studio 2019 (flutter/engine#37013)
Use Visual Studio 2019 to build the engine.

This is a requirement to roll ANGLE as it is affected by an STL bug if built using Visual Studio 2017: [angleproject#7693](https://bugs.chromium.org/p/angleproject/issues/detail?id=7693)

Depends on: https://github.com/flutter/buildroot/pull/643

Part of: https://github.com/flutter/flutter/issues/110948
2022-10-26 14:56:52 -07:00
gaaclarke
cb4c9f4727 Clang-tidy: made verbose print out commands and fixed quoting problem for warnings as errors (flutter/engine#37015) 2022-10-26 08:19:12 +00:00
gaaclarke
844ab36b21 Turned "unnecessary value" and "move of const" lints to errors on mac (flutter/engine#36910) 2022-10-22 00:38:54 +00:00
Harry Terkelsen
0c8fd45248 [canvaskit] Don't bundle an embedded font (flutter/engine#36936) 2022-10-21 15:35:41 -07:00
Jackson Gardner
c7d1a69158 Web sdk build reland (flutter/engine#36851) 2022-10-20 20:31:54 +00:00
Erik
0e283234ab Add test view for touch-input-test (flutter/engine#36879)
This PR adds a touch-input-view for use in the touch-input-test to validate touch input. The view will be attached to the test, and a touch event will be injected. The test asserts that a correct response is sent back from the view (the location of the touch as well as the name of the view).
2022-10-20 13:26:41 -04:00
Sébastien Marchand
1d08f089d0 [fuchsia] Bump the Fuchsia target API level to 10 (flutter/engine#36858) 2022-10-19 13:40:37 -07:00
Alexander Biggs
a52911ad60 [fuchsia] Fix debug symbol registration. (flutter/engine#36849) 2022-10-18 15:50:41 -07:00
Harry Terkelsen
1793de9e46 Suppress stdout when activating emsdk (flutter/engine#36808) 2022-10-17 14:32:32 -07: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
Jenn Magder
6a9181552b Remove deprecated --bitcode flag (flutter/engine#36635) 2022-10-06 19:57:08 +00:00
Ian Hickson
4f876b36ac Sort licenses by body (flutter/engine#36577) 2022-10-05 08:46:33 +00:00
Loïc Sharma
35760d7a3b Revert "[Windows] Move to Visual Studio 2019" (flutter/engine#36606) 2022-10-05 00:13:19 +00:00
Jenn Magder
058fd02953 Stop compiling iOS with bitcode (flutter/engine#36596) 2022-10-04 21:56:13 +00:00
Loïc Sharma
129f69bc31 [Windows] Move to Visual Studio 2019 (flutter/engine#36538) 2022-10-04 20:00:04 +00:00
Alexander Biggs
16d5012361 [fuchsia] Add --gtest-filter flag for unit tests. (flutter/engine#36509) 2022-09-29 19:57:05 +00:00
Zachary Anderson
5b36e44eaf Adds a --lint-head flag to the clang-tidy script (flutter/engine#36476)
* Adds a --lint-head flag to the clang-tidy script

* Update tools/clang_tidy/lib/src/git_repo.dart

Co-authored-by: Jenn Magder <magder@google.com>

* Fix comment syntax

Co-authored-by: Jenn Magder <magder@google.com>
2022-09-28 14:28:03 -07:00
Erik
777f08534e Add skip-remove-buckets parameter (flutter/engine#36481) 2022-09-28 19:39:59 +00:00
Erik
75d2baf5fe Add Dart JIT runner integration test (flutter/engine#36420) 2022-09-27 20:14:16 +00:00
Brandon DeRosier
6a516d118c [Impeller] Update buildroot with json.hpp and tinygltf (flutter/engine#36402) 2022-09-26 21:28:05 +00:00
Pierrick Bouvier
1c09d84078 Enable native Windows on Arm build (flutter/engine#35962)
Linaro [Windows on Arm](https://www.linaro.org/windows-on-arm/) team is working to enable projects for this new platform.
Lately, we have been interested in Dart/Flutter.

This PR enables building natively flutter components (exe + dll) for windows on arm.

It solves this issue (https://github.com/flutter/flutter/issues/62597) partially, by starting with native build.
2022-09-22 12:44:26 -07:00
Kaushik Iska
2a83c51e95 Roll Dart SDK from 441b4d802246 to 1627a0801f8c (1 revision) (flutter/engine#36351) 2022-09-22 12:22:34 -04:00
Alexander Biggs
6751734343 [fuchsia] Add run_unit_tests.sh script. (flutter/engine#36308)
This is a convenience script for running unit tests locally.

To make this script work, I had to move several test exclusions
from test_suites.yaml (which controls running tests on CQ)
to the tests themselves. I think this is for the best because
it makes running the tests locally with behavior that matches
CQ easier.

Also added fuchsia_tests to build_and_copy_to_fuchsia.sh
so it builds the unit tests .far packages by default.

Tested: Ran `run_unit_tests.sh`, all tests pass. Ran
`build_and_copy_to_fuchsia.sh`, it still builds.
2022-09-21 10:40:20 -07:00
Harry Terkelsen
97cf129e20 Use Goma in the CanvasKit build (flutter/engine#36217) 2022-09-16 14:22:32 -07:00
Jia Hao
abbff8407e Reland "Avoid vsync scheduling delay" (flutter/engine#36197) 2022-09-16 15:41:39 +00:00
Alexander Aprelev
30e7ad40f7 Exclude dart/benchmarks*/ folders from license check (flutter/engine#36172)
* Exclude dart/benchmarks*/ folders from license check
2022-09-15 13:43:07 -07:00
Dan Field
3ab4a2a15d Fix fill type for applyOp (flutter/engine#36149) 2022-09-14 18:14:45 +00:00
Harry Terkelsen
5942b4f1b9 Build CanvasKit in the Flutter Engine (flutter/engine#32510) 2022-09-14 10:29:51 -07:00
Michael Thomsen
d9497299f2 Migrate tools/licenses to null safety (flutter/engine#35882) 2022-09-14 10:58:26 +02:00
Alexander Biggs
a9dd7de3d4 [fuchsia] Remove Dart CF v1 runner. (flutter/engine#36029) 2022-09-13 21:58:44 +00:00
Alexander Biggs
5d042156f9 [fuchsia] Delete all_packages.list. (flutter/engine#36027)
This file was only used by serve.sh which
was recently deleted.

It is not used by infra either:
https://cs.opensource.google/search?q=all_packages&sq=&ss=flutter%2Frecipes
2022-09-13 11:16:21 -07:00
Jia Hao
c626fcbe65 Revert "Avoid vsync scheduling delay" (flutter/engine#36091) 2022-09-13 11:10:36 +00:00
Alexander Biggs
4fea91b1a1 [fuchsia] Remove serve.sh. (flutter/engine#35895)
This script is unreliable. Context from @chaselatta:

```
serve.sh will still suffer from instability. The reason is that the
flutter/engine repo is using the fuchsia.com host for all of its packages.
When that script runs it tries to connect to the target and rewrite some
rules so that it resolves fuchsia.com to engine which is what is being served
locally. If you later call serve from fuchsia.git it will do the same thing
and overwrite your local repo rewrite rules and serve the runner that is
being published from fuchsia.git.

There are some changes to ffx which allow you to better set rewrite rules via
the --alias flag which would fix this problem. The bazel sdk doesn't suffer
from this because we don't use the fuchsia.com repo name and thus don't have
collisions.

I think the best solution here is to stop using fuchsia.com when referencing
the flutter runner but that is a pretty large change.
```

We're migrating to the Bazel SDK at
fuchsia.googlesource.com/flutter-embedder so we'll gain the benefits of
package serving then.
2022-09-08 19:57:26 -07:00
Alexander Biggs
aece90bdaa [fuchsia] Port text-input-test, part 1. (flutter/engine#35957)
Part 1 sets up the test to run but the UI has not been
ported yet so the test hangs.

This is mostly a straight port from
https://cs.opensource.google/fuchsia/fuchsia/+/main:src/ui/tests/integration_input_tests/text-input/

There were some nuances:

- Some FIDL APIs are not available in the SDK and have to be
  referenced by name instead (vulkan.Loader, scheduler.ProfileProvider).
- Some subtle differences between the GN rules in fuchsia.git
  vs. engine (e.g. fuchsia_component doesn't append .cm by default to
  CFv2 output).
- Moved shared logic from embedder test into a utils/ folder to
  facilitate writing new tests in the future.

Part 2 will port over the UI to dart:ui.
2022-09-07 11:57:12 -07:00
Alexander Biggs
6b013d6113 [fuchsia] Add script for Fuchsia integration tests (flutter/engine#35933)
Tested: `run_integration_tests.sh embedder`
2022-09-06 10:19:55 -07:00
Alexander Biggs
c5482e1b56 [fuchsia] Workflow script cleanups. (flutter/engine#35867)
- Switch default behavior to `lto`, forcing use of `--no-lto` flag
  for that behavior. This is the easiest way to make LTO configurable.
- Remove redundant use of `${runtime_mode}` in branch where
  it only has one possible value.
2022-09-01 13:02:31 -07:00
Alexander Biggs
07970b7250 [fuchsia] Workflow scripts. (flutter/engine#35822)
- Adds a new script to build and copy Flutter on Fuchsia.
- Rename sync_to_fuchsia.sh to checkout_fuchsia_revision.sh
  so it's more clear what git action is being performed (checkout
  instead of rebase). Update this script to `gclient sync -D` afterwards
  since not doing that will lead to subtle build issues. This script
  is only used by workflow docs, not infra, so renaming it is fine.

Once submitted I will update the documentation.
2022-08-31 13:55:13 -07:00
Jason Simmons
49a80230bd Update the API check script for the latest Dart analyzer APIs (flutter/engine#35831) 2022-08-31 16:21:35 +00:00
Michael Ludwig
c647335371 Set temporary GN arg for Skia roll (flutter/engine#35651) 2022-08-24 20:06:28 +00:00
David Worsham
b0d80cc091 [fuchsia] Migrate integration test to CFv2 (flutter/engine#35318) 2022-08-19 17:58:53 -07:00
Gary Qian
b30aeada6d Upgrade Android SDK to 33 Tiramisu (flutter/engine#35415) 2022-08-19 00:26:52 +00:00
godofredoc
589a66b3d4 "Reland" "Updates objectc script to accept relative paths."" (flutter/engine#35314) 2022-08-10 23:00:22 +00:00
Dan Field
71fb6bf64b Migrate gen_locale.dart to null-safety (flutter/engine#35236) 2022-08-09 13:08:54 -07:00
Zachary Anderson
630fcc6ccf Revert "Updates objectc script to accept relative paths. (#35190)" (flutter/engine#35265)
This reverts commit 0d334c8f830199bfdf70e08b174bb5570ec8efa9.
2022-08-09 07:16:24 -07:00
godofredoc
0d334c8f83 Updates objectc script to accept relative paths. (flutter/engine#35190) 2022-08-09 05:46:04 +00:00
Erik
0b38a3be43 Change behavior of BuildTarget parameter 'additional_targets' and renamed to 'build_targets', targets must now be passed in otherwise it will default to building all of flutter (flutter/engine#35195) 2022-08-08 12:28:38 -04:00
Zachary Anderson
fef4fbff13 Disable clang-tidy pre-push hook by default (flutter/engine#35207) 2022-08-05 22:31:23 -07:00
Michael Goderbauer
bfd0781318 Analyze all dart code on CI (flutter/engine#35147) 2022-08-05 17:38:05 +00:00
Sébastien Marchand
91c513d243 [Fuchsia] Specify the target API level in pm_tool.gni (flutter/engine#35132)
Bug: fxb/105705
2022-08-04 09:53:20 -07:00