@@ -17,6 +17,10 @@ vars = {
1717
1818 # ResultDB version
1919 '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' ,
2024}
2125
2226deps = {
@@ -343,6 +347,17 @@ deps = {
343347 'dep_type' : 'cipd' ,
344348 },
345349
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+
346361 'src/third_party/hamcrest' : {
347362 'packages' : [
348363 {
@@ -2255,17 +2270,6 @@ hooks = [
22552270 'condition' : 'checkout_mac' ,
22562271 'action' : ['python3' , 'src/build/mac_toolchain.py' ],
22572272 },
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- },
22692273 {
22702274 # Note: On Win, this should run after win_toolchain, as it may use it.
22712275 'name' : 'clang' ,
0 commit comments