538d5b68e8
- builder_name_schema becomes its own recipe module. - builder_spec, dm, and nanobench flags move into vars module. - recipe expectation diffs include: - no more buildbot_spec.py step - "real" dm and nanobench flags, instead of --dummy-flags - some inconsequential stuff in visualbench, which is removed anyway. BUG=skia:5578 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2215803002 Review-Url: https://codereview.chromium.org/2215803002
65 lines
2.0 KiB
JSON
65 lines
2.0 KiB
JSON
[
|
|
{
|
|
"cmd": [
|
|
"python",
|
|
"-u",
|
|
"\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
|
|
"[SLAVE_BUILD]/tmp",
|
|
"511"
|
|
],
|
|
"name": "makedirs tmp_dir",
|
|
"~followup_annotations": [
|
|
"@@@STEP_LOG_LINE@python.inline@@@@",
|
|
"@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
|
|
"@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
|
|
"@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
|
|
"@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
|
|
"@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
|
|
"@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
|
|
"@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
|
|
"@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
|
|
"@@@STEP_LOG_END@python.inline@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"python",
|
|
"[SLAVE_BUILD]/skia/platform_tools/android/tests/run_all.py"
|
|
],
|
|
"cwd": "[SLAVE_BUILD]/skia",
|
|
"env": {
|
|
"BUILDTYPE": "Release",
|
|
"CHROME_HEADLESS": "1",
|
|
"GYP_DEFINES": "skia_shared_lib=1 skia_warnings_as_errors=0",
|
|
"SKIA_OUT": "[SLAVE_BUILD]/out"
|
|
},
|
|
"name": "android platform self-tests"
|
|
},
|
|
{
|
|
"cmd": [
|
|
"python",
|
|
"RECIPE_MODULE[skia::core]/resources/run_binary_size_analysis.py",
|
|
"--library",
|
|
"[SLAVE_BUILD]/out/Release/lib/libskia.so",
|
|
"--githash",
|
|
"abc123",
|
|
"--gsutil_path",
|
|
"[DEPOT_TOOLS]/third_party/gsutil/gsutil",
|
|
"--issue_number",
|
|
"500"
|
|
],
|
|
"cwd": "[SLAVE_BUILD]/skia",
|
|
"env": {
|
|
"BUILDTYPE": "Release",
|
|
"CHROME_HEADLESS": "1",
|
|
"GYP_DEFINES": "skia_shared_lib=1 skia_warnings_as_errors=0",
|
|
"SKIA_OUT": "[SLAVE_BUILD]/out"
|
|
},
|
|
"name": "generate and upload binary size data"
|
|
},
|
|
{
|
|
"name": "$result",
|
|
"recipe_result": null,
|
|
"status_code": 0
|
|
}
|
|
] |