Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit e47980d

Browse files
Pull a sysroot on Linux (#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 flutter/flutter#53176
1 parent 9c63acd commit e47980d

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

DEPS

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ vars = {
113113
# Checkout Windows dependencies only if we are building on Windows.
114114
'download_windows_deps' : 'host_os == "win"',
115115

116+
# Checkout Linux dependencies only when building on Linux.
117+
'download_linux_deps': 'host_os == "linux"',
118+
116119
# An LLVM backend needs LLVM binaries and headers. To avoid build time
117120
# increases we can use prebuilts. We don't want to download this on every
118121
# CQ/CI bot nor do we want the average Dart developer to incur that cost.
@@ -136,7 +139,7 @@ allowed_hosts = [
136139
]
137140

138141
deps = {
139-
'src': 'https://github.com/flutter/buildroot.git' + '@' + '3a27de1c5bb0f50be7d3efe3e00de4f6068c9f30',
142+
'src': 'https://github.com/flutter/buildroot.git' + '@' + '74eedc7f351b2b8c323468c4487b1b5e9b08f0aa',
140143

141144
# Fuchsia compatibility
142145
#
@@ -622,4 +625,13 @@ hooks = [
622625
'src/third_party/dart/third_party/7zip.tar.gz.sha1',
623626
],
624627
},
628+
{
629+
'name': 'linux_sysroot',
630+
'pattern': '.',
631+
'condition': 'download_linux_deps',
632+
'action': [
633+
'python',
634+
'src/build/linux/sysroot_scripts/install-sysroot.py',
635+
'--arch=x64'],
636+
},
625637
]

0 commit comments

Comments
 (0)