802 Commits

Author SHA1 Message Date
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
Alexander Biggs
e42a0ee5ac [fuchsia] Support --no-prebuilt-dart-sdk in build_fuchsia_artifacts. (flutter/engine#32311) 2022-04-04 12:56:05 -07:00
Zachary Anderson
32a4496228 Expose a flag from tools/gn to disable deprecated API warnings (flutter/engine#32386) 2022-04-01 10:26:04 -07:00
Gary Qian
0422046115 Revert "Delete io.flutter.app android v1 embedding" (flutter/engine#32232) 2022-03-24 00:10:04 -07:00
Gary Qian
08cef2ee55 Delete io.flutter.app android v1 embedding (flutter/engine#32074) 2022-03-23 20:22:54 -07:00
Zachary Anderson
496045e44c Adds a gn script flag to select mallinfo2 when building the Dart VM (flutter/engine#32187) 2022-03-22 11:17:39 -07:00
Harry Terkelsen
231e728483 Add WASM target in gn (flutter/engine#31670) 2022-03-16 12:54:35 -07:00
Kaushik Iska
efb4e50614 Optionally specify the target dir in tools/gn (flutter/engine#32065) 2022-03-16 12:54:42 -04:00
Dan Field
57f4b8e838 Make tracing safe (flutter/engine#32042) 2022-03-15 21:10:11 -07:00
eggfly
f3efac3388 [windows] Support win_debug_x86 compilation target in engine (flutter/engine#30417) 2022-03-15 20:10:10 -07:00
Rich Kadel
359fac8308 Re-enable dart runner AOT builds (flutter/engine#31844)
Fixed: fxbug.dev/64153

Note that I also removed the TODO for fxbug.dev/86941. After talking
with the bug author, this file is not directly relevant to that bug.
2022-03-11 14:07:56 -08:00
eggfly
95b59d21a7 [windows] Add dia_dll version for VS2022. (flutter/engine#31890) 2022-03-09 21:10:08 -08:00
linxuebin
201ef2ca94 Fixs impeller_enable_playground is invalid variable when compiling the engine (flutter/engine#31871) 2022-03-09 20:00:11 -08:00
Zachary Anderson
ab45fca29c Run formatter first in pre-push hook (flutter/engine#31733) 2022-03-01 13:44:05 -08:00
Jason Simmons
aad9e6c5f8 Roll FreeType to a version based on 2.11.1 (flutter/engine#31678) 2022-02-28 14:26:12 -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
Gary Qian
966d4e4d2d Upload mac-arm64 android sdk in script (flutter/engine#31559) 2022-02-23 14:29:06 -08:00
Brandon DeRosier
3dea7773e3 Add Dear ImGui as a test only dependency (flutter/engine#31541) 2022-02-22 21:54:03 -08:00
Emmanuel Garcia
0eb5a3774a Reland: Fix first batch of warnings in the Android embedding (flutter/engine#31530) 2022-02-18 11:39:07 -08:00
Emmanuel Garcia
c42f5c3591 Reland "Improve platform views performance" (flutter/engine#31468) 2022-02-15 10:25:10 -08:00
Zachary Anderson
7990f3dee5 Revert "Improve platform views performance (#31198)" (flutter/engine#31431)
This reverts commit 9ee76a65723d1d75af55ba8a58b70b8bef7a6536.
2022-02-12 16:22:58 -08:00
Emmanuel Garcia
9ee76a6572 Improve platform views performance (flutter/engine#31198) 2022-02-11 21:15:10 -08:00
Filip Filmar
f3310ff103 Manual roll of ICU (flutter/engine#31132)
* [licenses] Updates ICU license regexp and URL

New file in the ICU library use the https scheme for the URL
instead of prior http to declare the license, leading to
the 'unmatched potential copyright' message.

This change removes the issue.

* [icu] Upgrades the ICU library version in use

This change brings in ICU 70.1 which is the latest and greatest of ICU releases.
It sync up with the latest ICU milestone in use in Chromium.

Issue: #flutter/97412
2022-02-09 17:07:30 -08:00
Zachary Anderson
fd6043f0de Adds impeller_unittests to run_tests.py (flutter/engine#31280) 2022-02-07 18:05:56 -08:00
Zachary Anderson
5184af687b DEPS in impeller and build unit tests (flutter/engine#31227) 2022-02-05 12:10:24 -08:00
Jim Graham
ef9c1c9887 Revert "Fix first batch of warnings in the Android embedding (#30807)" (flutter/engine#31277)
This reverts commit 2288e0d981062fd94c41fec53ac889d039379cbb.
2022-02-05 11:39:46 -08:00
Emmanuel Garcia
2288e0d981 Fix first batch of warnings in the Android embedding (flutter/engine#30807) 2022-02-04 18:50:08 -08:00