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

Side by Side Diff: infra/bots/recipes/swarm_ct_skps.expected/CT_DM_10k_SKPs_Trybot.json

Issue 2347203002: Build with GN on CT bots. (Closed)
Patch Set: rebase Created 4 years, 3 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 156 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
157 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 157 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
158 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 158 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
159 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 159 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
160 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 160 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
161 "@@@STEP_LOG_END@python.inline@@@" 161 "@@@STEP_LOG_END@python.inline@@@"
162 ] 162 ]
163 }, 163 },
164 { 164 {
165 "cmd": [ 165 "cmd": [
166 "make", 166 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn"
167 "dm"
168 ], 167 ],
169 "cwd": "[CUSTOM_/_B_WORK]/skia", 168 "cwd": "[CUSTOM_/_B_WORK]/skia",
170 "env": { 169 "env": {
171 "BUILDTYPE": "Debug", 170 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]"
172 "CHROME_HEADLESS": "1",
173 "CHROME_PATH": "[SLAVE_BUILD]/src",
174 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
175 "SKIA_OUT": "[SLAVE_BUILD]/out"
176 }, 171 },
177 "name": "build dm" 172 "name": "fetch-gn"
178 }, 173 },
179 { 174 {
180 "cmd": [ 175 "cmd": [
176 "gn",
177 "gen",
178 "[SLAVE_BUILD]/out/Debug",
179 "--args=cc=\"gcc\" cxx=\"g++\""
180 ],
181 "cwd": "[CUSTOM_/_B_WORK]/skia",
182 "env": {
183 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]"
184 },
185 "name": "gn gen"
186 },
187 {
188 "cmd": [
189 "ninja",
190 "-C",
191 "[SLAVE_BUILD]/out/Debug"
192 ],
193 "cwd": "[CUSTOM_/_B_WORK]/skia",
194 "env": {
195 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]"
196 },
197 "name": "ninja"
198 },
199 {
200 "cmd": [
181 "python", 201 "python",
182 "-u", 202 "-u",
183 "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", 203 "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",
184 "[SLAVE_BUILD]/out/Debug", 204 "[SLAVE_BUILD]/out/Debug",
185 "[CUSTOM_/_B_WORK]/skia/infra/bots/ct" 205 "[CUSTOM_/_B_WORK]/skia/infra/bots/ct"
186 ], 206 ],
187 "name": "copy build products", 207 "name": "copy build products",
188 "~followup_annotations": [ 208 "~followup_annotations": [
189 "@@@STEP_LOG_LINE@python.inline@import errno@@@", 209 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
190 "@@@STEP_LOG_LINE@python.inline@import glob@@@", 210 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
(...skipping 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after
1608 "@@@STEP_LINK@shard #0 isolated out@blah@@@", 1628 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
1609 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@" 1629 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@"
1610 ] 1630 ]
1611 }, 1631 },
1612 { 1632 {
1613 "name": "$result", 1633 "name": "$result",
1614 "recipe_result": null, 1634 "recipe_result": null,
1615 "status_code": 0 1635 "status_code": 0
1616 } 1636 }
1617 ] 1637 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698