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

Side by Side Diff: infra/bots/recipes/swarm_trigger.py

Issue 2188543002: Add Vulkan runtime dll (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Remove Vulkan_flavor 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
« no previous file with comments | « infra/bots/recipes/swarm_compile.expected/win_retry_failed_compile.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 5
6 # Recipe module for Skia Swarming trigger. 6 # Recipe module for Skia Swarming trigger.
7 7
8 8
9 import json 9 import json
10 10
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 if 'Win' in builder_name: 304 if 'Win' in builder_name:
305 version_file = infrabots_dir.join('assets', 'win_toolchain', 'VERSION') 305 version_file = infrabots_dir.join('assets', 'win_toolchain', 'VERSION')
306 version = api.skia._readfile(version_file, 306 version = api.skia._readfile(version_file,
307 name='read win_toolchain VERSION', 307 name='read win_toolchain VERSION',
308 test_data='0').rstrip() 308 test_data='0').rstrip()
309 version = 'version:%s' % version 309 version = 'version:%s' % version
310 pkg = ('t', 'skia/bots/win_toolchain', version) 310 pkg = ('t', 'skia/bots/win_toolchain', version)
311 cipd_packages.append(pkg) 311 cipd_packages.append(pkg)
312 312
313 if 'Vulkan' in builder_name: 313 if 'Vulkan' in builder_name:
314 version_file = infrabots_dir.join('assets', 'win_vulkan_sdk', 'VERSION')
315 cipd_packages.append(cipd_pkg(api, infrabots_dir, 'win_vulkan_sdk')) 314 cipd_packages.append(cipd_pkg(api, infrabots_dir, 'win_vulkan_sdk'))
316 315
317 # Fake these properties for compile tasks so that they can be de-duped. 316 # Fake these properties for compile tasks so that they can be de-duped.
318 master = 'client.skia.compile' 317 master = 'client.skia.compile'
319 slave = 'skiabot-dummy-compile-slave' 318 slave = 'skiabot-dummy-compile-slave'
320 buildnumber = 1 319 buildnumber = 1
321 320
322 task = trigger_task( 321 task = trigger_task(
323 api, 322 api,
324 'compile', 323 'compile',
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 test += api.path.exists(*paths) 677 test += api.path.exists(*paths)
679 678
680 return test 679 return test
681 680
682 681
683 def GenTests(api): 682 def GenTests(api):
684 for mastername, slaves in TEST_BUILDERS.iteritems(): 683 for mastername, slaves in TEST_BUILDERS.iteritems():
685 for slavename, builders_by_slave in slaves.iteritems(): 684 for slavename, builders_by_slave in slaves.iteritems():
686 for builder in builders_by_slave: 685 for builder in builders_by_slave:
687 yield test_for_bot(api, builder, mastername, slavename) 686 yield test_for_bot(api, builder, mastername, slavename)
OLDNEW
« no previous file with comments | « infra/bots/recipes/swarm_compile.expected/win_retry_failed_compile.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698