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

Side by Side Diff: scripts/slave/recipes/skia/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Release-CMake.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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 "SKIA_OUT": "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-x86_64-Release-C Make" 128 "SKIA_OUT": "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-x86_64-Release-C Make"
129 }, 129 },
130 "name": "cmake_build" 130 "name": "cmake_build"
131 }, 131 },
132 { 132 {
133 "cmd": [ 133 "cmd": [
134 "python", 134 "python",
135 "-u", 135 "-u",
136 "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", 136 "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",
137 "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-x86_64-Release-CMake/Release ", 137 "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-x86_64-Release-CMake/Release ",
138 "[SWARM_OUT_DIR]/out/Release" 138 "[CUSTOM_[SWARM_OUT_DIR]]/out/Release"
139 ], 139 ],
140 "name": "copy build products", 140 "name": "copy build products",
141 "~followup_annotations": [ 141 "~followup_annotations": [
142 "@@@STEP_LOG_LINE@python.inline@import errno@@@", 142 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
143 "@@@STEP_LOG_LINE@python.inline@import glob@@@", 143 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
144 "@@@STEP_LOG_LINE@python.inline@import os@@@", 144 "@@@STEP_LOG_LINE@python.inline@import os@@@",
145 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", 145 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
146 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 146 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
147 "@@@STEP_LOG_LINE@python.inline@@@@", 147 "@@@STEP_LOG_LINE@python.inline@@@@",
148 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", 148 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@",
(...skipping 16 matching lines...) Expand all
165 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 165 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
166 "@@@STEP_LOG_END@python.inline@@@" 166 "@@@STEP_LOG_END@python.inline@@@"
167 ] 167 ]
168 }, 168 },
169 { 169 {
170 "name": "$result", 170 "name": "$result",
171 "recipe_result": null, 171 "recipe_result": null,
172 "status_code": 0 172 "status_code": 0
173 } 173 }
174 ] 174 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698