OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", | 6 "\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", |
| 7 "[CUSTOM_/_B_CACHE]", |
| 8 "511" |
| 9 ], |
| 10 "name": "makedirs checkout_path", |
| 11 "~followup_annotations": [ |
| 12 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 21 "@@@STEP_LOG_END@python.inline@@@" |
| 22 ] |
| 23 }, |
| 24 { |
| 25 "cmd": [ |
| 26 "python", |
| 27 "-u", |
| 28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 29 "config", |
| 30 "--spec", |
| 31 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'n
ame': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ntarget_os = ['l
lvm']" |
| 32 ], |
| 33 "cwd": "[CUSTOM_/_B_CACHE]", |
| 34 "env": { |
| 35 "CHROME_HEADLESS": "1", |
| 36 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 37 "PYTHONPATH": "[BUILD]/scripts" |
| 38 }, |
| 39 "name": "gclient setup" |
| 40 }, |
| 41 { |
| 42 "cmd": [ |
| 43 "python", |
| 44 "-u", |
| 45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 46 "sync", |
| 47 "--nohooks", |
| 48 "--force", |
| 49 "--verbose", |
| 50 "--delete_unversioned_trees", |
| 51 "--revision", |
| 52 "skia@abc123", |
| 53 "--output-json", |
| 54 "/path/to/tmp/json" |
| 55 ], |
| 56 "cwd": "[CUSTOM_/_B_CACHE]", |
| 57 "env": { |
| 58 "CHROME_HEADLESS": "1", |
| 59 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PA
CKAGE_REPO[depot_tools]", |
| 60 "PYTHONPATH": "[BUILD]/scripts" |
| 61 }, |
| 62 "name": "gclient sync", |
| 63 "~followup_annotations": [ |
| 64 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 65 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
| 66 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", |
| 67 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", |
| 68 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 69 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 70 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 71 "@@@STEP_LOG_END@json.output@@@", |
| 72 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" |
| 73 ] |
| 74 }, |
| 75 { |
| 76 "cmd": [ |
| 77 "python", |
| 78 "-u", |
| 79 "[CUSTOM_/_B_CACHE]/skia/tools/buildbot_spec.py", |
7 "/path/to/tmp/json", | 80 "/path/to/tmp/json", |
8 "Build-Ubuntu-GCC-x86_64-Release-CMake" | 81 "Build-Ubuntu-GCC-x86_64-Release-CMake" |
9 ], | 82 ], |
10 "cwd": "[SLAVE_BUILD]/skia", | 83 "cwd": "[CUSTOM_/_B_CACHE]/skia", |
11 "name": "exec buildbot_spec.py", | 84 "name": "exec buildbot_spec.py", |
12 "~followup_annotations": [ | 85 "~followup_annotations": [ |
13 "@@@STEP_LOG_LINE@json.output@{@@@", | 86 "@@@STEP_LOG_LINE@json.output@{@@@", |
14 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", | 87 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", |
15 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@", | 88 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@", |
16 "@@@STEP_LOG_LINE@json.output@ ], @@@", | 89 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
17 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", | 90 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", |
18 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@", | 91 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@", |
19 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", | 92 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", |
20 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"CMake\", @@@", | 93 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"CMake\", @@@", |
(...skipping 15 matching lines...) Expand all Loading... |
36 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", | 109 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", |
37 "@@@STEP_LOG_LINE@json.output@ ], @@@", | 110 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
38 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@", | 111 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@", |
39 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", | 112 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", |
40 "@@@STEP_LOG_LINE@json.output@}@@@", | 113 "@@@STEP_LOG_LINE@json.output@}@@@", |
41 "@@@STEP_LOG_END@json.output@@@" | 114 "@@@STEP_LOG_END@json.output@@@" |
42 ] | 115 ] |
43 }, | 116 }, |
44 { | 117 { |
45 "cmd": [ | 118 "cmd": [ |
46 "[SLAVE_BUILD]/skia/cmake/cmake_build" | 119 "[CUSTOM_/_B_CACHE]/skia/cmake/cmake_build" |
47 ], | 120 ], |
48 "cwd": "[SLAVE_BUILD]/skia", | 121 "cwd": "[CUSTOM_/_B_CACHE]/skia", |
49 "env": { | 122 "env": { |
50 "BUILDTYPE": "Release", | 123 "BUILDTYPE": "Release", |
51 "CHROME_HEADLESS": "1", | 124 "CHROME_HEADLESS": "1", |
52 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", | 125 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", |
53 "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", | 126 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PA
CKAGE_REPO[depot_tools]", |
54 "SKIA_OUT": "[SLAVE_BUILD]/out" | 127 "PYTHONPATH": "[BUILD]/scripts", |
| 128 "SKIA_OUT": "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-x86_64-Release-C
Make" |
55 }, | 129 }, |
56 "name": "cmake_build" | 130 "name": "cmake_build" |
57 }, | 131 }, |
58 { | 132 { |
59 "cmd": [ | 133 "cmd": [ |
60 "python", | 134 "python", |
61 "-u", | 135 "-u", |
62 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc =
sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'nan
obench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so
', 'iOSShell.app', 'iOSShell.ipa']\n\ntry:\n os.makedirs(dst)\nexcept OSError a
s e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products_
whitelist:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n
print 'Copying build product %s to %s' % (f, dst)\n shutil.move(f, dst)\n", | 136 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc =
sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'nan
obench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so
', 'iOSShell.app', 'iOSShell.ipa']\n\ntry:\n os.makedirs(dst)\nexcept OSError a
s e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products_
whitelist:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n
print 'Copying build product %s to %s' % (f, dst)\n shutil.move(f, dst)\n", |
63 "[SLAVE_BUILD]/out/Release", | 137 "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-x86_64-Release-CMake/Release
", |
64 "[SWARM_OUT_DIR]/out/Release" | 138 "[SWARM_OUT_DIR]/out/Release" |
65 ], | 139 ], |
66 "name": "copy build products", | 140 "name": "copy build products", |
67 "~followup_annotations": [ | 141 "~followup_annotations": [ |
68 "@@@STEP_LOG_LINE@python.inline@import errno@@@", | 142 "@@@STEP_LOG_LINE@python.inline@import errno@@@", |
69 "@@@STEP_LOG_LINE@python.inline@import glob@@@", | 143 "@@@STEP_LOG_LINE@python.inline@import glob@@@", |
70 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 144 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
71 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 145 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
72 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 146 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
73 "@@@STEP_LOG_LINE@python.inline@@@@", | 147 "@@@STEP_LOG_LINE@python.inline@@@@", |
(...skipping 14 matching lines...) Expand all Loading... |
88 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst)@@@", | 162 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst)@@@", |
89 "@@@STEP_LOG_END@python.inline@@@" | 163 "@@@STEP_LOG_END@python.inline@@@" |
90 ] | 164 ] |
91 }, | 165 }, |
92 { | 166 { |
93 "name": "$result", | 167 "name": "$result", |
94 "recipe_result": null, | 168 "recipe_result": null, |
95 "status_code": 0 | 169 "status_code": 0 |
96 } | 170 } |
97 ] | 171 ] |
OLD | NEW |