Move ANGLE to flutter/third_party (flutter/engine#51270)

This moves Flutter out of the buildroot's third_party directory and into
//flutter/third_party and updates all BUILD and gni files.

Issue: https://github.com/flutter/flutter/issues/144786
Part of: https://github.com/flutter/flutter/issues/67373

## Pre-launch Checklist

- [X] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [X] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [X] I read and followed the [Flutter Style Guide] and the [C++,
Objective-C, Java style guides].
- [X] I listed at least one issue that this PR fixes in the description
above.
- [X] I added new tests to check the change I am making or feature I am
adding, or the PR is [test-exempt]. See [testing the engine] for
instructions on writing and running engine tests.
- [X] I updated/added relevant documentation (doc comments with `///`).
- [X] The odds of this passing on its first CI run is 0%, because
there's no way the licence script isn't going to have a fit over it, at
which point I promise on my honour that I will dutifully fix all the
things it complains about and re-run, probably more than once.
- [X] This PR fulfils the minimum [Canadian
Content](https://www.youtube.com/watch?v=h9NMnPm5kXc&list=PLJ7QPuvv91JuoPWrLhqX0zDFUoLdynMEk&index=3)
regulations mandated by the CRTC.
- [X] I signed the [CLA].
- [X] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[test-exempt]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[C++, Objective-C, Java style guides]:
https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
[testing the engine]:
https://github.com/flutter/flutter/wiki/Testing-the-engine
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
[Discord]: https://github.com/flutter/flutter/wiki/Chat
This commit is contained in:
Chris Bracken
2024-03-07 16:23:14 -08:00
committed by GitHub
parent d620dd0864
commit 0575633c34
12 changed files with 5613 additions and 180 deletions

2
DEPS
View File

@@ -677,7 +677,7 @@ deps = {
'src/flutter/third_party/swiftshader':
Var('swiftshader_git') + '/SwiftShader.git' + '@' + '2fa7e9b99ae4e70ea5ae2cc9c8d3afb43391384f',
'src/third_party/angle':
'src/flutter/third_party/angle':
Var('chromium_git') + '/angle/angle.git' + '@' + '6a09e41ce6ea8c93524faae1a925eb01562f53b1',
'src/third_party/vulkan_memory_allocator':

View File

@@ -7,7 +7,7 @@ import("//build/toolchain/toolchain.gni")
# The ANGLE build requires this file to point to the location of third-party
# dependencies.
angle_root = "//third_party/angle"
angle_root = "//flutter/third_party/angle"
angle_vma_version = 30000001

View File

@@ -162,7 +162,7 @@ function verify_licenses() (
local actualLicenseCount
actualLicenseCount="$(tail -n 1 flutter/ci/licenses_golden/licenses_flutter | tr -dc '0-9')"
local expectedLicenseCount=843 # When changing this number: Update the error message below as well describing the newly expected license types.
local expectedLicenseCount=878 # When changing this number: Update the error message below as well describing the newly expected license types.
if [[ $actualLicenseCount -ne $expectedLicenseCount ]]; then
echo "=============================== ERROR ==============================="

View File

@@ -770,6 +770,151 @@
../../../flutter/third_party/accessibility/gfx/geometry/vector2d_unittest.cc
../../../flutter/third_party/accessibility/gfx/range/range_unittest.cc
../../../flutter/third_party/accessibility/gfx/test
../../../flutter/third_party/angle/.clang-format
../../../flutter/third_party/angle/.git
../../../flutter/third_party/angle/.gitattributes
../../../flutter/third_party/angle/.gitignore
../../../flutter/third_party/angle/.gn
../../../flutter/third_party/angle/.style.yapf
../../../flutter/third_party/angle/.vpython
../../../flutter/third_party/angle/.vpython3
../../../flutter/third_party/angle/.yapfignore
../../../flutter/third_party/angle/AUTHORS
../../../flutter/third_party/angle/Android.mk
../../../flutter/third_party/angle/CONTRIBUTORS
../../../flutter/third_party/angle/DEPS
../../../flutter/third_party/angle/DIR_METADATA
../../../flutter/third_party/angle/OWNERS
../../../flutter/third_party/angle/PRESUBMIT.py
../../../flutter/third_party/angle/README.chromium
../../../flutter/third_party/angle/README.md
../../../flutter/third_party/angle/WATCHLISTS
../../../flutter/third_party/angle/additional_readme_paths.json
../../../flutter/third_party/angle/android
../../../flutter/third_party/angle/codereview.settings
../../../flutter/third_party/angle/doc
../../../flutter/third_party/angle/extensions
../../../flutter/third_party/angle/include/CL/.clang-format
../../../flutter/third_party/angle/include/CL/README.md
../../../flutter/third_party/angle/include/EGL/.clang-format
../../../flutter/third_party/angle/include/GLES/.clang-format
../../../flutter/third_party/angle/include/GLES/README.md
../../../flutter/third_party/angle/include/GLES2/.clang-format
../../../flutter/third_party/angle/include/GLES3/.clang-format
../../../flutter/third_party/angle/include/GLX/.clang-format
../../../flutter/third_party/angle/include/KHR/.clang-format
../../../flutter/third_party/angle/include/WGL/.clang-format
../../../flutter/third_party/angle/include/platform/autogen/.clang-format
../../../flutter/third_party/angle/include/platform/gen_features.py
../../../flutter/third_party/angle/infra
../../../flutter/third_party/angle/samples
../../../flutter/third_party/angle/scripts
../../../flutter/third_party/angle/src/commit_id.py
../../../flutter/third_party/angle/src/common/BinaryStream_unittest.cpp
../../../flutter/third_party/angle/src/common/CircularBuffer_unittest.cpp
../../../flutter/third_party/angle/src/common/FastVector_unittest.cpp
../../../flutter/third_party/angle/src/common/FixedQueue_unittest.cpp
../../../flutter/third_party/angle/src/common/FixedVector_unittest.cpp
../../../flutter/third_party/angle/src/common/Float16ToFloat32.py
../../../flutter/third_party/angle/src/common/Optional_unittest.cpp
../../../flutter/third_party/angle/src/common/PoolAlloc_unittest.cpp
../../../flutter/third_party/angle/src/common/WorkerThread_unittest.cpp
../../../flutter/third_party/angle/src/common/aligned_memory_unittest.cpp
../../../flutter/third_party/angle/src/common/angleutils_unittest.cpp
../../../flutter/third_party/angle/src/common/base/README.angle
../../../flutter/third_party/angle/src/common/base/anglebase/numerics/OWNERS
../../../flutter/third_party/angle/src/common/bitset_utils_unittest.cpp
../../../flutter/third_party/angle/src/common/fuchsia_egl/OWNERS
../../../flutter/third_party/angle/src/common/gen_packed_gl_enums.py
../../../flutter/third_party/angle/src/common/gen_uniform_type_table.py
../../../flutter/third_party/angle/src/common/hash_utils_unittest.cpp
../../../flutter/third_party/angle/src/common/mathutil_unittest.cpp
../../../flutter/third_party/angle/src/common/matrix_utils_unittest.cpp
../../../flutter/third_party/angle/src/common/serializer/JsonSerializer_unittest.cpp
../../../flutter/third_party/angle/src/common/spirv/gen_spirv_builder_and_parser.py
../../../flutter/third_party/angle/src/common/string_utils_unittest.cpp
../../../flutter/third_party/angle/src/common/system_utils_unittest.cpp
../../../flutter/third_party/angle/src/common/third_party/xxhash/README.chromium
../../../flutter/third_party/angle/src/common/third_party/xxhash/README.md
../../../flutter/third_party/angle/src/common/utilities_unittest.cpp
../../../flutter/third_party/angle/src/common/vector_utils_unittest.cpp
../../../flutter/third_party/angle/src/compiler/generate_parser_tools.py
../../../flutter/third_party/angle/src/compiler/preprocessor/generate_parser.py
../../../flutter/third_party/angle/src/compiler/translator/gen_builtin_symbols.py
../../../flutter/third_party/angle/src/compiler/translator/generate_parser.py
../../../flutter/third_party/angle/src/compiler/translator/hlsl/gen_emulated_builtin_function_tables.py
../../../flutter/third_party/angle/src/compiler/translator/span_unittest.cpp
../../../flutter/third_party/angle/src/feature_support_util/OWNERS
../../../flutter/third_party/angle/src/feature_support_util/feature_support_util_unittest.cpp
../../../flutter/third_party/angle/src/gpu_info_util/SystemInfo_unittest.cpp
../../../flutter/third_party/angle/src/image_util/AstcDecompressor_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/BlendStateExt_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/BlobCache_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/Config_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/Fence_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/GlobalMutex_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/HandleAllocator_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/ImageIndexIterator_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/Image_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/Observer_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/Program_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/ResourceManager_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/ResourceMap_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/SizedMRUCache_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/Surface_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/TransformFeedback_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/UnlockedTailCall_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/VaryingPacking_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/VertexArray_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/capture/OWNERS
../../../flutter/third_party/angle/src/libANGLE/gen_copy_conversion_table.py
../../../flutter/third_party/angle/src/libANGLE/gen_extensions.py
../../../flutter/third_party/angle/src/libANGLE/gen_format_map.py
../../../flutter/third_party/angle/src/libANGLE/gen_overlay_fonts.py
../../../flutter/third_party/angle/src/libANGLE/gen_overlay_widgets.py
../../../flutter/third_party/angle/src/libANGLE/renderer/README.md
../../../flutter/third_party/angle/src/libANGLE/renderer/angle_format.py
../../../flutter/third_party/angle/src/libANGLE/renderer/d3d/OWNERS
../../../flutter/third_party/angle/src/libANGLE/renderer/d3d/d3d11/FormatTables.md
../../../flutter/third_party/angle/src/libANGLE/renderer/d3d/d3d11/UniformBlockToStructuredBufferTranslation.md
../../../flutter/third_party/angle/src/libANGLE/renderer/d3d/d3d11/gen_blit11helper.py
../../../flutter/third_party/angle/src/libANGLE/renderer/d3d/d3d11/gen_texture_format_table.py
../../../flutter/third_party/angle/src/libANGLE/renderer/d3d/d3d11/winrt/CoreWindowNativeWindow_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/renderer/d3d/d3d11/winrt/SwapChainPanelNativeWindow_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/renderer/gen_angle_format_table.py
../../../flutter/third_party/angle/src/libANGLE/renderer/gen_dxgi_format_table.py
../../../flutter/third_party/angle/src/libANGLE/renderer/gen_dxgi_support_tables.py
../../../flutter/third_party/angle/src/libANGLE/renderer/gen_load_functions_table.py
../../../flutter/third_party/angle/src/libANGLE/renderer/gl/DisplayGL_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/renderer/gl/FeatureSupportGL.md
../../../flutter/third_party/angle/src/libANGLE/renderer/gl/OWNERS
../../../flutter/third_party/angle/src/libANGLE/renderer/gl/generate_gl_dispatch_table.py
../../../flutter/third_party/angle/src/libANGLE/renderer/metal/doc
../../../flutter/third_party/angle/src/libANGLE/renderer/metal/gen_mtl_format_table.py
../../../flutter/third_party/angle/src/libANGLE/renderer/metal/shaders/gen_mtl_internal_shaders.py
../../../flutter/third_party/angle/src/libANGLE/renderer/serial_utils_unittest.cpp
../../../flutter/third_party/angle/src/libANGLE/renderer/vulkan/OWNERS
../../../flutter/third_party/angle/src/libANGLE/renderer/vulkan/README.md
../../../flutter/third_party/angle/src/libANGLE/renderer/vulkan/doc
../../../flutter/third_party/angle/src/libANGLE/renderer/vulkan/fuchsia/OWNERS
../../../flutter/third_party/angle/src/libANGLE/renderer/vulkan/gen_vk_format_table.py
../../../flutter/third_party/angle/src/libANGLE/renderer/vulkan/gen_vk_internal_shaders.py
../../../flutter/third_party/angle/src/libANGLE/renderer/vulkan/gen_vk_mandatory_format_support_table.py
../../../flutter/third_party/angle/src/libANGLE/renderer/vulkan/shaders/README.md
../../../flutter/third_party/angle/src/libANGLE/renderer/vulkan/shaders/src/third_party/.clang-format
../../../flutter/third_party/angle/src/libANGLE/renderer/vulkan/shaders/src/third_party/etc_decoder/README.chromium
../../../flutter/third_party/angle/src/libANGLE/renderer/vulkan/shaders/src/third_party/ffx_spd/README.chromium
../../../flutter/third_party/angle/src/program_serialize_data_version.py
../../../flutter/third_party/angle/src/tests
../../../flutter/third_party/angle/src/third_party/ceval/.clang-format
../../../flutter/third_party/angle/src/third_party/ceval/README.chromium
../../../flutter/third_party/angle/src/third_party/ceval/README.md
../../../flutter/third_party/angle/src/third_party/ceval/package.json
../../../flutter/third_party/angle/src/third_party/libXNVCtrl/README.chromium
../../../flutter/third_party/angle/src/third_party/volk
../../../flutter/third_party/angle/third_party
../../../flutter/third_party/angle/tools
../../../flutter/third_party/angle/util
../../../flutter/third_party/benchmark
../../../flutter/third_party/boringssl/.git
../../../flutter/third_party/boringssl/.gitignore
@@ -2691,151 +2836,6 @@
../../../out
../../../third_party/android_embedding_dependencies
../../../third_party/android_tools
../../../third_party/angle/.clang-format
../../../third_party/angle/.git
../../../third_party/angle/.gitattributes
../../../third_party/angle/.gitignore
../../../third_party/angle/.gn
../../../third_party/angle/.style.yapf
../../../third_party/angle/.vpython
../../../third_party/angle/.vpython3
../../../third_party/angle/.yapfignore
../../../third_party/angle/AUTHORS
../../../third_party/angle/Android.mk
../../../third_party/angle/CONTRIBUTORS
../../../third_party/angle/DEPS
../../../third_party/angle/DIR_METADATA
../../../third_party/angle/OWNERS
../../../third_party/angle/PRESUBMIT.py
../../../third_party/angle/README.chromium
../../../third_party/angle/README.md
../../../third_party/angle/WATCHLISTS
../../../third_party/angle/additional_readme_paths.json
../../../third_party/angle/android
../../../third_party/angle/codereview.settings
../../../third_party/angle/doc
../../../third_party/angle/extensions
../../../third_party/angle/include/CL/.clang-format
../../../third_party/angle/include/CL/README.md
../../../third_party/angle/include/EGL/.clang-format
../../../third_party/angle/include/GLES/.clang-format
../../../third_party/angle/include/GLES/README.md
../../../third_party/angle/include/GLES2/.clang-format
../../../third_party/angle/include/GLES3/.clang-format
../../../third_party/angle/include/GLX/.clang-format
../../../third_party/angle/include/KHR/.clang-format
../../../third_party/angle/include/WGL/.clang-format
../../../third_party/angle/include/platform/autogen/.clang-format
../../../third_party/angle/include/platform/gen_features.py
../../../third_party/angle/infra
../../../third_party/angle/samples
../../../third_party/angle/scripts
../../../third_party/angle/src/commit_id.py
../../../third_party/angle/src/common/BinaryStream_unittest.cpp
../../../third_party/angle/src/common/CircularBuffer_unittest.cpp
../../../third_party/angle/src/common/FastVector_unittest.cpp
../../../third_party/angle/src/common/FixedQueue_unittest.cpp
../../../third_party/angle/src/common/FixedVector_unittest.cpp
../../../third_party/angle/src/common/Float16ToFloat32.py
../../../third_party/angle/src/common/Optional_unittest.cpp
../../../third_party/angle/src/common/PoolAlloc_unittest.cpp
../../../third_party/angle/src/common/WorkerThread_unittest.cpp
../../../third_party/angle/src/common/aligned_memory_unittest.cpp
../../../third_party/angle/src/common/angleutils_unittest.cpp
../../../third_party/angle/src/common/base/README.angle
../../../third_party/angle/src/common/base/anglebase/numerics/OWNERS
../../../third_party/angle/src/common/bitset_utils_unittest.cpp
../../../third_party/angle/src/common/fuchsia_egl/OWNERS
../../../third_party/angle/src/common/gen_packed_gl_enums.py
../../../third_party/angle/src/common/gen_uniform_type_table.py
../../../third_party/angle/src/common/hash_utils_unittest.cpp
../../../third_party/angle/src/common/mathutil_unittest.cpp
../../../third_party/angle/src/common/matrix_utils_unittest.cpp
../../../third_party/angle/src/common/serializer/JsonSerializer_unittest.cpp
../../../third_party/angle/src/common/spirv/gen_spirv_builder_and_parser.py
../../../third_party/angle/src/common/string_utils_unittest.cpp
../../../third_party/angle/src/common/system_utils_unittest.cpp
../../../third_party/angle/src/common/third_party/xxhash/README.chromium
../../../third_party/angle/src/common/third_party/xxhash/README.md
../../../third_party/angle/src/common/utilities_unittest.cpp
../../../third_party/angle/src/common/vector_utils_unittest.cpp
../../../third_party/angle/src/compiler/generate_parser_tools.py
../../../third_party/angle/src/compiler/preprocessor/generate_parser.py
../../../third_party/angle/src/compiler/translator/gen_builtin_symbols.py
../../../third_party/angle/src/compiler/translator/generate_parser.py
../../../third_party/angle/src/compiler/translator/hlsl/gen_emulated_builtin_function_tables.py
../../../third_party/angle/src/compiler/translator/span_unittest.cpp
../../../third_party/angle/src/feature_support_util/OWNERS
../../../third_party/angle/src/feature_support_util/feature_support_util_unittest.cpp
../../../third_party/angle/src/gpu_info_util/SystemInfo_unittest.cpp
../../../third_party/angle/src/image_util/AstcDecompressor_unittest.cpp
../../../third_party/angle/src/libANGLE/BlendStateExt_unittest.cpp
../../../third_party/angle/src/libANGLE/BlobCache_unittest.cpp
../../../third_party/angle/src/libANGLE/Config_unittest.cpp
../../../third_party/angle/src/libANGLE/Fence_unittest.cpp
../../../third_party/angle/src/libANGLE/GlobalMutex_unittest.cpp
../../../third_party/angle/src/libANGLE/HandleAllocator_unittest.cpp
../../../third_party/angle/src/libANGLE/ImageIndexIterator_unittest.cpp
../../../third_party/angle/src/libANGLE/Image_unittest.cpp
../../../third_party/angle/src/libANGLE/Observer_unittest.cpp
../../../third_party/angle/src/libANGLE/Program_unittest.cpp
../../../third_party/angle/src/libANGLE/ResourceManager_unittest.cpp
../../../third_party/angle/src/libANGLE/ResourceMap_unittest.cpp
../../../third_party/angle/src/libANGLE/SizedMRUCache_unittest.cpp
../../../third_party/angle/src/libANGLE/Surface_unittest.cpp
../../../third_party/angle/src/libANGLE/TransformFeedback_unittest.cpp
../../../third_party/angle/src/libANGLE/UnlockedTailCall_unittest.cpp
../../../third_party/angle/src/libANGLE/VaryingPacking_unittest.cpp
../../../third_party/angle/src/libANGLE/VertexArray_unittest.cpp
../../../third_party/angle/src/libANGLE/capture/OWNERS
../../../third_party/angle/src/libANGLE/gen_copy_conversion_table.py
../../../third_party/angle/src/libANGLE/gen_extensions.py
../../../third_party/angle/src/libANGLE/gen_format_map.py
../../../third_party/angle/src/libANGLE/gen_overlay_fonts.py
../../../third_party/angle/src/libANGLE/gen_overlay_widgets.py
../../../third_party/angle/src/libANGLE/renderer/README.md
../../../third_party/angle/src/libANGLE/renderer/angle_format.py
../../../third_party/angle/src/libANGLE/renderer/d3d/OWNERS
../../../third_party/angle/src/libANGLE/renderer/d3d/d3d11/FormatTables.md
../../../third_party/angle/src/libANGLE/renderer/d3d/d3d11/UniformBlockToStructuredBufferTranslation.md
../../../third_party/angle/src/libANGLE/renderer/d3d/d3d11/gen_blit11helper.py
../../../third_party/angle/src/libANGLE/renderer/d3d/d3d11/gen_texture_format_table.py
../../../third_party/angle/src/libANGLE/renderer/d3d/d3d11/winrt/CoreWindowNativeWindow_unittest.cpp
../../../third_party/angle/src/libANGLE/renderer/d3d/d3d11/winrt/SwapChainPanelNativeWindow_unittest.cpp
../../../third_party/angle/src/libANGLE/renderer/gen_angle_format_table.py
../../../third_party/angle/src/libANGLE/renderer/gen_dxgi_format_table.py
../../../third_party/angle/src/libANGLE/renderer/gen_dxgi_support_tables.py
../../../third_party/angle/src/libANGLE/renderer/gen_load_functions_table.py
../../../third_party/angle/src/libANGLE/renderer/gl/DisplayGL_unittest.cpp
../../../third_party/angle/src/libANGLE/renderer/gl/FeatureSupportGL.md
../../../third_party/angle/src/libANGLE/renderer/gl/OWNERS
../../../third_party/angle/src/libANGLE/renderer/gl/generate_gl_dispatch_table.py
../../../third_party/angle/src/libANGLE/renderer/metal/doc
../../../third_party/angle/src/libANGLE/renderer/metal/gen_mtl_format_table.py
../../../third_party/angle/src/libANGLE/renderer/metal/shaders/gen_mtl_internal_shaders.py
../../../third_party/angle/src/libANGLE/renderer/serial_utils_unittest.cpp
../../../third_party/angle/src/libANGLE/renderer/vulkan/OWNERS
../../../third_party/angle/src/libANGLE/renderer/vulkan/README.md
../../../third_party/angle/src/libANGLE/renderer/vulkan/doc
../../../third_party/angle/src/libANGLE/renderer/vulkan/fuchsia/OWNERS
../../../third_party/angle/src/libANGLE/renderer/vulkan/gen_vk_format_table.py
../../../third_party/angle/src/libANGLE/renderer/vulkan/gen_vk_internal_shaders.py
../../../third_party/angle/src/libANGLE/renderer/vulkan/gen_vk_mandatory_format_support_table.py
../../../third_party/angle/src/libANGLE/renderer/vulkan/shaders/README.md
../../../third_party/angle/src/libANGLE/renderer/vulkan/shaders/src/third_party/.clang-format
../../../third_party/angle/src/libANGLE/renderer/vulkan/shaders/src/third_party/etc_decoder/README.chromium
../../../third_party/angle/src/libANGLE/renderer/vulkan/shaders/src/third_party/ffx_spd/README.chromium
../../../third_party/angle/src/program_serialize_data_version.py
../../../third_party/angle/src/tests
../../../third_party/angle/src/third_party/ceval/.clang-format
../../../third_party/angle/src/third_party/ceval/README.chromium
../../../third_party/angle/src/third_party/ceval/README.md
../../../third_party/angle/src/third_party/ceval/package.json
../../../third_party/angle/src/third_party/libXNVCtrl/README.chromium
../../../third_party/angle/src/third_party/volk
../../../third_party/angle/third_party
../../../third_party/angle/tools
../../../third_party/angle/util
../../../third_party/dart
../../../third_party/dart/.clang-format
../../../third_party/dart/.dart_tool

File diff suppressed because it is too large Load Diff

View File

@@ -1,2 +1,2 @@
Signature: 6869bf83ae9a2e71a9302f51626429a0
Signature: 3d3a0db1d0e7f5b2fe1f3739e50795f8

View File

@@ -83,10 +83,10 @@ if (is_mac) {
"//flutter/impeller/aiks",
"//flutter/impeller/aiks:aiks_unittests_golden",
"//flutter/impeller/fixtures",
"//flutter/third_party/angle:libEGL",
"//flutter/third_party/angle:libGLESv2",
"//flutter/third_party/googletest:gtest",
"//flutter/third_party/swiftshader",
"//third_party/angle:libEGL",
"//third_party/angle:libGLESv2",
]
}
}

View File

@@ -8,7 +8,7 @@ import("../../../tools/impeller.gni")
config("gles_config") {
# Generic GL/GLES/EGL/Vulkan headers. Any will do. We just pick one from Angle
# because they are there.
include_dirs = [ "//third_party/angle/include" ]
include_dirs = [ "//flutter/third_party/angle/include" ]
}
impeller_component("gles_unittests") {
@@ -85,11 +85,11 @@ impeller_component("gles") {
if (!is_android && !is_fuchsia) {
public_configs = [ ":gles_config" ]
sources += [
"//third_party/angle/include/GLES2/gl2ext.h",
"//flutter/third_party/angle/include/GLES2/gl2ext.h",
# The GLES3 API is a superset of GLES2. Although we target GLES2, we use
# some GLES3 features if the driver supports them.
"//third_party/angle/include/GLES3/gl3.h",
"//flutter/third_party/angle/include/GLES3/gl3.h",
]
}

View File

@@ -354,9 +354,9 @@ if (enable_unittests) {
if (shell_enable_gl) {
deps += [
"//flutter/third_party/angle:libEGL_static",
"//flutter/third_party/angle:libGLESv2_static",
"//flutter/third_party/swiftshader",
"//third_party/angle:libEGL_static",
"//third_party/angle:libGLESv2_static",
]
}
}

View File

@@ -11,7 +11,7 @@ _public_headers = [ "public/flutter_windows.h" ]
_internal_headers = [ "flutter_windows_internal.h" ]
config("relative_angle_headers") {
include_dirs = [ "//third_party/angle/include" ]
include_dirs = [ "//flutter/third_party/angle/include" ]
}
# Any files that are built by clients (client_wrapper code, library headers for
@@ -138,7 +138,7 @@ source_set("flutter_windows_source") {
configs += [
"//flutter/shell/platform/common:desktop_library_implementation",
"//third_party/angle:gl_prototypes",
"//flutter/third_party/angle:gl_prototypes",
]
public_configs = [ ":relative_angle_headers" ]
@@ -161,13 +161,13 @@ source_set("flutter_windows_source") {
"//flutter/shell/platform/common/client_wrapper:client_wrapper",
"//flutter/shell/platform/embedder:embedder_as_internal_library",
"//flutter/shell/platform/windows/client_wrapper:client_wrapper_windows",
# libEGL_static MUST be ordered before libGLESv2_static in this list. If
# reversed, a linker error will occur, reporting DllMain already defined in
# LIBCMTD.lib
"//flutter/third_party/angle:libEGL_static",
"//flutter/third_party/angle:libGLESv2_static",
"//flutter/third_party/rapidjson",
"//third_party/angle:libEGL_static", # the order of libEGL_static and
# libGLESv2_static is important.. if
# reversed, will cause a linker error
# DllMain already defined in
# LIBCMTD.lib
"//third_party/angle:libGLESv2_static",
]
}

View File

@@ -259,13 +259,13 @@ if (use_swiftshader) {
configs -= [ "//build/config/clang:extra_warnings" ]
configs += [
"//third_party/angle:gl_prototypes",
"//flutter/third_party/angle:gl_prototypes",
"//flutter/third_party/swiftshader:swiftshader_config",
]
deps += [
"//flutter/third_party/angle:libEGL_static",
"//flutter/third_party/angle:libGLESv2_static",
"//flutter/third_party/swiftshader",
"//third_party/angle:libEGL_static",
"//third_party/angle:libGLESv2_static",
]
}
}

View File

@@ -30,6 +30,17 @@ final Set<String> skippedPaths = <String>{
r'flutter/lib/web_ui/dev', // these are build tools; they do not end up in Engine artifacts
r'flutter/prebuilts',
r'flutter/sky/packages/sky_engine/LICENSE',
r'flutter/third_party/angle/android',
r'flutter/third_party/angle/doc',
r'flutter/third_party/angle/extensions',
r'flutter/third_party/angle/infra',
r'flutter/third_party/angle/scripts',
r'flutter/third_party/angle/src/libANGLE/renderer/metal/doc',
r'flutter/third_party/angle/src/libANGLE/renderer/vulkan/doc',
r'flutter/third_party/angle/src/third_party/volk', // We don't use Vulkan in our ANGLE build.
r'flutter/third_party/angle/third_party', // Unused by Flutter: BUILD files with forwarding targets (but no code).
r'flutter/third_party/angle/tools', // These are build-time tools, and aren't shipped.
r'flutter/third_party/angle/util',
r'flutter/third_party/benchmark', // only used by tests
r'flutter/third_party/boringssl/src/crypto/err/err_data_generate.go',
r'flutter/third_party/boringssl/src/fuzz', // testing tools, not shipped
@@ -161,17 +172,6 @@ final Set<String> skippedPaths = <String>{
r'out', // output of build
r'third_party/android_embedding_dependencies', // Not shipped. Used only for the build-time classpath, and for the in-tree testing framework for Android
r'third_party/android_tools', // excluded on advice
r'third_party/angle/android',
r'third_party/angle/doc',
r'third_party/angle/extensions',
r'third_party/angle/infra',
r'third_party/angle/scripts',
r'third_party/angle/src/libANGLE/renderer/metal/doc',
r'third_party/angle/src/libANGLE/renderer/vulkan/doc',
r'third_party/angle/src/third_party/volk', // We don't use Vulkan in our ANGLE build.
r'third_party/angle/third_party', // Unused by Flutter: BUILD files with forwarding targets (but no code).
r'third_party/angle/tools', // These are build-time tools, and aren't shipped.
r'third_party/angle/util',
r'third_party/dart/benchmarks', // not shipped in binary
r'third_party/dart/build', // not shipped in binary
r'third_party/dart/docs', // not shipped in binary
@@ -461,11 +461,11 @@ final List<Pattern> skippedFilePatterns = <Pattern>[
RegExp(r'^flutter/lib/web_ui/lib/assets/ahem\.ttf$', expectNoMatch: true), // this gitignored file exists only for testing purposes
RegExp(r'^flutter/sky/packages/sky_engine/LICENSE$'), // that is the output of this script
RegExp(r'^flutter/third_party/abseil-cpp/(?:.+/)*[^/]+_test\.[^/]+$'),
RegExp(r'^flutter/third_party/angle/(?:.+/)*[^/]+_unittest\.[^/]+$'),
RegExp(r'^flutter/third_party/boringssl/(?:.+/)*[^/]+_test\.[^/]+$'),
RegExp(r'^flutter/third_party/boringssl/src/crypto/fipsmodule/bn/[^/]+.go$'),
RegExp(r'^flutter/third_party/boringssl/src/crypto/fipsmodule/ec/[^/]+.go$'),
RegExp(r'^flutter/third_party/freetype2/docs/(?!FTL\.TXT$).+'), // ignore all documentation except the license
RegExp(r'^third_party/angle/(?:.+/)*[^/]+_unittest\.[^/]+$'),
RegExp(r'^third_party/dart/(?:.+/)*[^/]+_test\.[^/]+$'),
RegExp(r'^third_party/zlib/(?:.+/)*[^/]+_unittest\.[^/]+$'),
];