828 Commits

Author SHA1 Message Date
William Hesse
dedb924576 Remove dependencies on package charcode (flutter/engine#33925)
The charcode package has been removed from the Dart SDK source
checkout, and the Flutter engine packages that list it in
their pubspecs do not depend on it directly or indirectly.

Remove it from their pubspecs, so they do not break when
the package disappears from the engine source checkout.

Bug: https://dart-review.googlesource.com/c/sdk/+/247500
2022-06-09 08:04:35 -07:00
William Hesse
7cbb6a2dd6 Change pub_get_offline hook to find engine src relative to script (flutter/engine#33869)
* Change pub_get_offline hook to find engine src relative to script

If a gclient checkout checks out engine source to a different directory,
the source packages should be found relative to the script location.

Bug: https://github.com/dart-lang/sdk/issues/49163

* Change pub_get_offline hook to find engine src relative to script

If a gclient checkout checks out engine source to a different directory,
the source packages should be found relative to the script location.

Bug: https://github.com/dart-lang/sdk/issues/49163

* Fix merge errors, run ci/bin/format.dart
2022-06-08 18:39:17 -07:00
Dan Field
8f11a9f069 Do not set use_ios_simulator unconditionally (flutter/engine#33855) 2022-06-07 20:18:05 -07:00
Dan Field
ff84e8584e Add a license file for impellerc, rename font-subset license (flutter/engine#33859) 2022-06-06 18:08:04 -07:00
Filip Filmar
f2718551bb [icu] Update icu to 12de966fcbe1d1a48dba310aee63807856ffeee8 (flutter/engine#33816)
Issue: https://github.com/flutter/flutter/issues/105342
2022-06-06 15:43:30 -07:00
Zachary Anderson
7572a18ffe pylint a few python scripts and lint in lint.sh (flutter/engine#33675) 2022-06-04 15:21:18 -07:00
Zachary Anderson
6f236556a3 Format tools/gn (flutter/engine#33812) 2022-06-03 15:40:21 -07:00
Zachary Anderson
1790d5a019 Adds a python formatter (flutter/engine#33797)
* Adds a python formatter

* Apply format
2022-06-03 13:00:14 -07:00
Gary Qian
c2fb536113 Upgrade android SDK to API 32 (flutter/engine#33524) 2022-06-01 18:58:04 -07:00
Jenn Magder
95ae958bbd Print clang-tidy job exception (flutter/engine#33756) 2022-06-01 14:08:06 -07:00
Zachary Anderson
67d4e8ff38 Fixes for the Windows arm64 build (flutter/engine#33681)
* Fixes for the Windows arm64 build

* Update buildroot to 53abad0fa9c9e0285e80f9b0682316d5d39705be

* Update buildroot to f582982073b6f04b7a70bc284bac8fafa6c0a846
2022-05-31 08:06:47 -07:00
Chinmay Garde
38a66b5e06 Teach the license script about fixtures and playgrounds. (flutter/engine#33577) 2022-05-23 20:33:04 -07:00
Christopher Fujino
9ed0ddc68c Reland "Use CIPD to download prebuilt Dart SDKs #33345" (flutter/engine#33569) 2022-05-23 17:08:04 -07:00
Christopher Fujino
2fb1e6b810 Revert "Use CIPD to download prebuilt Dart SDKs (#33345)" (flutter/engine#33558)
This reverts commit faf29ed4589f4d025dd3d2349f34536de28844b7.
2022-05-23 10:09:40 -07:00
Emmanuel Garcia
5ce95c21d7 Fix scenario tests on Android (flutter/engine#33360) 2022-05-20 12:38:05 -07:00
Zachary Anderson
524fdfb2a6 Exclude Skia's 'bazel' directory from traversal by the license script (flutter/engine#33426)
* Exclude Skia's 'bazel' directory from traversal by the license script

It contains only bazel build files, which Flutter doesn't use, and which can't end up in the final binary.

* Update license file

* Update tool_signature

* Update skia license hash

* Update tool_signature

* Update licenses_skia

* Update licenses_skia
2022-05-19 08:53:22 -07:00
Naud Ghebre
b9bcb4ee0b [dart_component] Add dart_component build rule for building dart components for fuchsia. (flutter/engine#33464) 2022-05-18 15:59:22 -04:00
Zachary Anderson
faf29ed458 Use CIPD to download prebuilt Dart SDKs (flutter/engine#33345) 2022-05-17 12:56:44 -07:00
Chinmay Garde
979f60e025 [docs] Remove stale dependencies when running gclient. (flutter/engine#33410)
Add a reference to the -D argument to `gclient sync`.
2022-05-16 19:05:42 -07:00
Jonah Williams
858241db7c Add configuration to support compiling engine with SUPPORT_FRACTIONAL_TRANSLATION (flutter/engine#33393) 2022-05-16 13:04:05 -07:00
William Hesse
24acf27f48 Use git.bat from depot_tools in githooks setup on Windows (flutter/engine#33389)
The git installed by depot_tools on Windows is only available as git.bat from Python.
The shell auto-replaces git by git.bat, but that doesn't happen when running from Python.
The git installed by depot_tools may be the only git installed on Windows.

Without this fix, gclient sync does not work on Windows for me
2022-05-16 17:11:52 +02:00
Zachary Anderson
00607f96ea Reland: Roll clang and buildroot (flutter/engine#33339) 2022-05-14 06:04:14 -07:00
Zachary Anderson
b2e44faca7 Revert "Reland: Roll clang and buildroot (#33325)" (flutter/engine#33337)
This reverts commit ca0e980e45b222e3e4534abe4c4e87631bf329ac.
2022-05-13 19:28:06 -07:00
Zachary Anderson
ca0e980e45 Reland: Roll clang and buildroot (flutter/engine#33325) 2022-05-13 18:58:18 -07:00
Harry Terkelsen
37cfb2214a Revert "Update ICU to 71-1 (#32879)" (flutter/engine#33274) 2022-05-13 14:08:36 -07:00
Zachary Anderson
1cd5517a29 Revert "Roll clang and buildroot (#33284)" (flutter/engine#33311)
This reverts commit da0f074eba63dddbe70d0fa597dcb662030168f4.
2022-05-12 22:23:50 -07:00
Zachary Anderson
da0f074eba Roll clang and buildroot (flutter/engine#33284) 2022-05-12 17:09:24 -07:00
Chris Bracken
52ce02e801 Support building the engine on Apple Silicon Macs (flutter/engine#33244)
This adds support for the following builds:
* macOS host builds on both x86_64 and arm64 Macs.
* macOS target builds on both x86_64 and arm64 Macs.

Previously, macOS target builds for any architecture were possible only
on x86_64 Macs.

Similarly, macOS host builds were only supported on x86_64 Macs, and
only for the x86_64 architecture. arm64 host builds were not possible on
Intel Macs.

When building on arm64 macs, builds are performed under Rosetta for two
reasons:
* The Fuchsia clang toolchain for arm64 macOS is not yet available.
* Swiftshader (used by our engine tests) doesn't support building OpenGL
  support as an arm64 binary.

See: https://github.com/flutter/flutter/issues/103386

Followup patches will move our use of Swiftshader to a "Swangle"
(Swiftshader + ANGLE) configuration, eliminating the Swiftshader issue
above.

Issue: https://github.com/flutter/flutter/issues/96745
Issue: https://github.com/flutter/flutter/issues/79403
2022-05-11 09:40:28 -07:00
Chris Bracken
37d61c87e6 [gn] Extract target_os, target_cpu resolution (flutter/engine#33238) 2022-05-10 14:29:03 -07:00
Zachary Anderson
95646f565d Revert "[gn] Extract target_os, target_cpu resolution (#33224)" (flutter/engine#33231)
This reverts commit 9276dc1ff1673152e2bd38b0aabb79313b136555.
2022-05-10 10:46:19 -07:00
Chris Bracken
9276dc1ff1 [gn] Extract target_os, target_cpu resolution (flutter/engine#33224)
This is a minor refactoring to extract functions that resolve target_os
and target_cpu gn settings.

This is cleanup prior to adding support for host builds on Apple Silicon
Macs.

Issue: https://github.com/flutter/flutter/issues/96745
2022-05-10 07:02:35 -07:00
Jason Simmons
fff66b32fb Do not pass nullable parameters of simple types to Tonic-wrapped native functions (flutter/engine#33159) 2022-05-09 11:34:05 -07:00
godofredoc
fce2df706a Fix fonts and artifacts paths. (flutter/engine#33160) 2022-05-06 10:29:04 -07:00
Zachary Anderson
98bfa2d298 Add an option to use a prebuilt impellerc (flutter/engine#33139) 2022-05-05 18:38:37 -07:00
Chinmay Garde
dbe2018d38 [impeller] Enable Impeller playground if an environment variable is set. (flutter/engine#33107) 2022-05-04 12:59:06 -07:00
Chris Bracken
9bf86f9b6a Win: Remove WinRT headers, Windows SDK, cppwinrt (flutter/engine#33030)
WinRT was only ever used by the Windows UWP embedder since the main
Windows embedder supports compatibility with Windows 7 and WinRT
requires a Windows SDK target version of at least 10.0.17134.0 (Windows
10, version 1803).

When, at some point, we drop support for versions of Windows earlier
than Windows 10, we'll almost certainly want to resurrect this and start
using WinRT in the main Windows embedder.

The Windows UWP embedder was removed in:
https://github.com/flutter/engine/pull/33019

Issue: flutter/flutter#102172
2022-04-30 12:08:18 -07:00
Chris Bracken
0a84242538 WinUWP: Remove WinUWP sources, targets (flutter/engine#33019)
This removes:
* The Windows UWP emebedder sources and targets
* UWP-specific build targets
* UWP-specific code behind WINUWP #ifdefs
* UWP-specific TODOs.
* uwptool.exe sources and targets used for installing, uninstalling, and
  launching UWP apps.

This is a straight removal patch, and does not land any refactorings
made possible by removal of UWP support. Those patches will land in
followup refactorings.

Tool support was removed in:
https://github.com/flutter/flutter/pull/102174

The CI target was removed in:
https://github.com/flutter/engine/pull/33012

The Recipe was removed in:
https://flutter-review.googlesource.com/c/recipes/+/29500

GN build support was removed in:
https://github.com/flutter/engine/pull/33016

Issue: https://github.com/flutter/flutter/issues/102172
2022-04-29 18:39:36 -07:00
Chris Bracken
5d71577226 WinUWP: Remove UWP support from gn wrapper (flutter/engine#33016) 2022-04-29 17:09:02 -07:00
Brandon DeRosier
f161b976bc Add vulkanmemoryallocator dependency for Skia; roll Skia to 4230297004 (flutter/engine#33008) 2022-04-29 15:33:41 -07:00
Jim Graham
8ca73cd2d0 allow either host_debug or host_debug_unopt for pre-push verification (flutter/engine#33000) 2022-04-29 13:34:03 -07:00
utzcoz
acfe2ab302 Use Robolectric's Config#qualifiers to set locale for tests (flutter/engine#32984) 2022-04-29 09:29:04 -07:00
Naud Ghebre
ea8342fc2b [dart_test_runner] Adapt the dart runner to implement the suite fidl protocol so that it can be used in the v2 testing framework. (flutter/engine#32751) 2022-04-28 12:55:55 -07:00
Dan Field
26c74cb827 Remove .github, revert temporary change to clang_tidy test (flutter/engine#32977) 2022-04-27 21:13:39 -07:00
Dan Field
88694b98e6 temporarily increase clang_tidy test limits 2022-04-27 15:57:33 -07:00
Harry Terkelsen
a0f8d49a3a Update ICU to 71-1 (flutter/engine#32879) 2022-04-26 15:03:34 -07:00
Chase Latta
97707cd2ce Bump fuchsia api from 7 -> 8 (flutter/engine#32866) 2022-04-22 10:38:10 -07:00
Chris Bracken
5007db1a61 Roll ANGLE to acdec48addfdff315efff293be0d5e2e37e8e560 (flutter/engine#32785)
This rolls approximately one year's worth of ANGLE commits, and gets us
caught up to tip of tree.

This also updates the licence tool to handle ANGLE adding a second
third_party directory:
* third_party/angle/src/third_party: third-party code used by ANGLE.
* third_party/angle/third_party: forwarding targets for non-shipping
  tooling.

Issue: https://github.com/flutter/flutter/issues/102117
2022-04-19 20:33:40 -07:00
Alexander Thomas
aeeb6c9790 Use dart pub subcommand in pub_get_offline.py (flutter/engine#32784) 2022-04-19 11:31:59 -07:00
Alexander Biggs
406b028ccf [fuchsia] Add hack to copy unopt build to CIPD. (flutter/engine#32548) 2022-04-08 16:37:04 -07:00
Chris Bracken
92e109f579 Add API consistency test (flutter/engine#32408) 2022-04-07 15:26:04 -07:00