blob: 57de87dd3641f1f985154669ed5876dde83b6525 [file] [log] [blame]
[
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/tmp"
],
"infra_step": true,
"name": "makedirs tmp_dir"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/skia/infra/bots/assets/skp/VERSION",
"/path/to/tmp/"
],
"infra_step": true,
"name": "Get skp VERSION",
"~followup_annotations": [
"@@@STEP_LOG_LINE@VERSION@42@@@",
"@@@STEP_LOG_END@VERSION@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"42",
"[START_DIR]/tmp/SKP_VERSION"
],
"infra_step": true,
"name": "write SKP_VERSION",
"~followup_annotations": [
"@@@STEP_LOG_LINE@SKP_VERSION@42@@@",
"@@@STEP_LOG_END@SKP_VERSION@@@"
]
},
{
"cmd": [
"python3",
"RECIPE_MODULE[skia::vars]/resources/get_env_var.py",
"SWARMING_BOT_ID"
],
"name": "get swarming bot id"
},
{
"cmd": [
"python3",
"RECIPE_MODULE[skia::vars]/resources/get_env_var.py",
"SWARMING_TASK_ID"
],
"name": "get swarming task id"
},
{
"cmd": [
"[START_DIR]/valgrind/bin/valgrind",
"--gen-suppressions=all",
"--leak-check=full",
"--track-origins=yes",
"--error-exitcode=1",
"--num-callers=40",
"--suppressions=[START_DIR]/skia/tools/valgrind.supp",
"[START_DIR]/build/nanobench",
"--example",
"--flags",
"-i",
"[START_DIR]/skia/resources",
"--skps",
"[START_DIR]/skp"
],
"env": {
"CHROME_HEADLESS": "1",
"PATH": "<PATH>:RECIPE_REPO[depot_tools]",
"VALGRIND_LIB": "[START_DIR]/valgrind/lib/valgrind"
},
"name": "nanobench"
},
{
"name": "$result"
}
]