Skip to content

Commit 70bfb52

Browse files
authored
Use download_dart_sdk flag in DEPS (flutter#33772)
Checking the download_dart_sdk variable in DEPS before downloading the prebuilt Dart SDK was dropped when the downloads were converted to cipd package downloads. Restore the check of download_dart_sdk.
1 parent 1c6dead commit 70bfb52

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

DEPS

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ deps = {
363363
}
364364
],
365365
'dep_type': 'cipd',
366-
'condition': 'host_os == "linux"'
366+
'condition': 'host_os == "linux" and download_dart_sdk'
367367
},
368368
'src/flutter/prebuilts/linux-arm64/dart-sdk': {
369369
'packages': [
@@ -373,7 +373,7 @@ deps = {
373373
}
374374
],
375375
'dep_type': 'cipd',
376-
'condition': 'host_os == "linux"'
376+
'condition': 'host_os == "linux" and download_dart_sdk'
377377
},
378378
'src/flutter/prebuilts/macos-x64/dart-sdk': {
379379
'packages': [
@@ -383,7 +383,7 @@ deps = {
383383
}
384384
],
385385
'dep_type': 'cipd',
386-
'condition': 'host_os == "mac"'
386+
'condition': 'host_os == "mac" and download_dart_sdk'
387387
},
388388
'src/flutter/prebuilts/macos-arm64/dart-sdk': {
389389
'packages': [
@@ -393,7 +393,7 @@ deps = {
393393
}
394394
],
395395
'dep_type': 'cipd',
396-
'condition': 'host_os == "mac"'
396+
'condition': 'host_os == "mac" and download_dart_sdk'
397397
},
398398
'src/flutter/prebuilts/windows-x64/dart-sdk': {
399399
'packages': [
@@ -403,7 +403,7 @@ deps = {
403403
}
404404
],
405405
'dep_type': 'cipd',
406-
'condition': 'host_os == "win"'
406+
'condition': 'host_os == "win" and download_dart_sdk'
407407
},
408408
'src/flutter/prebuilts/windows-arm64/dart-sdk': {
409409
'packages': [
@@ -413,7 +413,7 @@ deps = {
413413
}
414414
],
415415
'dep_type': 'cipd',
416-
'condition': 'host_os == "win"'
416+
'condition': 'host_os == "win" and download_dart_sdk'
417417
},
418418

419419
'src/third_party/colorama/src':

0 commit comments

Comments
 (0)