diff --git a/DEPS b/DEPS index 0e34014f488b6..3f8f5294acc29 100644 --- a/DEPS +++ b/DEPS @@ -272,7 +272,7 @@ allowed_hosts = [ ] deps = { - 'src': 'https://github.com/flutter/buildroot.git' + '@' + '1570fb412dab333e380450ddee32ba8c60edef2f', + 'src': 'https://github.com/flutter/buildroot.git' + '@' + '0141e94b34cbd3db77f28796587334857fa985da', 'src/flutter/third_party/rapidjson': Var('fuchsia_git') + '/third_party/rapidjson' + '@' + 'ef3564c5c8824989393b87df25355baf35ff544b', @@ -662,7 +662,7 @@ deps = { 'src/flutter/third_party/pyyaml': Var('fuchsia_git') + '/third_party/pyyaml.git' + '@' + '25e97546488eee166b1abb229a27856cecd8b7ac', - 'src/third_party/swiftshader': + 'src/flutter/third_party/swiftshader': Var('swiftshader_git') + '/SwiftShader.git' + '@' + '5b6f768198ce6a6485da31e1be06b5a17a2bf0a0', 'src/third_party/angle': diff --git a/ci/licenses_golden/excluded_files b/ci/licenses_golden/excluded_files index f0cb7c50efe51..51104ce3d8a54 100644 --- a/ci/licenses_golden/excluded_files +++ b/ci/licenses_golden/excluded_files @@ -1045,6 +1045,7 @@ ../../../flutter/third_party/sqlite/README.md ../../../flutter/third_party/sqlite/VERSION ../../../flutter/third_party/stb +../../../flutter/third_party/swiftshader ../../../flutter/third_party/test_shaders ../../../flutter/third_party/tinygltf ../../../flutter/third_party/tonic/.clang-format @@ -3022,7 +3023,6 @@ ../../../third_party/root_certificates/certdata.pem ../../../third_party/root_certificates/certdata.txt ../../../third_party/root_certificates/codereview.settings -../../../third_party/swiftshader ../../../third_party/vulkan-deps/.git ../../../third_party/vulkan-deps/.gitattributes ../../../third_party/vulkan-deps/.gitignore diff --git a/ci/licenses_golden/tool_signature b/ci/licenses_golden/tool_signature index 5970ad247311b..569c9c825d329 100644 --- a/ci/licenses_golden/tool_signature +++ b/ci/licenses_golden/tool_signature @@ -1,2 +1,2 @@ -Signature: 9c9e9d44a47e4d85f1debd69bc795b40 +Signature: 11fcac7657e1af099350216fe4aefee8 diff --git a/impeller/BUILD.gn b/impeller/BUILD.gn index 3237235fe9154..3bfe85a0fb072 100644 --- a/impeller/BUILD.gn +++ b/impeller/BUILD.gn @@ -119,7 +119,7 @@ impeller_component("impeller_unittests") { if (glfw_vulkan_library != "") { deps += [ - "//third_party/swiftshader", + "//flutter/third_party/swiftshader", "//third_party/vulkan-deps/vulkan-loader/src:libvulkan", "//third_party/vulkan_validation_layers", "//third_party/vulkan_validation_layers:vulkan_gen_json_files", diff --git a/impeller/golden_tests/BUILD.gn b/impeller/golden_tests/BUILD.gn index 0e1c7bd216e17..5b679c6a7e0d6 100644 --- a/impeller/golden_tests/BUILD.gn +++ b/impeller/golden_tests/BUILD.gn @@ -75,8 +75,8 @@ if (is_mac) { "//flutter/impeller/aiks", "//flutter/impeller/aiks:aiks_unittests_golden", "//flutter/impeller/fixtures", + "//flutter/third_party/swiftshader", "//third_party/googletest:gtest", - "//third_party/swiftshader", ] } } diff --git a/shell/common/BUILD.gn b/shell/common/BUILD.gn index 6e3cff31b7b02..79cfafe0173b2 100644 --- a/shell/common/BUILD.gn +++ b/shell/common/BUILD.gn @@ -344,14 +344,14 @@ if (enable_unittests) { # TODO(63837): This test is hard-coded to use a TestGLSurface so it cannot # run on fuchsia or when GL is not enabled. sources += [ "shell_io_manager_unittests.cc" ] - deps += [ "//third_party/swiftshader" ] + deps += [ "//flutter/third_party/swiftshader" ] } if (shell_enable_gl) { deps += [ + "//flutter/third_party/swiftshader", "//third_party/angle:libEGL_static", "//third_party/angle:libGLESv2_static", - "//third_party/swiftshader", ] } } diff --git a/shell/testing/BUILD.gn b/shell/testing/BUILD.gn index dd51d0a077604..06d67ede84029 100644 --- a/shell/testing/BUILD.gn +++ b/shell/testing/BUILD.gn @@ -50,7 +50,7 @@ executable("testing") { deps += [ ":tester_gpu_configuration", "//flutter/impeller", - "//third_party/swiftshader", + "//flutter/third_party/swiftshader", ] } diff --git a/testing/BUILD.gn b/testing/BUILD.gn index 99aaa0fc699d8..9eac2945251f4 100644 --- a/testing/BUILD.gn +++ b/testing/BUILD.gn @@ -169,8 +169,8 @@ if (enable_unittests && shell_enable_vulkan) { ] if (!is_fuchsia) { - deps += [ "//third_party/swiftshader" ] - configs += [ "//third_party/swiftshader:swiftshader_config" ] + deps += [ "//flutter/third_party/swiftshader" ] + configs += [ "//flutter/third_party/swiftshader:swiftshader_config" ] } } } @@ -260,12 +260,12 @@ if (use_swiftshader) { configs -= [ "//build/config/clang:extra_warnings" ] configs += [ "//third_party/angle:gl_prototypes", - "//third_party/swiftshader:swiftshader_config", + "//flutter/third_party/swiftshader:swiftshader_config", ] deps += [ + "//flutter/third_party/swiftshader", "//third_party/angle:libEGL_static", "//third_party/angle:libGLESv2_static", - "//third_party/swiftshader", ] } } diff --git a/testing/ubsan_suppressions.txt b/testing/ubsan_suppressions.txt index ec24e31856af8..6bbcd41c9cf20 100644 --- a/testing/ubsan_suppressions.txt +++ b/testing/ubsan_suppressions.txt @@ -6,5 +6,5 @@ alignment:third_party/dart null:third_party/dart # Ignore errors in SwiftShader -undefined:third_party/swiftshader +undefined:flutter/third_party/swiftshader diff --git a/tools/licenses/lib/paths.dart b/tools/licenses/lib/paths.dart index a336afbcd02f0..a4205dc1c0a2b 100644 --- a/tools/licenses/lib/paths.dart +++ b/tools/licenses/lib/paths.dart @@ -91,6 +91,7 @@ final Set skippedPaths = { r'flutter/third_party/skia/third_party/vello', // not linked in r'flutter/third_party/skia/tools', // contains nothing that ends up in the binary executable r'flutter/third_party/stb', + r'flutter/third_party/swiftshader', // only used on hosts for tests r'flutter/third_party/test_shaders', // for tests only r'flutter/third_party/tinygltf', r'flutter/third_party/txt/third_party/fonts', @@ -185,7 +186,6 @@ final Set skippedPaths = { r'third_party/protobuf', // build-time dependency only r'third_party/root_certificates/certdata.pem', r'third_party/root_certificates/certdata.txt', - r'third_party/swiftshader', // only used on hosts for tests r'third_party/vulkan-deps/glslang/LICENSE', // excluded to make sure we don't accidentally apply it as a default license r'third_party/vulkan-deps/glslang/src/LICENSE.txt', // redundant with licenses inside files r'third_party/vulkan-deps/glslang/src/glslang/OSDependent/Web', // we only use glslang in impellerc, not in web apps