@@ -17,6 +17,10 @@ vars = {
17
17
18
18
# ResultDB version
19
19
'resultdb_version' : 'git_revision:6cc18e2763e180929d70c786b419c1f8e6bcc66c' ,
20
+
21
+ # By default, download the fuchsia sdk from the public sdk directory.
22
+ 'fuchsia_sdk_cipd_prefix' : 'fuchsia/sdk/gn/' ,
23
+ 'fuchsia_version' : 'version:8.20220607.3.1' ,
20
24
}
21
25
22
26
deps = {
@@ -343,6 +347,17 @@ deps = {
343
347
'dep_type' : 'cipd' ,
344
348
},
345
349
350
+ 'src/third_party/fuchsia-sdk/sdk' : {
351
+ 'packages' : [
352
+ {
353
+ 'package' : Var ('fuchsia_sdk_cipd_prefix' ) + '${{platform}}' ,
354
+ 'version' : Var ('fuchsia_version' ),
355
+ },
356
+ ],
357
+ 'condition' : 'checkout_fuchsia' ,
358
+ 'dep_type' : 'cipd' ,
359
+ },
360
+
346
361
'src/third_party/hamcrest' : {
347
362
'packages' : [
348
363
{
@@ -2255,17 +2270,6 @@ hooks = [
2255
2270
'condition' : 'checkout_mac' ,
2256
2271
'action' : ['python3' , 'src/build/mac_toolchain.py' ],
2257
2272
},
2258
- {
2259
- # Update the Fuchsia SDK if necessary.
2260
- 'name' : 'Download Fuchsia SDK' ,
2261
- 'pattern' : '.' ,
2262
- 'condition' : 'checkout_fuchsia' ,
2263
- 'action' : [
2264
- 'python3' ,
2265
- 'src/build/fuchsia/update_sdk.py' ,
2266
- '--default-bucket=fuchsia' ,
2267
- ],
2268
- },
2269
2273
{
2270
2274
# Note: On Win, this should run after win_toolchain, as it may use it.
2271
2275
'name' : 'clang' ,
0 commit comments