Index: infra/bots/recipes/swarm_trigger.py |
diff --git a/infra/bots/recipes/swarm_trigger.py b/infra/bots/recipes/swarm_trigger.py |
index 3caa9d13077519c7cefb1e6c9ae2a1e08f0b5a2d..1318bbdb824c1089ab4118a0ba80e94d8f5d59ab 100644 |
--- a/infra/bots/recipes/swarm_trigger.py |
+++ b/infra/bots/recipes/swarm_trigger.py |
@@ -119,21 +119,25 @@ def swarm_dimensions(builder_cfg): |
if builder_cfg['role'] in ('Test', 'Perf'): |
if 'Android' in builder_cfg['os']: |
# For Android, the device type is a better dimension than CPU or GPU. |
- dimensions['device_type'] = { |
- 'AndroidOne': 'sprout', |
- 'GalaxyS3': 'm0', #'smdk4x12', Detected incorrectly by swarming? |
- 'GalaxyS4': None, # TODO(borenet,kjlubick) |
- 'GalaxyS7': 'heroqlteatt', |
- 'NVIDIA_Shield': 'foster', |
- 'Nexus10': 'manta', |
- 'Nexus5': 'hammerhead', |
- 'Nexus6': 'shamu', |
- 'Nexus6p': 'angler', |
- 'Nexus7': 'grouper', |
- 'Nexus7v2': 'flo', |
- 'Nexus9': 'flounder', |
- 'NexusPlayer': 'fugu', |
+ device_type, device_os = { |
+ 'AndroidOne': ('sprout', 'MOB30Q'), |
+ #'smdk4x12', Detected incorrectly by swarming? |
+ 'GalaxyS3': ('m0', 'M'), |
kjlubick
2016/10/10 16:52:50
Can't we remove the s3 and s4 entries?
borenet
2016/10/10 16:56:57
Sure, done.
|
+ # TODO(borenet,kjlubick) |
+ 'GalaxyS4': (None, 'M'), |
+ 'GalaxyS7': ('heroqlteatt','MMB29M'), |
+ 'NVIDIA_Shield': ('foster', 'MRA58K'), |
+ 'Nexus10': ('manta', 'LMY49J'), |
+ 'Nexus5': ('hammerhead', 'MOB31E'), |
+ 'Nexus6': ('shamu', 'M'), |
+ 'Nexus6p': ('angler', 'NRD91E'), |
+ 'Nexus7': ('grouper', 'KTU84U'), |
kjlubick
2016/10/10 16:52:50
This will be LMY47V
borenet
2016/10/10 16:56:57
Done.
|
+ 'Nexus7v2': ('flo', 'M'), |
+ 'Nexus9': ('flounder', 'NRD91D'), |
+ 'NexusPlayer': ('fugu', 'NRD90R'), |
}[builder_cfg['model']] |
+ dimensions['device_type'] = device_type |
+ dimensions['device_os'] = device_os |
elif 'iOS' in builder_cfg['os']: |
# For iOS, the device type is a better dimension than CPU or GPU. |
dimensions['device'] = { |