Pull a sysroot on Linux (flutter/engine#17572)

This rolls DEPS to pick up the new buildroot sysroot scripts, and uses
them to download a sysroot on Linux. The sysroot isn't yet used by
default; that will be added in a later PR.

Part of https://github.com/flutter/flutter/issues/53176
This commit is contained in:
stuartmorgan 2020-04-09 12:28:08 -07:00 committed by GitHub
parent 532b26f7fc
commit 6600cdbc2d

14
DEPS
View File

@ -113,6 +113,9 @@ vars = {
# Checkout Windows dependencies only if we are building on Windows.
'download_windows_deps' : 'host_os == "win"',
# Checkout Linux dependencies only when building on Linux.
'download_linux_deps': 'host_os == "linux"',
# An LLVM backend needs LLVM binaries and headers. To avoid build time
# increases we can use prebuilts. We don't want to download this on every
# CQ/CI bot nor do we want the average Dart developer to incur that cost.
@ -136,7 +139,7 @@ allowed_hosts = [
]
deps = {
'src': 'https://github.com/flutter/buildroot.git' + '@' + '3a27de1c5bb0f50be7d3efe3e00de4f6068c9f30',
'src': 'https://github.com/flutter/buildroot.git' + '@' + '74eedc7f351b2b8c323468c4487b1b5e9b08f0aa',
# Fuchsia compatibility
#
@ -622,4 +625,13 @@ hooks = [
'src/third_party/dart/third_party/7zip.tar.gz.sha1',
],
},
{
'name': 'linux_sysroot',
'pattern': '.',
'condition': 'download_linux_deps',
'action': [
'python',
'src/build/linux/sysroot_scripts/install-sysroot.py',
'--arch=x64'],
},
]