Add family of dependencies that work on SPIRV. (flutter/engine#26745)

This commit is contained in:
Chinmay Garde
2021-06-15 18:04:01 -07:00
committed by GitHub
parent a52739882c
commit ba8b4b7161
3 changed files with 23 additions and 2 deletions

18
DEPS
View File

@@ -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

View File

@@ -1,2 +1,2 @@
Signature: f816a2124a3bfcf0c831a0e3713cb6ee
Signature: b9105737a36020f19487fe9854f4be92

View File

@@ -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);
}