2017-10-16 16:24:43 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"ensure-directory",
|
|
|
|
"--mode",
|
|
|
|
"0777",
|
|
|
|
"[CUSTOM_/_B_WORK]"
|
|
|
|
],
|
|
|
|
"infra_step": true,
|
|
|
|
"name": "makedirs checkout_path"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"remove",
|
|
|
|
"[CUSTOM_/_B_WORK]/.gclient_entries"
|
|
|
|
],
|
|
|
|
"infra_step": true,
|
|
|
|
"name": "remove [CUSTOM_/_B_WORK]/.gclient_entries"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
|
|
|
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
|
|
|
|
"--spec-path",
|
|
|
|
"cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]",
|
|
|
|
"--patch_root",
|
|
|
|
"skia",
|
|
|
|
"--revision_mapping_file",
|
|
|
|
"{\"got_revision\": \"skia\"}",
|
|
|
|
"--git-cache-dir",
|
|
|
|
"[CUSTOM_/_B_CACHE]",
|
|
|
|
"--cleanup-dir",
|
|
|
|
"[CLEANUP]/bot_update",
|
|
|
|
"--output_json",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"--revision",
|
|
|
|
"skia@abc123"
|
|
|
|
],
|
|
|
|
"cwd": "[CUSTOM_/_B_WORK]",
|
|
|
|
"env_prefixes": {
|
|
|
|
"PATH": [
|
|
|
|
"RECIPE_PACKAGE_REPO[depot_tools]"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"infra_step": true,
|
|
|
|
"name": "bot_update",
|
|
|
|
"~followup_annotations": [
|
|
|
|
"@@@STEP_TEXT@Some step text@@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@{@@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ }, @@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"skia\": {@@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/skia.git\", @@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ }@@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ }, @@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"skia\", @@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\", @@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master@{#164710}\"@@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ }, @@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"root\": \"skia\", @@@",
|
2017-10-31 22:53:18 +00:00
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"source_manifest\": {@@@",
|
2017-12-08 13:21:04 +00:00
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"directories\": {@@@",
|
2017-10-31 22:53:18 +00:00
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"skia\": {@@@",
|
2017-12-08 13:21:04 +00:00
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/skia.git\", @@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ }@@@",
|
2017-10-31 22:53:18 +00:00
|
|
|
"@@@STEP_LOG_LINE@json.output@ }@@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ }, @@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"version\": 0@@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@ }, @@@",
|
2017-10-16 16:24:43 +00:00
|
|
|
"@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
|
|
|
|
"@@@STEP_LOG_LINE@json.output@}@@@",
|
|
|
|
"@@@STEP_LOG_END@json.output@@@",
|
|
|
|
"@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
|
|
|
|
"@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"ensure-directory",
|
|
|
|
"--mode",
|
|
|
|
"0777",
|
|
|
|
"[START_DIR]/tmp"
|
|
|
|
],
|
|
|
|
"infra_step": true,
|
|
|
|
"name": "makedirs tmp_dir"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"copy",
|
|
|
|
"[CUSTOM_/_B_WORK]/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",
|
|
|
|
"[CUSTOM_/_B_WORK]/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",
|
|
|
|
"[CUSTOM_/_B_WORK]/skia/bin/fetch-gn"
|
|
|
|
],
|
|
|
|
"cwd": "[CUSTOM_/_B_WORK]/skia",
|
|
|
|
"env": {
|
|
|
|
"BUILDTYPE": "Release",
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
|
|
|
|
"SKIA_OUT": "[START_DIR]/out"
|
|
|
|
},
|
|
|
|
"infra_step": true,
|
|
|
|
"name": "fetch-gn"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[CUSTOM_/_B_WORK]/skia/bin/gn",
|
|
|
|
"gen",
|
|
|
|
"[START_DIR]/out/Release",
|
2017-10-26 19:38:30 +00:00
|
|
|
"--args=cc=\"[START_DIR]/clang_linux/bin/clang\" cxx=\"[START_DIR]/clang_linux/bin/clang++\" extra_cflags=[\"-B[START_DIR]/clang_linux/bin\"] extra_ldflags=[\"-B[START_DIR]/clang_linux/bin\", \"-fuse-ld=lld\"] is_debug=false"
|
2017-10-16 16:24:43 +00:00
|
|
|
],
|
|
|
|
"cwd": "[CUSTOM_/_B_WORK]/skia",
|
|
|
|
"env": {
|
|
|
|
"BUILDTYPE": "Release",
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
|
|
|
|
"SKIA_OUT": "[START_DIR]/out"
|
|
|
|
},
|
|
|
|
"name": "gn gen"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"ninja",
|
2017-11-06 14:28:59 +00:00
|
|
|
"-k",
|
|
|
|
"0",
|
2017-10-16 16:24:43 +00:00
|
|
|
"-C",
|
|
|
|
"[START_DIR]/out/Release"
|
|
|
|
],
|
|
|
|
"cwd": "[CUSTOM_/_B_WORK]/skia",
|
|
|
|
"env": {
|
|
|
|
"BUILDTYPE": "Release",
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
|
|
|
|
"SKIA_OUT": "[START_DIR]/out"
|
|
|
|
},
|
|
|
|
"name": "ninja"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"tools/calmbench/calmbench.py",
|
|
|
|
"modified",
|
2017-11-02 17:48:23 +00:00
|
|
|
"--config",
|
|
|
|
"gl",
|
2017-10-16 16:24:43 +00:00
|
|
|
"--ninjadir",
|
|
|
|
"[START_DIR]/out/Release",
|
|
|
|
"--extraarg",
|
|
|
|
"--svgs [START_DIR]/svg --skps [START_DIR]/skp",
|
|
|
|
"--writedir",
|
2017-10-17 20:26:32 +00:00
|
|
|
"[CUSTOM_[SWARM_OUT_DIR]]",
|
2017-10-26 19:38:30 +00:00
|
|
|
"--concise",
|
|
|
|
"--githash",
|
|
|
|
"9046e2e693bb92a76e972b694580e5d17ad10748",
|
|
|
|
"--key",
|
|
|
|
"arch",
|
|
|
|
"x86_64",
|
|
|
|
"compiler",
|
|
|
|
"Clang",
|
|
|
|
"cpu_or_gpu",
|
2017-11-02 17:48:23 +00:00
|
|
|
"GPU",
|
2017-10-26 19:38:30 +00:00
|
|
|
"cpu_or_gpu_value",
|
2017-11-02 17:48:23 +00:00
|
|
|
"QuadroP400",
|
2017-10-26 19:38:30 +00:00
|
|
|
"model",
|
2017-11-02 17:48:23 +00:00
|
|
|
"Golo",
|
2017-10-26 19:38:30 +00:00
|
|
|
"os",
|
2017-11-02 17:48:23 +00:00
|
|
|
"Ubuntu17"
|
2017-10-16 16:24:43 +00:00
|
|
|
],
|
|
|
|
"cwd": "[CUSTOM_/_B_WORK]/skia",
|
|
|
|
"env": {
|
|
|
|
"BUILDTYPE": "Release",
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
|
|
|
|
"SKIA_OUT": "[START_DIR]/out"
|
|
|
|
},
|
|
|
|
"name": "Run calmbench"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "$result",
|
|
|
|
"recipe_result": null,
|
|
|
|
"status_code": 0
|
|
|
|
}
|
|
|
|
]
|