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

Side by Side Diff: scripts/slave/recipes/skia/swarm_compile.expected/Build-Mac-Clang-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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 "SKIA_OUT": "[CUSTOM_/_B_CACHE]/skia/out/Build-Mac-Clang-x86_64-Release-CM ake" 132 "SKIA_OUT": "[CUSTOM_/_B_CACHE]/skia/out/Build-Mac-Clang-x86_64-Release-CM ake"
133 }, 133 },
134 "name": "cmake_build" 134 "name": "cmake_build"
135 }, 135 },
136 { 136 {
137 "cmd": [ 137 "cmd": [
138 "python", 138 "python",
139 "-u", 139 "-u",
140 "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", 140 "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",
141 "[CUSTOM_/_B_CACHE]/skia/out/Build-Mac-Clang-x86_64-Release-CMake/Release" , 141 "[CUSTOM_/_B_CACHE]/skia/out/Build-Mac-Clang-x86_64-Release-CMake/Release" ,
142 "[SWARM_OUT_DIR]/out/Release" 142 "[CUSTOM_[SWARM_OUT_DIR]]/out/Release"
143 ], 143 ],
144 "name": "copy build products", 144 "name": "copy build products",
145 "~followup_annotations": [ 145 "~followup_annotations": [
146 "@@@STEP_LOG_LINE@python.inline@import errno@@@", 146 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
147 "@@@STEP_LOG_LINE@python.inline@import glob@@@", 147 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
148 "@@@STEP_LOG_LINE@python.inline@import os@@@", 148 "@@@STEP_LOG_LINE@python.inline@import os@@@",
149 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", 149 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
150 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 150 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
151 "@@@STEP_LOG_LINE@python.inline@@@@", 151 "@@@STEP_LOG_LINE@python.inline@@@@",
152 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", 152 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@",
(...skipping 16 matching lines...) Expand all
169 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 169 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
170 "@@@STEP_LOG_END@python.inline@@@" 170 "@@@STEP_LOG_END@python.inline@@@"
171 ] 171 ]
172 }, 172 },
173 { 173 {
174 "name": "$result", 174 "name": "$result",
175 "recipe_result": null, 175 "recipe_result": null,
176 "status_code": 0 176 "status_code": 0
177 } 177 }
178 ] 178 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698