| [ |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/skia/bin/fetch-gn" |
| ], |
| "cwd": "[START_DIR]/skia", |
| "env": { |
| "BUILDTYPE": "Debug", |
| "CHROME_HEADLESS": "1", |
| "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", |
| "SKIA_OUT": "[START_DIR]/out" |
| }, |
| "infra_step": true, |
| "name": "fetch-gn" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/skia/bin/gn", |
| "gen", |
| "[START_DIR]/out/Debug", |
| "--args=cc=\"[START_DIR]/clang_linux/bin/clang\" cxx=\"[START_DIR]/clang_linux/bin/clang++\" extra_cflags=[\"-B[START_DIR]/clang_linux/bin\", \"-fprofile-instr-generate\", \"-fcoverage-mapping\"] extra_ldflags=[\"-B[START_DIR]/clang_linux/bin\", \"-fuse-ld=lld\", \"-fprofile-instr-generate\", \"-fcoverage-mapping\"] skia_use_system_freetype2=false" |
| ], |
| "cwd": "[START_DIR]/skia", |
| "env": { |
| "BUILDTYPE": "Debug", |
| "CHROME_HEADLESS": "1", |
| "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", |
| "SKIA_OUT": "[START_DIR]/out" |
| }, |
| "name": "gn gen" |
| }, |
| { |
| "cmd": [ |
| "ninja", |
| "-C", |
| "[START_DIR]/out/Debug" |
| ], |
| "cwd": "[START_DIR]/skia", |
| "env": { |
| "BUILDTYPE": "Debug", |
| "CHROME_HEADLESS": "1", |
| "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", |
| "SKIA_OUT": "[START_DIR]/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 downloaded 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 downloaded 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 downloaded 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]", |
| "catchsegv", |
| "[START_DIR]/out/Debug/dm", |
| "--some-flag" |
| ], |
| "cwd": "[START_DIR]/skia", |
| "env": { |
| "BUILDTYPE": "Debug", |
| "CHROME_HEADLESS": "1", |
| "LLVM_PROFILE_FILE": "[CUSTOM_[SWARM_OUT_DIR]]/All.profraw", |
| "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", |
| "SKIA_OUT": "[START_DIR]/out" |
| }, |
| "name": "symbolized dm" |
| }, |
| { |
| "name": "$result", |
| "recipe_result": null, |
| "status_code": 0 |
| } |
| ] |