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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_warnings_as_
errors=1", | 156 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_warnings_as_
errors=1", |
157 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 157 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
158 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN
" | 158 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN
" |
159 }, | 159 }, |
160 "name": "compile most" | 160 "name": "compile most" |
161 }, | 161 }, |
162 { | 162 { |
163 "cmd": [ | 163 "cmd": [ |
164 "python", | 164 "python", |
165 "-u", | 165 "-u", |
166 "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", | 166 "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', 'get
_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '*
.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell
.ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs(
dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor patt
ern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f i
n 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.d
irname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n
shutil.move(f, dst_path)\n", |
167 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN/Debug", | 167 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN/Debug", |
168 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" | 168 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" |
169 ], | 169 ], |
170 "name": "copy build products", | 170 "name": "copy build products", |
171 "~followup_annotations": [ | 171 "~followup_annotations": [ |
172 "@@@STEP_LOG_LINE@python.inline@import errno@@@", | 172 "@@@STEP_LOG_LINE@python.inline@import errno@@@", |
173 "@@@STEP_LOG_LINE@python.inline@import glob@@@", | 173 "@@@STEP_LOG_LINE@python.inline@import glob@@@", |
174 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 174 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
175 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 175 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
176 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 176 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
177 "@@@STEP_LOG_LINE@python.inline@@@@", | 177 "@@@STEP_LOG_LINE@python.inline@@@@", |
178 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", | 178 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", |
179 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@", | 179 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@", |
180 "@@@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']@@@", | 180 "@@@STEP_LOG_LINE@python.inline@build_products_whitelist = ['dm', 'dm.exe'
, 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.ex
e', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iO
SShell.ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']@@@", |
181 "@@@STEP_LOG_LINE@python.inline@@@@", | 181 "@@@STEP_LOG_LINE@python.inline@@@@", |
182 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 182 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
183 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@", | 183 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@", |
184 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@", | 184 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@", |
185 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@", | 185 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@", |
186 "@@@STEP_LOG_LINE@python.inline@ raise@@@", | 186 "@@@STEP_LOG_LINE@python.inline@ raise@@@", |
187 "@@@STEP_LOG_LINE@python.inline@@@@", | 187 "@@@STEP_LOG_LINE@python.inline@@@@", |
188 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@
@", | 188 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@
@", |
189 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@", | 189 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@", |
190 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", | 190 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", |
191 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r
elpath(f, src))@@@", | 191 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r
elpath(f, src))@@@", |
192 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d
st_path)):@@@", | 192 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d
st_path)):@@@", |
193 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path
))@@@", | 193 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path
))@@@", |
194 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s'
% (f, dst_path)@@@", | 194 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s'
% (f, dst_path)@@@", |
195 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 195 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
196 "@@@STEP_LOG_END@python.inline@@@" | 196 "@@@STEP_LOG_END@python.inline@@@" |
197 ] | 197 ] |
198 }, | 198 }, |
199 { | 199 { |
200 "name": "$result", | 200 "name": "$result", |
201 "recipe_result": null, | 201 "recipe_result": null, |
202 "status_code": 0 | 202 "status_code": 0 |
203 } | 203 } |
204 ] | 204 ] |
OLD | NEW |