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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", | 160 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", |
161 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 161 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
162 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN
" | 162 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN
" |
163 }, | 163 }, |
164 "name": "build nanobench" | 164 "name": "build nanobench" |
165 }, | 165 }, |
166 { | 166 { |
167 "cmd": [ | 167 "cmd": [ |
168 "python", | 168 "python", |
169 "-u", | 169 "-u", |
170 "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", | 170 "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", |
171 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN/Debug", | 171 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN/Debug", |
172 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" | 172 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" |
173 ], | 173 ], |
174 "name": "copy build products", | 174 "name": "copy build products", |
175 "~followup_annotations": [ | 175 "~followup_annotations": [ |
176 "@@@STEP_LOG_LINE@python.inline@import errno@@@", | 176 "@@@STEP_LOG_LINE@python.inline@import errno@@@", |
177 "@@@STEP_LOG_LINE@python.inline@import glob@@@", | 177 "@@@STEP_LOG_LINE@python.inline@import glob@@@", |
178 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 178 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
179 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 179 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
180 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 180 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
181 "@@@STEP_LOG_LINE@python.inline@@@@", | 181 "@@@STEP_LOG_LINE@python.inline@@@@", |
182 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", | 182 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", |
183 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@", | 183 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@", |
184 "@@@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']@@@", | 184 "@@@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']@@@", |
185 "@@@STEP_LOG_LINE@python.inline@@@@", | 185 "@@@STEP_LOG_LINE@python.inline@@@@", |
186 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 186 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
187 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@", | 187 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@", |
188 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@", | 188 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@", |
189 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@", | 189 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@", |
190 "@@@STEP_LOG_LINE@python.inline@ raise@@@", | 190 "@@@STEP_LOG_LINE@python.inline@ raise@@@", |
191 "@@@STEP_LOG_LINE@python.inline@@@@", | 191 "@@@STEP_LOG_LINE@python.inline@@@@", |
192 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@
@", | 192 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@
@", |
193 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@", | 193 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@", |
194 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", | 194 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", |
(...skipping 26 matching lines...) Expand all Loading... |
221 "1" | 221 "1" |
222 ], | 222 ], |
223 "name": "copy llvm-build" | 223 "name": "copy llvm-build" |
224 }, | 224 }, |
225 { | 225 { |
226 "name": "$result", | 226 "name": "$result", |
227 "recipe_result": null, | 227 "recipe_result": null, |
228 "status_code": 0 | 228 "status_code": 0 |
229 } | 229 } |
230 ] | 230 ] |
OLD | NEW |