Skip to content

Commit

Permalink
Download Fuchsia SDK.
Browse files Browse the repository at this point in the history
Bug: None
Change-Id: I621408ab74ab3fa4f0ff60e53b000ef859223c93
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/265382
Reviewed-by: Sarah Pham <[email protected]>
Commit-Queue: Mirko Bonadei <[email protected]>
Cr-Commit-Position: refs/heads/main@{#37168}
  • Loading branch information
MirkoBonadei authored and WebRTC LUCI CQ committed Jun 9, 2022
1 parent 4cd3a0d commit a976a87
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ vars = {

# ResultDB version
'resultdb_version': 'git_revision:6cc18e2763e180929d70c786b419c1f8e6bcc66c',

# By default, download the fuchsia sdk from the public sdk directory.
'fuchsia_sdk_cipd_prefix': 'fuchsia/sdk/gn/',
'fuchsia_version': 'version:8.20220607.3.1',
}

deps = {
Expand Down Expand Up @@ -343,6 +347,17 @@ deps = {
'dep_type': 'cipd',
},

'src/third_party/fuchsia-sdk/sdk': {
'packages': [
{
'package': Var('fuchsia_sdk_cipd_prefix') + '${{platform}}',
'version': Var('fuchsia_version'),
},
],
'condition': 'checkout_fuchsia',
'dep_type': 'cipd',
},

'src/third_party/hamcrest': {
'packages': [
{
Expand Down Expand Up @@ -2255,17 +2270,6 @@ hooks = [
'condition': 'checkout_mac',
'action': ['python3', 'src/build/mac_toolchain.py'],
},
{
# Update the Fuchsia SDK if necessary.
'name': 'Download Fuchsia SDK',
'pattern': '.',
'condition': 'checkout_fuchsia',
'action': [
'python3',
'src/build/fuchsia/update_sdk.py',
'--default-bucket=fuchsia',
],
},
{
# Note: On Win, this should run after win_toolchain, as it may use it.
'name': 'clang',
Expand Down

0 comments on commit a976a87

Please sign in to comment.