* Use git exec candidate list on all platforms for build
build/git_revision.py now uses a git executable name search list on all
platforms, avoiding issues with some Windows installations.
* Moving python import to top to satisfy linter
* Fixing format error and removing unneeded check
* Adding git candidate search to githooks setup.py
* Adding missing COM initialization to
flutter_tester executable on Windows
* Revert "Adding missing COM initialization to"
Reason: Added to incorrect branch
This reverts commit 1b0da56ffd9af41d457f5a609022d4b0387cd935.
* Format fix for setup.py
Roll Swiftshader, ANGLE, and Vulkan deps.
Updates license bot for new locations of licenses and new files
in roll.
Converts unit test harnesses to use SwANGLE, which is the
supported way of using SwiftShader as a software backend for GLES.
Updates goldens due to swiftshader changes.
Fixes up include paths to avoid directly including third_party
code by that name, which is unlikely to work in other build
environments.
Includes upstream patches to ANGLE and SwiftShader to build in our
windows environments, as well as patches to Skia to support
defining the location of VulkanMemoryAllocator and a patch to ANGLE
to support opting into a newer version of VMA.
* update for the latest Dart SDK roll
* Update DEPS
update the dart revision to 204b67e5a029de64899154068cf1099b4f7db1f1
* Update license hash
Co-authored-by: Alexander Aprelev <aam@google.com>
Towards implementing the FragmentProgram API in Impeller.
Specifies an Impeller specific format for data the renderer can use to create
pipelines with user supplied shader stages at runtime.
The data is in the form of a flatbuffer with a known schema.
This patch implements the wire format, creating and loading the program
payloads, and creating pipeline state objects using these payloads.
If the user supplied SPIRV intended for the older API, the loader will reject
this invalid payload. This is probably not going to be too much of an issue
because the FragmentProgram API will probably be modified to only allow buffers
loaded from asset managers. But still, in the meantime, I am using the old API
to pass these new buffers.
Fixes https://github.com/flutter/flutter/issues/104750
Fixes https://github.com/flutter/flutter/issues/105542
Towards resolving https://github.com/flutter/flutter/issues/102853
Because we are unable to allocate address space without also allocating memory, even unused portions of the compressed heap make less memory available to all other allocators in the process. The memory savings in the compressed heap will only out-weight the lost memory for other allocations if nearly all of the application's memory usage is in Dart, rather than, say, graphics or plugins.
Bug: https://github.com/flutter/flutter/issues/105183
Bug: b/235279083
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
* 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
* Fixes for the Windows arm64 build
* Update buildroot to 53abad0fa9c9e0285e80f9b0682316d5d39705be
* Update buildroot to f582982073b6f04b7a70bc284bac8fafa6c0a846
* 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
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
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
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