Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Side by Side Diff: scripts/slave/recipes/skia/swarm_compile.expected/Build-Ubuntu-GCC-Arm7-Release-Android.json

Issue 1920283002: Modify Skia recipes to allow running XSAN on Swarming. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Changes based on code review. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_CACHE]", 7 "[CUSTOM_/_B_CACHE]",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout_path", 10 "name": "makedirs checkout_path",
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 "SKIA_OUT": "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-Arm7-Release-And roid" 204 "SKIA_OUT": "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-Arm7-Release-And roid"
205 }, 205 },
206 "name": "build nanobench" 206 "name": "build nanobench"
207 }, 207 },
208 { 208 {
209 "cmd": [ 209 "cmd": [
210 "python", 210 "python",
211 "-u", 211 "-u",
212 "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 dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdi r(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", 212 "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 dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdi r(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",
213 "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-Arm7-Release-Android/Release ", 213 "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-Arm7-Release-Android/Release ",
214 "[SWARM_OUT_DIR]/out/Release" 214 "[CUSTOM_[SWARM_OUT_DIR]]/out/Release"
215 ], 215 ],
216 "name": "copy build products", 216 "name": "copy build products",
217 "~followup_annotations": [ 217 "~followup_annotations": [
218 "@@@STEP_LOG_LINE@python.inline@import errno@@@", 218 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
219 "@@@STEP_LOG_LINE@python.inline@import glob@@@", 219 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
220 "@@@STEP_LOG_LINE@python.inline@import os@@@", 220 "@@@STEP_LOG_LINE@python.inline@import os@@@",
221 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", 221 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
222 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 222 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
223 "@@@STEP_LOG_LINE@python.inline@@@@", 223 "@@@STEP_LOG_LINE@python.inline@@@@",
224 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", 224 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@",
(...skipping 16 matching lines...) Expand all
241 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 241 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
242 "@@@STEP_LOG_END@python.inline@@@" 242 "@@@STEP_LOG_END@python.inline@@@"
243 ] 243 ]
244 }, 244 },
245 { 245 {
246 "name": "$result", 246 "name": "$result",
247 "recipe_result": null, 247 "recipe_result": null,
248 "status_code": 0 248 "status_code": 0
249 } 249 }
250 ] 250 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698