From ba8b4b7161f5841dd3e70a857433de440c92435d Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Tue, 15 Jun 2021 18:04:01 -0700 Subject: [PATCH] Add family of dependencies that work on SPIRV. (flutter/engine#26745) --- DEPS | 18 +++++++++++++++++- .../flutter/ci/licenses_golden/tool_signature | 2 +- .../src/flutter/tools/licenses/lib/main.dart | 5 +++++ 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/DEPS b/DEPS index d2e3030eab..b590656938 100644 --- a/DEPS +++ b/DEPS @@ -98,7 +98,7 @@ allowed_hosts = [ ] deps = { - 'src': 'https://github.com/flutter/buildroot.git' + '@' + '3ae5da28db8cb028e21150f7472d0938fba2e057', + 'src': 'https://github.com/flutter/buildroot.git' + '@' + 'da131f62020132fa0df9008ad5951bb8ac591746', # Fuchsia compatibility # @@ -124,6 +124,22 @@ deps = { 'src/third_party/glfw': Var('fuchsia_git') + '/third_party/glfw' + '@' + '999f3556fdd80983b10051746264489f2cb1ef16', + 'src/third_party/shaderc': + Var('github_git') + '/google/shaderc.git' + '@' + '948660cccfbbc303d2590c7f44a4cee40b66fdd6', + + 'src/third_party/glslang': + Var('github_git') + '/KhronosGroup/glslang.git' + '@' + '9431c53c84c14fa9e9cd37678262ebba55c62c87', + + 'src/third_party/spirv_tools': + Var('github_git') + '/KhronosGroup/SPIRV-Tools.git' + '@' + '1020e394cb1267332d58497150d2b024371a8e41', + + 'src/third_party/spirv_headers': + Var('github_git') + '/KhronosGroup/SPIRV-Headers.git' + '@' + '85b7e00c7d785962ffe851a177c84353d037dcb6', + + 'src/third_party/spirv_cross': + Var('github_git') + '/KhronosGroup/SPIRV-Cross.git' + '@' + '418542eaefdb609f548d25a1e3962fb69d80da63', + + # Chromium-style # # As part of integrating with Fuchsia, we should eventually remove all these diff --git a/engine/src/flutter/ci/licenses_golden/tool_signature b/engine/src/flutter/ci/licenses_golden/tool_signature index 6b039dd9a1..e3af63084c 100644 --- a/engine/src/flutter/ci/licenses_golden/tool_signature +++ b/engine/src/flutter/ci/licenses_golden/tool_signature @@ -1,2 +1,2 @@ -Signature: f816a2124a3bfcf0c831a0e3713cb6ee +Signature: b9105737a36020f19487fe9854f4be92 diff --git a/engine/src/flutter/tools/licenses/lib/main.dart b/engine/src/flutter/tools/licenses/lib/main.dart index 3cc6ebe281..05fda3aece 100644 --- a/engine/src/flutter/tools/licenses/lib/main.dart +++ b/engine/src/flutter/tools/licenses/lib/main.dart @@ -1830,6 +1830,11 @@ class _RepositoryRootThirdPartyDirectory extends _RepositoryGenericThirdPartyDir && entry.name != 'skia' // treated as a separate component && entry.name != 'fontconfig' // not used in standard configurations && entry.name != 'swiftshader' // only used on hosts for tests + && entry.name != 'shaderc' // only used on hosts for tests + && entry.name != 'glslang' // only used on hosts for tests + && entry.name != 'spirv_tools' // only used on hosts for tests + && entry.name != 'spirv_headers' // only used on hosts for tests + && entry.name != 'spirv_cross' // only used on hosts for tests && entry.name != 'ocmock' // only used for tests && super.shouldRecurse(entry); }