| [ |
| { |
| "cmd": [], |
| "name": "git" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "[START_DIR]/gn" |
| ], |
| "infra_step": true, |
| "name": "git.init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "https://gn.googlesource.com/gn", |
| "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" |
| ], |
| "cwd": "[START_DIR]/gn", |
| "infra_step": true, |
| "name": "git.fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/gn", |
| "infra_step": true, |
| "name": "git.checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd", |
| "-ensure-file", |
| "infra/ninja/${platform} version:1.8.2\nfuchsia/clang/${platform} git_revision:b920a7f65b13237dc4d5b2b836b29a954fff440a\n@Subdir sysroot\nfuchsia/sysroot/${platform} git_revision:a28dfa20af063e5ca00634024c85732e20220419", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:b92\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/clang/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:1.8.2---\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/ninja/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"sysroot\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:a28\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/sysroot/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "debug" |
| }, |
| { |
| "cmd": [], |
| "name": "debug.build", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/gn/build/gen.py", |
| "-d" |
| ], |
| "cwd": "[START_DIR]/gn", |
| "env": { |
| "AR": "[START_DIR]/cipd/bin/llvm-ar", |
| "CC": "[START_DIR]/cipd/bin/clang", |
| "CFLAGS": "--sysroot=[START_DIR]/cipd/sysroot", |
| "CXX": "[START_DIR]/cipd/bin/clang++", |
| "LDFLAGS": "--sysroot=[START_DIR]/cipd/sysroot" |
| }, |
| "name": "debug.build.generate", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/ninja", |
| "-C", |
| "[START_DIR]/gn/out" |
| ], |
| "cwd": "[START_DIR]/gn", |
| "env": { |
| "AR": "[START_DIR]/cipd/bin/llvm-ar", |
| "CC": "[START_DIR]/cipd/bin/clang", |
| "CFLAGS": "--sysroot=[START_DIR]/cipd/sysroot", |
| "CXX": "[START_DIR]/cipd/bin/clang++", |
| "LDFLAGS": "--sysroot=[START_DIR]/cipd/sysroot" |
| }, |
| "name": "debug.build.ninja", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/gn/out/gn_unittests" |
| ], |
| "name": "debug.test", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "release" |
| }, |
| { |
| "cmd": [], |
| "name": "release.build", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/gn/build/gen.py", |
| "--use-lto", |
| "--use-icf" |
| ], |
| "cwd": "[START_DIR]/gn", |
| "env": { |
| "AR": "[START_DIR]/cipd/bin/llvm-ar", |
| "CC": "[START_DIR]/cipd/bin/clang", |
| "CFLAGS": "--sysroot=[START_DIR]/cipd/sysroot", |
| "CXX": "[START_DIR]/cipd/bin/clang++", |
| "LDFLAGS": "--sysroot=[START_DIR]/cipd/sysroot" |
| }, |
| "name": "release.build.generate", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/ninja", |
| "-C", |
| "[START_DIR]/gn/out" |
| ], |
| "cwd": "[START_DIR]/gn", |
| "env": { |
| "AR": "[START_DIR]/cipd/bin/llvm-ar", |
| "CC": "[START_DIR]/cipd/bin/clang", |
| "CFLAGS": "--sysroot=[START_DIR]/cipd/sysroot", |
| "CXX": "[START_DIR]/cipd/bin/clang++", |
| "LDFLAGS": "--sysroot=[START_DIR]/cipd/sysroot" |
| }, |
| "name": "release.build.ninja", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/gn/out/gn_unittests" |
| ], |
| "name": "release.test", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-build", |
| "-pkg-def", |
| "{\"data\": [{\"file\": \"gn\"}, {\"version_file\": \".versions/gn.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"gn/gn/${platform}\", \"root\": \"[START_DIR]/gn/out\"}", |
| "-out", |
| "[CLEANUP]/gn.cipd", |
| "-hash-algo", |
| "sha256", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "build gn/gn/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"gn/gn/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/gn", |
| "name": "rev-parse", |
| "stdout": "/path/to/tmp/" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "search", |
| "gn/gn/${platform}", |
| "-tag", |
| "git_revision:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd search gn/gn/${platform} git_revision:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:aaa\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"gn/gn/linux-amd64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "Package is up-to-date" |
| }, |
| { |
| "jsonResult": null, |
| "name": "$result" |
| } |
| ] |