blob: b1beb7e5f9ea133c830533653ec2d5d92e65038d [file] [log] [blame]
[
{
"cmd": [],
"name": "git"
},
{
"cmd": [
"git",
"init",
"[START_DIR]\\gn"
],
"infra_step": true,
"name": "git.init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"fetch",
"https://gn.googlesource.com/gn",
"refs/heads/master"
],
"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": [
"git",
"fetch",
"https://gn-review.googlesource.com/gn",
"refs/changes/00/1000/1"
],
"cwd": "[START_DIR]\\gn",
"infra_step": true,
"name": "git.fetch 1000/1",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"cherry-pick",
"FETCH_HEAD"
],
"cwd": "[START_DIR]\\gn",
"infra_step": true,
"name": "git.cherry-pick 1000/1",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd.bat",
"ensure",
"-root",
"[START_DIR]\\cipd",
"-ensure-file",
"infra/ninja/${platform} version:1.8.2",
"-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-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": [],
"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",
"name": "debug.build.generate",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"[START_DIR]\\cipd\\ninja",
"-C",
"[START_DIR]\\gn\\out"
],
"name": "debug.build.ninja",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"[START_DIR]\\gn\\out\\gn_unittests"
],
"cwd": "[START_DIR]\\gn",
"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",
"name": "release.build.generate",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"[START_DIR]\\cipd\\ninja",
"-C",
"[START_DIR]\\gn\\out"
],
"name": "release.build.ninja",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"[START_DIR]\\gn\\out\\gn_unittests"
],
"cwd": "[START_DIR]\\gn",
"name": "release.test",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"name": "$result",
"recipe_result": null,
"status_code": 0
}
]