Skip to content

Commit

Permalink
Pull a sysroot on Linux (flutter#17572)
Browse files Browse the repository at this point in the history
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 flutter#53176
  • Loading branch information
stuartmorgan committed Apr 9, 2020
1 parent 9c63acd commit e47980d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
#
Expand Down Expand Up @@ -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'],
},
]

0 comments on commit e47980d

Please sign in to comment.