[ { "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} goma", "-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-goma------------\", @@@", "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/clang/${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/${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": [ "cipd", "ensure", "-root", "[CACHE]/macos_sdk", "-ensure-file", "infra/tools/mac_toolchain/${platform} git_revision:796d2b92cff93fc2059623ce0a66284373ceea0a", "-json-output", "/path/to/tmp/json" ], "infra_step": true, "name": "ensure_installed (2)", "~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:796\", @@@", "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/mac_toolchain/${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": [ "[CACHE]/macos_sdk/mac_toolchain", "install", "-kind", "mac", "-xcode-version", "9c40b", "-output-dir", "[CACHE]/macos_sdk/XCode.app" ], "infra_step": true, "name": "install xcode" }, { "cmd": [ "sudo", "xcode-select", "--switch", "[CACHE]/macos_sdk/XCode.app" ], "infra_step": true, "name": "select XCode" }, { "cmd": [ "xcrun", "--show-sdk-path" ], "name": "xcrun", "stdout": "/path/to/tmp/", "~followup_annotations": [ "@@@STEP_LOG_LINE@raw_io.output[sdk-path]@/some/xcode/path@@@", "@@@STEP_LOG_END@raw_io.output[sdk-path]@@@" ] }, { "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=/some/xcode/path", "CXX": "[START_DIR]/cipd/bin/clang++", "LDFLAGS": "--sysroot=/some/xcode/path -nostdlib++ [START_DIR]/cipd/lib/libc++.a [START_DIR]/cipd/lib/libc++abi.a [START_DIR]/cipd/lib/libunwind.a" }, "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=/some/xcode/path", "CXX": "[START_DIR]/cipd/bin/clang++", "LDFLAGS": "--sysroot=/some/xcode/path -nostdlib++ [START_DIR]/cipd/lib/libc++.a [START_DIR]/cipd/lib/libc++abi.a [START_DIR]/cipd/lib/libunwind.a" }, "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" ], "cwd": "[START_DIR]/gn", "env": { "AR": "[START_DIR]/cipd/bin/llvm-ar", "CC": "[START_DIR]/cipd/bin/clang", "CFLAGS": "--sysroot=/some/xcode/path", "CXX": "[START_DIR]/cipd/bin/clang++", "LDFLAGS": "--sysroot=/some/xcode/path -nostdlib++ [START_DIR]/cipd/lib/libc++.a [START_DIR]/cipd/lib/libc++abi.a [START_DIR]/cipd/lib/libunwind.a" }, "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=/some/xcode/path", "CXX": "[START_DIR]/cipd/bin/clang++", "LDFLAGS": "--sysroot=/some/xcode/path -nostdlib++ [START_DIR]/cipd/lib/libc++.a [START_DIR]/cipd/lib/libc++abi.a [START_DIR]/cipd/lib/libunwind.a" }, "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": [ "sudo", "xcode-select", "--reset" ], "infra_step": true, "name": "reset XCode" }, { "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", "-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/${platform}\"@@@", "@@@STEP_LOG_LINE@json.output@ }@@@", "@@@STEP_LOG_LINE@json.output@}@@@", "@@@STEP_LOG_END@json.output@@@" ] }, { "name": "$result", "recipe_result": null, "status_code": 0 } ]