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

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

Issue 2358183002: Add recipe support for Intel HD Graphics 530. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 2 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 | « no previous file | 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 os 9 import os
10 import json 10 import json
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 else: 150 else:
151 dimensions['gpu'] = { 151 dimensions['gpu'] = {
152 'GeForce320M': '10de:08a4', 152 'GeForce320M': '10de:08a4',
153 'GT610': '10de:104a', 153 'GT610': '10de:104a',
154 'GTX550Ti': '10de:1244', 154 'GTX550Ti': '10de:1244',
155 'GTX660': '10de:11c0', 155 'GTX660': '10de:11c0',
156 'GTX960': '10de:1401', 156 'GTX960': '10de:1401',
157 'HD4000': '8086:0a2e', 157 'HD4000': '8086:0a2e',
158 'HD4600': '8086:0412', 158 'HD4600': '8086:0412',
159 'HD7770': '1002:683d', 159 'HD7770': '1002:683d',
160 'iHD530': '8086:1912',
160 }[builder_cfg['cpu_or_gpu_value']] 161 }[builder_cfg['cpu_or_gpu_value']]
161 else: 162 else:
162 dimensions['gpu'] = 'none' 163 dimensions['gpu'] = 'none'
163 return dimensions 164 return dimensions
164 165
165 166
166 def fix_filemodes(api, path): 167 def fix_filemodes(api, path):
167 """Set all filemodes to 644 or 755 in the given directory path.""" 168 """Set all filemodes to 644 or 755 in the given directory path."""
168 api.python.inline( 169 api.python.inline(
169 name='fix filemodes', 170 name='fix filemodes',
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 mastername='client.skia', 817 mastername='client.skia',
817 slavename='skiabot-linux-swarm-000', 818 slavename='skiabot-linux-swarm-000',
818 buildnumber=5, 819 buildnumber=5,
819 path_config='kitchen', 820 path_config='kitchen',
820 revision='abc123', 821 revision='abc123',
821 **gerrit_kwargs) + 822 **gerrit_kwargs) +
822 api.step_data( 823 api.step_data(
823 'upload new .isolated file for test_skia', 824 'upload new .isolated file for test_skia',
824 stdout=api.raw_io.output('def456 XYZ.isolated')) 825 stdout=api.raw_io.output('def456 XYZ.isolated'))
825 ) 826 )
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698