| [ |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/skia/infra/bots/assets/clang_linux/VERSION", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "Get clang_linux VERSION" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/skia/bin/fetch-gn" |
| ], |
| "cwd": "[START_DIR]/skia", |
| "env": { |
| "BUILDTYPE": "Release", |
| "CHROME_HEADLESS": "1", |
| "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", |
| "SKIA_OUT": "[START_DIR]/build/out" |
| }, |
| "infra_step": true, |
| "name": "fetch-gn" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/skia/bin/gn", |
| "gen", |
| "[START_DIR]/build/out/Release", |
| "--args=cc=\"[START_DIR]/clang_linux/bin/clang\" cxx=\"[START_DIR]/clang_linux/bin/clang++\" extra_cflags=[\"-B[START_DIR]/clang_linux/bin\", \"-DDUMMY_clang_linux_version=42\"] extra_ldflags=[\"-B[START_DIR]/clang_linux/bin\", \"-fuse-ld=lld\"] is_debug=false sanitize=\"ASAN\" skia_enable_spirv_validation=false" |
| ], |
| "cwd": "[START_DIR]/skia", |
| "env": { |
| "BUILDTYPE": "Release", |
| "CHROME_HEADLESS": "1", |
| "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", |
| "SKIA_OUT": "[START_DIR]/build/out" |
| }, |
| "name": "gn gen" |
| }, |
| { |
| "cmd": [ |
| "ninja", |
| "-k", |
| "0", |
| "-C", |
| "[START_DIR]/build/out/Release" |
| ], |
| "cwd": "[START_DIR]/skia", |
| "env": { |
| "BUILDTYPE": "Release", |
| "CHROME_HEADLESS": "1", |
| "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", |
| "SKIA_OUT": "[START_DIR]/build/out" |
| }, |
| "name": "ninja" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "results_dir" |
| ], |
| "infra_step": true, |
| "name": "rmtree results_dir" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "results_dir" |
| ], |
| "infra_step": true, |
| "name": "makedirs results_dir" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "device_results_dir" |
| ], |
| "infra_step": true, |
| "name": "rmtree device_results_dir" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "device_results_dir" |
| ], |
| "infra_step": true, |
| "name": "makedirs device_results_dir" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-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" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-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" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "Get skimage VERSION" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "42", |
| "[START_DIR]/tmp/SK_IMAGE_VERSION" |
| ], |
| "infra_step": true, |
| "name": "write SK_IMAGE_VERSION" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/skia/infra/bots/assets/svg/VERSION", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "Get svg VERSION" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "42", |
| "[START_DIR]/tmp/SVG_VERSION" |
| ], |
| "infra_step": true, |
| "name": "write SVG_VERSION" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", |
| "[START_DIR]", |
| "[START_DIR]/build/out/Release/nanobench", |
| "--some-flag" |
| ], |
| "cwd": "[START_DIR]/skia", |
| "env": { |
| "ASAN_OPTIONS": "symbolize=1 detect_leaks=1", |
| "BUILDTYPE": "Release", |
| "CHROME_HEADLESS": "1", |
| "LD_LIBRARY_PATH": "[START_DIR]/clang_linux/lib", |
| "LSAN_OPTIONS": "symbolize=1 print_suppressions=1", |
| "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]:[START_DIR]/clang_linux/bin", |
| "SKIA_OUT": "[START_DIR]/build/out", |
| "UBSAN_OPTIONS": "symbolize=1 print_stacktrace=1" |
| }, |
| "name": "symbolized nanobench" |
| }, |
| { |
| "name": "$result", |
| "recipe_result": null, |
| "status_code": 0 |
| } |
| ] |