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_C:\\_B_WORK]", | 7 "[CUSTOM_C:\\_B_WORK]", |
8 "511" | 8 "511" |
9 ], | 9 ], |
10 "name": "makedirs checkout_path", | 10 "name": "makedirs checkout_path", |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 "GYP_DEFINES": "qt_sdk=C:/Qt/4.8.5/ skia_arch_type=x86 skia_warnings_as_er
rors=1 skia_win_debuggers_path=c:/DbgHelp skia_win_ltcg=0", | 137 "GYP_DEFINES": "qt_sdk=C:/Qt/4.8.5/ skia_arch_type=x86 skia_warnings_as_er
rors=1 skia_win_debuggers_path=c:/DbgHelp skia_win_ltcg=0", |
138 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep
ot_tools]", | 138 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep
ot_tools]", |
139 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug" | 139 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug" |
140 }, | 140 }, |
141 "name": "build most" | 141 "name": "build most" |
142 }, | 142 }, |
143 { | 143 { |
144 "cmd": [ | 144 "cmd": [ |
145 "python", | 145 "python", |
146 "-u", | 146 "-u", |
147 "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", | 147 "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", |
148 "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug\\Debug", | 148 "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug\\Debug", |
149 "[CUSTOM_[SWARM_OUT_DIR]]\\out\\Debug" | 149 "[CUSTOM_[SWARM_OUT_DIR]]\\out\\Debug" |
150 ], | 150 ], |
151 "name": "copy build products", | 151 "name": "copy build products", |
152 "~followup_annotations": [ | 152 "~followup_annotations": [ |
153 "@@@STEP_LOG_LINE@python.inline@import errno@@@", | 153 "@@@STEP_LOG_LINE@python.inline@import errno@@@", |
154 "@@@STEP_LOG_LINE@python.inline@import glob@@@", | 154 "@@@STEP_LOG_LINE@python.inline@import glob@@@", |
155 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 155 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
156 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 156 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
157 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 157 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
158 "@@@STEP_LOG_LINE@python.inline@@@@", | 158 "@@@STEP_LOG_LINE@python.inline@@@@", |
159 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", | 159 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", |
160 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@", | 160 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@", |
161 "@@@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']@@@", | 161 "@@@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']@@@", |
162 "@@@STEP_LOG_LINE@python.inline@@@@", | 162 "@@@STEP_LOG_LINE@python.inline@@@@", |
163 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 163 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
164 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@", | 164 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@", |
165 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@", | 165 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@", |
166 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@", | 166 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@", |
167 "@@@STEP_LOG_LINE@python.inline@ raise@@@", | 167 "@@@STEP_LOG_LINE@python.inline@ raise@@@", |
168 "@@@STEP_LOG_LINE@python.inline@@@@", | 168 "@@@STEP_LOG_LINE@python.inline@@@@", |
169 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@
@", | 169 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@
@", |
170 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@", | 170 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@", |
171 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", | 171 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", |
(...skipping 22 matching lines...) Expand all Loading... |
194 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 194 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
195 "@@@STEP_LOG_END@python.inline@@@" | 195 "@@@STEP_LOG_END@python.inline@@@" |
196 ] | 196 ] |
197 }, | 197 }, |
198 { | 198 { |
199 "name": "$result", | 199 "name": "$result", |
200 "recipe_result": null, | 200 "recipe_result": null, |
201 "status_code": 0 | 201 "status_code": 0 |
202 } | 202 } |
203 ] | 203 ] |
OLD | NEW |