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

Side by Side Diff: infra/bots/recipes/swarm_compile.expected/Build-Mac-Clang-x86_64-Debug-CommandBuffer.json

Issue 2221413002: Move ct_skps recipe from tools repo to Skia repo (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Address comments Created 4 years, 4 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_WORK]", 7 "[CUSTOM_/_B_WORK]",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout_path", 10 "name": "makedirs checkout_path",
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_command_buff er=1 skia_warnings_as_errors=1", 133 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_command_buff er=1 skia_warnings_as_errors=1",
134 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 134 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
135 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma ndBuffer" 135 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma ndBuffer"
136 }, 136 },
137 "name": "build command_buffer" 137 "name": "build command_buffer"
138 }, 138 },
139 { 139 {
140 "cmd": [ 140 "cmd": [
141 "python", 141 "python",
142 "-u", 142 "-u",
143 "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", 143 "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', 'get _images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '* .so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell .ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs( dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor patt ern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f i n 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.d irname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n",
144 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb ug", 144 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb ug",
145 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" 145 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug"
146 ], 146 ],
147 "name": "copy build products", 147 "name": "copy build products",
148 "~followup_annotations": [ 148 "~followup_annotations": [
149 "@@@STEP_LOG_LINE@python.inline@import errno@@@", 149 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
150 "@@@STEP_LOG_LINE@python.inline@import glob@@@", 150 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
151 "@@@STEP_LOG_LINE@python.inline@import os@@@", 151 "@@@STEP_LOG_LINE@python.inline@import os@@@",
152 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", 152 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
153 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 153 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
154 "@@@STEP_LOG_LINE@python.inline@@@@", 154 "@@@STEP_LOG_LINE@python.inline@@@@",
155 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", 155 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@",
156 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@", 156 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@",
157 "@@@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']@@@", 157 "@@@STEP_LOG_LINE@python.inline@build_products_whitelist = ['dm', 'dm.exe' , 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.ex e', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iO SShell.ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']@@@",
158 "@@@STEP_LOG_LINE@python.inline@@@@", 158 "@@@STEP_LOG_LINE@python.inline@@@@",
159 "@@@STEP_LOG_LINE@python.inline@try:@@@", 159 "@@@STEP_LOG_LINE@python.inline@try:@@@",
160 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@", 160 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@",
161 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@", 161 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@",
162 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@", 162 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@",
163 "@@@STEP_LOG_LINE@python.inline@ raise@@@", 163 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
164 "@@@STEP_LOG_LINE@python.inline@@@@", 164 "@@@STEP_LOG_LINE@python.inline@@@@",
165 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@ @", 165 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@ @",
166 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@", 166 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@",
167 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", 167 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@",
168 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r elpath(f, src))@@@", 168 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r elpath(f, src))@@@",
169 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d st_path)):@@@", 169 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d st_path)):@@@",
170 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path ))@@@", 170 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path ))@@@",
171 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s' % (f, dst_path)@@@", 171 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s' % (f, dst_path)@@@",
172 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 172 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
173 "@@@STEP_LOG_END@python.inline@@@" 173 "@@@STEP_LOG_END@python.inline@@@"
174 ] 174 ]
175 }, 175 },
176 { 176 {
177 "name": "$result", 177 "name": "$result",
178 "recipe_result": null, 178 "recipe_result": null,
179 "status_code": 0 179 "status_code": 0
180 } 180 }
181 ] 181 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698