OLD | NEW |
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 if 'Android' in builder_cfg['os']: | 112 if 'Android' in builder_cfg['os']: |
113 # For Android, the device type is a better dimension than CPU or GPU. | 113 # For Android, the device type is a better dimension than CPU or GPU. |
114 dimensions['device_type'] = { | 114 dimensions['device_type'] = { |
115 'AndroidOne': 'sprout', | 115 'AndroidOne': 'sprout', |
116 'GalaxyS3': 'm0', #'smdk4x12', Detected incorrectly by swarming? | 116 'GalaxyS3': 'm0', #'smdk4x12', Detected incorrectly by swarming? |
117 'GalaxyS4': None, # TODO(borenet,kjlubick) | 117 'GalaxyS4': None, # TODO(borenet,kjlubick) |
118 'NVIDIA_Shield': 'foster', | 118 'NVIDIA_Shield': 'foster', |
119 'Nexus10': 'manta', | 119 'Nexus10': 'manta', |
120 'Nexus5': 'hammerhead', | 120 'Nexus5': 'hammerhead', |
121 'Nexus6': 'shamu', | 121 'Nexus6': 'shamu', |
| 122 'Nexus6p': 'angler', |
122 'Nexus7': 'grouper', | 123 'Nexus7': 'grouper', |
123 'Nexus7v2': 'flo', | 124 'Nexus7v2': 'flo', |
124 'Nexus9': 'flounder', | 125 'Nexus9': 'flounder', |
125 'NexusPlayer': 'fugu', | 126 'NexusPlayer': 'fugu', |
126 }[builder_cfg['model']] | 127 }[builder_cfg['model']] |
127 elif 'iOS' in builder_cfg['os']: | 128 elif 'iOS' in builder_cfg['os']: |
128 # For iOS, the device type is a better dimension than CPU or GPU. | 129 # For iOS, the device type is a better dimension than CPU or GPU. |
129 dimensions['device'] = { | 130 dimensions['device'] = { |
130 'iPad4': 'iPad4,1', | 131 'iPad4': 'iPad4,1', |
131 }[builder_cfg['model']] | 132 }[builder_cfg['model']] |
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 mastername='client.skia', | 811 mastername='client.skia', |
811 slavename='skiabot-linux-swarm-000', | 812 slavename='skiabot-linux-swarm-000', |
812 buildnumber=5, | 813 buildnumber=5, |
813 path_config='kitchen', | 814 path_config='kitchen', |
814 revision='abc123', | 815 revision='abc123', |
815 **gerrit_kwargs) + | 816 **gerrit_kwargs) + |
816 api.step_data( | 817 api.step_data( |
817 'upload new .isolated file for test_skia', | 818 'upload new .isolated file for test_skia', |
818 stdout=api.raw_io.output('def456 XYZ.isolated')) | 819 stdout=api.raw_io.output('def456 XYZ.isolated')) |
819 ) | 820 ) |
OLD | NEW |