• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2  {
3    "cmd": [],
4    "name": "git"
5  },
6  {
7    "cmd": [
8      "git",
9      "init",
10      "[START_DIR]/gn"
11    ],
12    "infra_step": true,
13    "luci_context": {
14      "realm": {
15        "name": "gn:ci"
16      },
17      "resultdb": {
18        "current_invocation": {
19          "name": "invocations/build:8945511751514863184",
20          "update_token": "token"
21        },
22        "hostname": "rdbhost"
23      }
24    },
25    "name": "git.init",
26    "~followup_annotations": [
27      "@@@STEP_NEST_LEVEL@1@@@"
28    ]
29  },
30  {
31    "cmd": [
32      "git",
33      "fetch",
34      "--tags",
35      "https://gn.googlesource.com/gn",
36      "2d72510e447ab60a9728aeea2362d8be2cbd7789"
37    ],
38    "cwd": "[START_DIR]/gn",
39    "infra_step": true,
40    "luci_context": {
41      "realm": {
42        "name": "gn:ci"
43      },
44      "resultdb": {
45        "current_invocation": {
46          "name": "invocations/build:8945511751514863184",
47          "update_token": "token"
48        },
49        "hostname": "rdbhost"
50      }
51    },
52    "name": "git.fetch",
53    "~followup_annotations": [
54      "@@@STEP_NEST_LEVEL@1@@@"
55    ]
56  },
57  {
58    "cmd": [
59      "git",
60      "checkout",
61      "FETCH_HEAD"
62    ],
63    "cwd": "[START_DIR]/gn",
64    "infra_step": true,
65    "luci_context": {
66      "realm": {
67        "name": "gn:ci"
68      },
69      "resultdb": {
70        "current_invocation": {
71          "name": "invocations/build:8945511751514863184",
72          "update_token": "token"
73        },
74        "hostname": "rdbhost"
75      }
76    },
77    "name": "git.checkout",
78    "~followup_annotations": [
79      "@@@STEP_NEST_LEVEL@1@@@"
80    ]
81  },
82  {
83    "cmd": [
84      "git",
85      "rev-parse",
86      "HEAD"
87    ],
88    "cwd": "[START_DIR]/gn",
89    "infra_step": true,
90    "luci_context": {
91      "realm": {
92        "name": "gn:ci"
93      },
94      "resultdb": {
95        "current_invocation": {
96          "name": "invocations/build:8945511751514863184",
97          "update_token": "token"
98        },
99        "hostname": "rdbhost"
100      }
101    },
102    "name": "git.rev-parse",
103    "~followup_annotations": [
104      "@@@STEP_NEST_LEVEL@1@@@"
105    ]
106  },
107  {
108    "cmd": [
109      "cipd",
110      "ensure",
111      "-root",
112      "[START_DIR]/cipd",
113      "-ensure-file",
114      "infra/ninja/${platform} version:1.8.2\nfuchsia/third_party/clang/${platform} integration",
115      "-max-threads",
116      "0",
117      "-json-output",
118      "/path/to/tmp/json"
119    ],
120    "infra_step": true,
121    "luci_context": {
122      "realm": {
123        "name": "gn:ci"
124      },
125      "resultdb": {
126        "current_invocation": {
127          "name": "invocations/build:8945511751514863184",
128          "update_token": "token"
129        },
130        "hostname": "rdbhost"
131      }
132    },
133    "name": "ensure_installed",
134    "~followup_annotations": [
135      "@@@STEP_LOG_LINE@json.output@{@@@",
136      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
137      "@@@STEP_LOG_LINE@json.output@    \"\": [@@@",
138      "@@@STEP_LOG_LINE@json.output@      {@@@",
139      "@@@STEP_LOG_LINE@json.output@        \"instance_id\": \"resolved-instance_id-of-integration-----\", @@@",
140      "@@@STEP_LOG_LINE@json.output@        \"package\": \"fuchsia/third_party/clang/resolved-platform\"@@@",
141      "@@@STEP_LOG_LINE@json.output@      }, @@@",
142      "@@@STEP_LOG_LINE@json.output@      {@@@",
143      "@@@STEP_LOG_LINE@json.output@        \"instance_id\": \"resolved-instance_id-of-version:1.8.2---\", @@@",
144      "@@@STEP_LOG_LINE@json.output@        \"package\": \"infra/ninja/resolved-platform\"@@@",
145      "@@@STEP_LOG_LINE@json.output@      }@@@",
146      "@@@STEP_LOG_LINE@json.output@    ]@@@",
147      "@@@STEP_LOG_LINE@json.output@  }@@@",
148      "@@@STEP_LOG_LINE@json.output@}@@@",
149      "@@@STEP_LOG_END@json.output@@@"
150    ]
151  },
152  {
153    "cmd": [
154      "cipd",
155      "ensure",
156      "-root",
157      "[CACHE]/macos_sdk",
158      "-ensure-file",
159      "infra/tools/mac_toolchain/${platform} git_revision:e9b1fe29fe21a1cd36428c43ea2aba244bd31280",
160      "-max-threads",
161      "0",
162      "-json-output",
163      "/path/to/tmp/json"
164    ],
165    "infra_step": true,
166    "luci_context": {
167      "realm": {
168        "name": "gn:ci"
169      },
170      "resultdb": {
171        "current_invocation": {
172          "name": "invocations/build:8945511751514863184",
173          "update_token": "token"
174        },
175        "hostname": "rdbhost"
176      }
177    },
178    "name": "ensure_installed (2)",
179    "~followup_annotations": [
180      "@@@STEP_LOG_LINE@json.output@{@@@",
181      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
182      "@@@STEP_LOG_LINE@json.output@    \"\": [@@@",
183      "@@@STEP_LOG_LINE@json.output@      {@@@",
184      "@@@STEP_LOG_LINE@json.output@        \"instance_id\": \"resolved-instance_id-of-git_revision:e9b\", @@@",
185      "@@@STEP_LOG_LINE@json.output@        \"package\": \"infra/tools/mac_toolchain/resolved-platform\"@@@",
186      "@@@STEP_LOG_LINE@json.output@      }@@@",
187      "@@@STEP_LOG_LINE@json.output@    ]@@@",
188      "@@@STEP_LOG_LINE@json.output@  }@@@",
189      "@@@STEP_LOG_LINE@json.output@}@@@",
190      "@@@STEP_LOG_END@json.output@@@"
191    ]
192  },
193  {
194    "cmd": [
195      "[CACHE]/macos_sdk/mac_toolchain",
196      "install",
197      "-kind",
198      "mac",
199      "-xcode-version",
200      "12b5025f",
201      "-output-dir",
202      "[CACHE]/macos_sdk/XCode.app"
203    ],
204    "infra_step": true,
205    "luci_context": {
206      "realm": {
207        "name": "gn:ci"
208      },
209      "resultdb": {
210        "current_invocation": {
211          "name": "invocations/build:8945511751514863184",
212          "update_token": "token"
213        },
214        "hostname": "rdbhost"
215      }
216    },
217    "name": "install xcode"
218  },
219  {
220    "cmd": [
221      "sudo",
222      "xcode-select",
223      "--switch",
224      "[CACHE]/macos_sdk/XCode.app"
225    ],
226    "infra_step": true,
227    "luci_context": {
228      "realm": {
229        "name": "gn:ci"
230      },
231      "resultdb": {
232        "current_invocation": {
233          "name": "invocations/build:8945511751514863184",
234          "update_token": "token"
235        },
236        "hostname": "rdbhost"
237      }
238    },
239    "name": "select XCode"
240  },
241  {
242    "cmd": [],
243    "name": "debug"
244  },
245  {
246    "cmd": [
247      "xcrun",
248      "--show-sdk-path"
249    ],
250    "luci_context": {
251      "realm": {
252        "name": "gn:ci"
253      },
254      "resultdb": {
255        "current_invocation": {
256          "name": "invocations/build:8945511751514863184",
257          "update_token": "token"
258        },
259        "hostname": "rdbhost"
260      }
261    },
262    "name": "debug.xcrun sdk-path",
263    "~followup_annotations": [
264      "@@@STEP_NEST_LEVEL@1@@@",
265      "@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@/some/xcode/path@@@",
266      "@@@STEP_LOG_END@raw_io.output_text[sdk-path]@@@"
267    ]
268  },
269  {
270    "cmd": [
271      "xcrun",
272      "--toolchain",
273      "clang",
274      "clang++",
275      "-xc++",
276      "-fsyntax-only",
277      "-Wp,-v",
278      "/dev/null"
279    ],
280    "luci_context": {
281      "realm": {
282        "name": "gn:ci"
283      },
284      "resultdb": {
285        "current_invocation": {
286          "name": "invocations/build:8945511751514863184",
287          "update_token": "token"
288        },
289        "hostname": "rdbhost"
290      }
291    },
292    "name": "debug.xcrun toolchain",
293    "~followup_annotations": [
294      "@@@STEP_NEST_LEVEL@1@@@",
295      "@@@STEP_LOG_LINE@raw_io.output_text[toolchain]@[CACHE]/macos_sdk/XCode.app/include/c++/v1@@@",
296      "@@@STEP_LOG_END@raw_io.output_text[toolchain]@@@"
297    ]
298  },
299  {
300    "cmd": [],
301    "name": "debug.mac-amd64",
302    "~followup_annotations": [
303      "@@@STEP_NEST_LEVEL@1@@@"
304    ]
305  },
306  {
307    "cmd": [
308      "python",
309      "-u",
310      "[START_DIR]/gn/build/gen.py",
311      "-d"
312    ],
313    "cwd": "[START_DIR]/gn",
314    "env": {
315      "AR": "[START_DIR]/cipd/bin/llvm-ar",
316      "CC": "[START_DIR]/cipd/bin/clang",
317      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
318      "CXX": "[START_DIR]/cipd/bin/clang++",
319      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
320    },
321    "luci_context": {
322      "realm": {
323        "name": "gn:ci"
324      },
325      "resultdb": {
326        "current_invocation": {
327          "name": "invocations/build:8945511751514863184",
328          "update_token": "token"
329        },
330        "hostname": "rdbhost"
331      }
332    },
333    "name": "debug.mac-amd64.generate",
334    "~followup_annotations": [
335      "@@@STEP_NEST_LEVEL@2@@@"
336    ]
337  },
338  {
339    "cmd": [
340      "[START_DIR]/cipd/ninja",
341      "-C",
342      "[START_DIR]/gn/out"
343    ],
344    "cwd": "[START_DIR]/gn",
345    "env": {
346      "AR": "[START_DIR]/cipd/bin/llvm-ar",
347      "CC": "[START_DIR]/cipd/bin/clang",
348      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
349      "CXX": "[START_DIR]/cipd/bin/clang++",
350      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
351    },
352    "luci_context": {
353      "realm": {
354        "name": "gn:ci"
355      },
356      "resultdb": {
357        "current_invocation": {
358          "name": "invocations/build:8945511751514863184",
359          "update_token": "token"
360        },
361        "hostname": "rdbhost"
362      }
363    },
364    "name": "debug.mac-amd64.build",
365    "~followup_annotations": [
366      "@@@STEP_NEST_LEVEL@2@@@"
367    ]
368  },
369  {
370    "cmd": [
371      "[START_DIR]/gn/out/gn_unittests"
372    ],
373    "cwd": "[START_DIR]/gn",
374    "env": {
375      "AR": "[START_DIR]/cipd/bin/llvm-ar",
376      "CC": "[START_DIR]/cipd/bin/clang",
377      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
378      "CXX": "[START_DIR]/cipd/bin/clang++",
379      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
380    },
381    "luci_context": {
382      "realm": {
383        "name": "gn:ci"
384      },
385      "resultdb": {
386        "current_invocation": {
387          "name": "invocations/build:8945511751514863184",
388          "update_token": "token"
389        },
390        "hostname": "rdbhost"
391      }
392    },
393    "name": "debug.mac-amd64.test",
394    "~followup_annotations": [
395      "@@@STEP_NEST_LEVEL@2@@@"
396    ]
397  },
398  {
399    "cmd": [],
400    "name": "release"
401  },
402  {
403    "cmd": [
404      "xcrun",
405      "--show-sdk-path"
406    ],
407    "luci_context": {
408      "realm": {
409        "name": "gn:ci"
410      },
411      "resultdb": {
412        "current_invocation": {
413          "name": "invocations/build:8945511751514863184",
414          "update_token": "token"
415        },
416        "hostname": "rdbhost"
417      }
418    },
419    "name": "release.xcrun sdk-path",
420    "~followup_annotations": [
421      "@@@STEP_NEST_LEVEL@1@@@",
422      "@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@/some/xcode/path@@@",
423      "@@@STEP_LOG_END@raw_io.output_text[sdk-path]@@@"
424    ]
425  },
426  {
427    "cmd": [
428      "xcrun",
429      "--toolchain",
430      "clang",
431      "clang++",
432      "-xc++",
433      "-fsyntax-only",
434      "-Wp,-v",
435      "/dev/null"
436    ],
437    "luci_context": {
438      "realm": {
439        "name": "gn:ci"
440      },
441      "resultdb": {
442        "current_invocation": {
443          "name": "invocations/build:8945511751514863184",
444          "update_token": "token"
445        },
446        "hostname": "rdbhost"
447      }
448    },
449    "name": "release.xcrun toolchain",
450    "~followup_annotations": [
451      "@@@STEP_NEST_LEVEL@1@@@",
452      "@@@STEP_LOG_LINE@raw_io.output_text[toolchain]@[CACHE]/macos_sdk/XCode.app/include/c++/v1@@@",
453      "@@@STEP_LOG_END@raw_io.output_text[toolchain]@@@"
454    ]
455  },
456  {
457    "cmd": [],
458    "name": "release.mac-amd64",
459    "~followup_annotations": [
460      "@@@STEP_NEST_LEVEL@1@@@"
461    ]
462  },
463  {
464    "cmd": [
465      "python",
466      "-u",
467      "[START_DIR]/gn/build/gen.py",
468      "--use-lto",
469      "--use-icf"
470    ],
471    "cwd": "[START_DIR]/gn",
472    "env": {
473      "AR": "[START_DIR]/cipd/bin/llvm-ar",
474      "CC": "[START_DIR]/cipd/bin/clang",
475      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
476      "CXX": "[START_DIR]/cipd/bin/clang++",
477      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
478    },
479    "luci_context": {
480      "realm": {
481        "name": "gn:ci"
482      },
483      "resultdb": {
484        "current_invocation": {
485          "name": "invocations/build:8945511751514863184",
486          "update_token": "token"
487        },
488        "hostname": "rdbhost"
489      }
490    },
491    "name": "release.mac-amd64.generate",
492    "~followup_annotations": [
493      "@@@STEP_NEST_LEVEL@2@@@"
494    ]
495  },
496  {
497    "cmd": [
498      "[START_DIR]/cipd/ninja",
499      "-C",
500      "[START_DIR]/gn/out"
501    ],
502    "cwd": "[START_DIR]/gn",
503    "env": {
504      "AR": "[START_DIR]/cipd/bin/llvm-ar",
505      "CC": "[START_DIR]/cipd/bin/clang",
506      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
507      "CXX": "[START_DIR]/cipd/bin/clang++",
508      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
509    },
510    "luci_context": {
511      "realm": {
512        "name": "gn:ci"
513      },
514      "resultdb": {
515        "current_invocation": {
516          "name": "invocations/build:8945511751514863184",
517          "update_token": "token"
518        },
519        "hostname": "rdbhost"
520      }
521    },
522    "name": "release.mac-amd64.build",
523    "~followup_annotations": [
524      "@@@STEP_NEST_LEVEL@2@@@"
525    ]
526  },
527  {
528    "cmd": [
529      "[START_DIR]/gn/out/gn_unittests"
530    ],
531    "cwd": "[START_DIR]/gn",
532    "env": {
533      "AR": "[START_DIR]/cipd/bin/llvm-ar",
534      "CC": "[START_DIR]/cipd/bin/clang",
535      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
536      "CXX": "[START_DIR]/cipd/bin/clang++",
537      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
538    },
539    "luci_context": {
540      "realm": {
541        "name": "gn:ci"
542      },
543      "resultdb": {
544        "current_invocation": {
545          "name": "invocations/build:8945511751514863184",
546          "update_token": "token"
547        },
548        "hostname": "rdbhost"
549      }
550    },
551    "name": "release.mac-amd64.test",
552    "~followup_annotations": [
553      "@@@STEP_NEST_LEVEL@2@@@"
554    ]
555  },
556  {
557    "cmd": [],
558    "name": "release.mac-amd64.upload",
559    "~followup_annotations": [
560      "@@@STEP_NEST_LEVEL@2@@@"
561    ]
562  },
563  {
564    "cmd": [
565      "cipd",
566      "pkg-build",
567      "-pkg-def",
568      "{\"data\": [{\"file\": \"gn\"}, {\"version_file\": \".versions/gn.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"gn/gn/mac-amd64\", \"root\": \"[START_DIR]/gn/out\"}",
569      "-out",
570      "[CLEANUP]/gn.cipd",
571      "-hash-algo",
572      "sha256",
573      "-json-output",
574      "/path/to/tmp/json"
575    ],
576    "cwd": "[START_DIR]/gn",
577    "env": {
578      "AR": "[START_DIR]/cipd/bin/llvm-ar",
579      "CC": "[START_DIR]/cipd/bin/clang",
580      "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
581      "CXX": "[START_DIR]/cipd/bin/clang++",
582      "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path"
583    },
584    "luci_context": {
585      "realm": {
586        "name": "gn:ci"
587      },
588      "resultdb": {
589        "current_invocation": {
590          "name": "invocations/build:8945511751514863184",
591          "update_token": "token"
592        },
593        "hostname": "rdbhost"
594      }
595    },
596    "name": "release.mac-amd64.upload.build gn/gn/mac-amd64",
597    "~followup_annotations": [
598      "@@@STEP_NEST_LEVEL@3@@@",
599      "@@@STEP_LOG_LINE@json.output@{@@@",
600      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
601      "@@@STEP_LOG_LINE@json.output@    \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@",
602      "@@@STEP_LOG_LINE@json.output@    \"package\": \"gn/gn/mac-amd64\"@@@",
603      "@@@STEP_LOG_LINE@json.output@  }@@@",
604      "@@@STEP_LOG_LINE@json.output@}@@@",
605      "@@@STEP_LOG_END@json.output@@@"
606    ]
607  },
608  {
609    "cmd": [
610      "xcrun",
611      "--show-sdk-path"
612    ],
613    "luci_context": {
614      "realm": {
615        "name": "gn:ci"
616      },
617      "resultdb": {
618        "current_invocation": {
619          "name": "invocations/build:8945511751514863184",
620          "update_token": "token"
621        },
622        "hostname": "rdbhost"
623      }
624    },
625    "name": "release.xcrun sdk-path (2)",
626    "~followup_annotations": [
627      "@@@STEP_NEST_LEVEL@1@@@",
628      "@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@/some/xcode/path@@@",
629      "@@@STEP_LOG_END@raw_io.output_text[sdk-path]@@@"
630    ]
631  },
632  {
633    "cmd": [
634      "xcrun",
635      "--toolchain",
636      "clang",
637      "clang++",
638      "-xc++",
639      "-fsyntax-only",
640      "-Wp,-v",
641      "/dev/null"
642    ],
643    "luci_context": {
644      "realm": {
645        "name": "gn:ci"
646      },
647      "resultdb": {
648        "current_invocation": {
649          "name": "invocations/build:8945511751514863184",
650          "update_token": "token"
651        },
652        "hostname": "rdbhost"
653      }
654    },
655    "name": "release.xcrun toolchain (2)",
656    "~followup_annotations": [
657      "@@@STEP_NEST_LEVEL@1@@@",
658      "@@@STEP_LOG_LINE@raw_io.output_text[toolchain]@[CACHE]/macos_sdk/XCode.app/include/c++/v1@@@",
659      "@@@STEP_LOG_END@raw_io.output_text[toolchain]@@@"
660    ]
661  },
662  {
663    "cmd": [],
664    "name": "release.mac-arm64",
665    "~followup_annotations": [
666      "@@@STEP_NEST_LEVEL@1@@@"
667    ]
668  },
669  {
670    "cmd": [
671      "python",
672      "-u",
673      "[START_DIR]/gn/build/gen.py",
674      "--use-lto",
675      "--use-icf"
676    ],
677    "cwd": "[START_DIR]/gn",
678    "env": {
679      "AR": "[START_DIR]/cipd/bin/llvm-ar",
680      "CC": "[START_DIR]/cipd/bin/clang",
681      "CFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
682      "CXX": "[START_DIR]/cipd/bin/clang++",
683      "LDFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path"
684    },
685    "luci_context": {
686      "realm": {
687        "name": "gn:ci"
688      },
689      "resultdb": {
690        "current_invocation": {
691          "name": "invocations/build:8945511751514863184",
692          "update_token": "token"
693        },
694        "hostname": "rdbhost"
695      }
696    },
697    "name": "release.mac-arm64.generate",
698    "~followup_annotations": [
699      "@@@STEP_NEST_LEVEL@2@@@"
700    ]
701  },
702  {
703    "cmd": [
704      "[START_DIR]/cipd/ninja",
705      "-C",
706      "[START_DIR]/gn/out"
707    ],
708    "cwd": "[START_DIR]/gn",
709    "env": {
710      "AR": "[START_DIR]/cipd/bin/llvm-ar",
711      "CC": "[START_DIR]/cipd/bin/clang",
712      "CFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
713      "CXX": "[START_DIR]/cipd/bin/clang++",
714      "LDFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path"
715    },
716    "luci_context": {
717      "realm": {
718        "name": "gn:ci"
719      },
720      "resultdb": {
721        "current_invocation": {
722          "name": "invocations/build:8945511751514863184",
723          "update_token": "token"
724        },
725        "hostname": "rdbhost"
726      }
727    },
728    "name": "release.mac-arm64.build",
729    "~followup_annotations": [
730      "@@@STEP_NEST_LEVEL@2@@@"
731    ]
732  },
733  {
734    "cmd": [],
735    "name": "release.mac-arm64.upload",
736    "~followup_annotations": [
737      "@@@STEP_NEST_LEVEL@2@@@"
738    ]
739  },
740  {
741    "cmd": [
742      "cipd",
743      "pkg-build",
744      "-pkg-def",
745      "{\"data\": [{\"file\": \"gn\"}, {\"version_file\": \".versions/gn.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"gn/gn/mac-arm64\", \"root\": \"[START_DIR]/gn/out\"}",
746      "-out",
747      "[CLEANUP]/gn.cipd",
748      "-hash-algo",
749      "sha256",
750      "-json-output",
751      "/path/to/tmp/json"
752    ],
753    "cwd": "[START_DIR]/gn",
754    "env": {
755      "AR": "[START_DIR]/cipd/bin/llvm-ar",
756      "CC": "[START_DIR]/cipd/bin/clang",
757      "CFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1",
758      "CXX": "[START_DIR]/cipd/bin/clang++",
759      "LDFLAGS": "--target=arm64-apple-darwin --sysroot=/some/xcode/path"
760    },
761    "luci_context": {
762      "realm": {
763        "name": "gn:ci"
764      },
765      "resultdb": {
766        "current_invocation": {
767          "name": "invocations/build:8945511751514863184",
768          "update_token": "token"
769        },
770        "hostname": "rdbhost"
771      }
772    },
773    "name": "release.mac-arm64.upload.build gn/gn/mac-arm64",
774    "~followup_annotations": [
775      "@@@STEP_NEST_LEVEL@3@@@",
776      "@@@STEP_LOG_LINE@json.output@{@@@",
777      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
778      "@@@STEP_LOG_LINE@json.output@    \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@",
779      "@@@STEP_LOG_LINE@json.output@    \"package\": \"gn/gn/mac-arm64\"@@@",
780      "@@@STEP_LOG_LINE@json.output@  }@@@",
781      "@@@STEP_LOG_LINE@json.output@}@@@",
782      "@@@STEP_LOG_END@json.output@@@"
783    ]
784  },
785  {
786    "cmd": [
787      "sudo",
788      "xcode-select",
789      "--reset"
790    ],
791    "infra_step": true,
792    "luci_context": {
793      "realm": {
794        "name": "gn:ci"
795      },
796      "resultdb": {
797        "current_invocation": {
798          "name": "invocations/build:8945511751514863184",
799          "update_token": "token"
800        },
801        "hostname": "rdbhost"
802      }
803    },
804    "name": "reset XCode"
805  },
806  {
807    "name": "$result"
808  }
809]