OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
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", | 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_WORK]", | 7 "[CUSTOM_/_B_WORK]", |
8 "511" | 8 "511" |
9 ], | 9 ], |
10 "name": "makedirs checkout_path", | 10 "name": "makedirs checkout_path", |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_command_buff
er=1 skia_warnings_as_errors=1", | 172 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_command_buff
er=1 skia_warnings_as_errors=1", |
173 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 173 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
174 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma
ndBuffer" | 174 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma
ndBuffer" |
175 }, | 175 }, |
176 "name": "build command_buffer" | 176 "name": "build command_buffer" |
177 }, | 177 }, |
178 { | 178 { |
179 "cmd": [ | 179 "cmd": [ |
180 "python", | 180 "python", |
181 "-u", | 181 "-u", |
182 "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', 'visualbench', 'visualbench.exe']\n\ntry:\n
os.makedirs(dst)\nexcept OSError as 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 dst_path = os.path.join(dst, os.path.relpath
(f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedi
rs(os.path.dirname(dst_path))\n print 'Copying build product %s to %s' % (f,
dst_path)\n shutil.move(f, dst_path)\n", | 182 "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', 'visualbench', 'visualbench.exe', 'vulkan-1.d
ll']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EE
XIST:\n raise\n\nfor pattern in build_products_whitelist:\n path = os.path.j
oin(src, pattern)\n for f in glob.glob(path):\n dst_path = os.path.join(dst,
os.path.relpath(f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\
n os.makedirs(os.path.dirname(dst_path))\n print 'Copying build product
%s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n", |
183 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb
ug", | 183 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb
ug", |
184 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" | 184 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" |
185 ], | 185 ], |
186 "name": "copy build products", | 186 "name": "copy build products", |
187 "~followup_annotations": [ | 187 "~followup_annotations": [ |
188 "@@@STEP_LOG_LINE@python.inline@import errno@@@", | 188 "@@@STEP_LOG_LINE@python.inline@import errno@@@", |
189 "@@@STEP_LOG_LINE@python.inline@import glob@@@", | 189 "@@@STEP_LOG_LINE@python.inline@import glob@@@", |
190 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 190 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
191 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 191 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
192 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 192 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
193 "@@@STEP_LOG_LINE@python.inline@@@@", | 193 "@@@STEP_LOG_LINE@python.inline@@@@", |
194 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", | 194 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", |
195 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@", | 195 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@", |
196 "@@@STEP_LOG_LINE@python.inline@build_products_whitelist = ['dm', 'dm.exe'
, 'nanobench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'li
b/*.so', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe']@@@", | 196 "@@@STEP_LOG_LINE@python.inline@build_products_whitelist = ['dm', 'dm.exe'
, 'nanobench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'li
b/*.so', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe', 'vulk
an-1.dll']@@@", |
197 "@@@STEP_LOG_LINE@python.inline@@@@", | 197 "@@@STEP_LOG_LINE@python.inline@@@@", |
198 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 198 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
199 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@", | 199 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@", |
200 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@", | 200 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@", |
201 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@", | 201 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@", |
202 "@@@STEP_LOG_LINE@python.inline@ raise@@@", | 202 "@@@STEP_LOG_LINE@python.inline@ raise@@@", |
203 "@@@STEP_LOG_LINE@python.inline@@@@", | 203 "@@@STEP_LOG_LINE@python.inline@@@@", |
204 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@
@", | 204 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@
@", |
205 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@", | 205 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@", |
206 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", | 206 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", |
207 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r
elpath(f, src))@@@", | 207 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r
elpath(f, src))@@@", |
208 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d
st_path)):@@@", | 208 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d
st_path)):@@@", |
209 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path
))@@@", | 209 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path
))@@@", |
210 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s'
% (f, dst_path)@@@", | 210 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s'
% (f, dst_path)@@@", |
211 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 211 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
212 "@@@STEP_LOG_END@python.inline@@@" | 212 "@@@STEP_LOG_END@python.inline@@@" |
213 ] | 213 ] |
214 }, | 214 }, |
215 { | 215 { |
216 "name": "$result", | 216 "name": "$result", |
217 "recipe_result": null, | 217 "recipe_result": null, |
218 "status_code": 0 | 218 "status_code": 0 |
219 } | 219 } |
220 ] | 220 ] |
OLD | NEW |