• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env python
2#
3# Copyright 2016 Google Inc.
4#
5# Use of this source code is governed by a BSD-style license that can be
6# found in the LICENSE file.
7
8
9import collections
10import json
11
12
13DEFAULT_SDK_ROOT = '/home/chrome-bot/android-sdk-linux'
14MAC_SDK_ROOT = '/Users/chrome-bot/adt-bundle-mac-x86_64-20140702/sdk'
15MACMINI_SDK_ROOT = '/Users/chrome-bot/android-sdk-macosx'
16
17SlaveInfo = collections.namedtuple('SlaveInfo',
18                                   'serial android_sdk_root has_root')
19
20SLAVE_INFO = {
21  'skiabot-mac-10_8-compile-000':
22      SlaveInfo('noserial', MAC_SDK_ROOT, True),
23  'skiabot-mac-10_8-compile-001':
24      SlaveInfo('noserial', MAC_SDK_ROOT, True),
25  'skiabot-mac-10_8-compile-002':
26      SlaveInfo('noserial', MAC_SDK_ROOT, True),
27  'skiabot-mac-10_8-compile-003':
28      SlaveInfo('noserial', MAC_SDK_ROOT, True),
29  'skiabot-mac-10_8-compile-004':
30      SlaveInfo('noserial', MAC_SDK_ROOT, True),
31  'skiabot-mac-10_8-compile-005':
32      SlaveInfo('noserial', MAC_SDK_ROOT, True),
33  'skiabot-mac-10_8-compile-006':
34      SlaveInfo('noserial', MAC_SDK_ROOT, True),
35  'skiabot-mac-10_8-compile-007':
36      SlaveInfo('noserial', MAC_SDK_ROOT, True),
37  'skiabot-mac-10_8-compile-008':
38      SlaveInfo('noserial', MAC_SDK_ROOT, True),
39  'skiabot-mac-10_8-compile-009':
40      SlaveInfo('noserial', MAC_SDK_ROOT, True),
41  'skiabot-shuttle-ubuntu15-androidone-001':
42      SlaveInfo('AG86044202A04GC', DEFAULT_SDK_ROOT, True),
43  'skiabot-shuttle-ubuntu15-androidone-002':
44      SlaveInfo('AG8404EC06G02GC', DEFAULT_SDK_ROOT, True),
45  'skiabot-shuttle-ubuntu15-androidone-003':
46      SlaveInfo('AG8404EC0688EGC', DEFAULT_SDK_ROOT, True),
47  'skiabot-shuttle-ubuntu12-galaxys3-001':
48      SlaveInfo('4df713b8244a21cf', DEFAULT_SDK_ROOT, False),
49  'skiabot-shuttle-ubuntu12-galaxys3-002':
50      SlaveInfo('32309a56e9b3a09f', DEFAULT_SDK_ROOT, False),
51  'skiabot-shuttle-ubuntu12-galaxys4-001':
52      SlaveInfo('4d0032a5d8cb6125', MACMINI_SDK_ROOT, False),
53  'skiabot-shuttle-ubuntu12-galaxys4-002':
54      SlaveInfo('4d00353cd8ed61c3', MACMINI_SDK_ROOT, False),
55  'skiabot-shuttle-ubuntu12-nexus5-001':
56      SlaveInfo('03f61449437cc47b', DEFAULT_SDK_ROOT, True),
57  'skiabot-shuttle-ubuntu12-nexus5-002':
58      SlaveInfo('018dff3520c970f6', DEFAULT_SDK_ROOT, True),
59  'skiabot-shuttle-ubuntu15-nexus6-001':
60      SlaveInfo('ZX1G22JJWS', DEFAULT_SDK_ROOT, True),
61  'skiabot-shuttle-ubuntu15-nexus6-002':
62      SlaveInfo('ZX1G22JN35', DEFAULT_SDK_ROOT, True),
63  'skiabot-shuttle-ubuntu15-nexus6-003':
64      SlaveInfo('ZX1G22JXXM', DEFAULT_SDK_ROOT, True),
65  'skiabot-shuttle-ubuntu12-nexus7-001':
66      SlaveInfo('015d210a13480604', DEFAULT_SDK_ROOT, True),
67  'skiabot-shuttle-ubuntu12-nexus7-002':
68      SlaveInfo('015d18848c280217', DEFAULT_SDK_ROOT, True),
69  'skiabot-shuttle-ubuntu12-nexus7-003':
70      SlaveInfo('015d16897c401e17', DEFAULT_SDK_ROOT, True),
71  'skiabot-shuttle-ubuntu12-nexus9-001':
72      SlaveInfo('HT43RJT00022', DEFAULT_SDK_ROOT, True),
73  'skiabot-shuttle-ubuntu12-nexus9-002':
74      SlaveInfo('HT4AEJT03112', DEFAULT_SDK_ROOT, True),
75  'skiabot-shuttle-ubuntu12-nexus9-003':
76      SlaveInfo('HT4ADJT03339', DEFAULT_SDK_ROOT, True),
77  'skiabot-shuttle-ubuntu12-nexus10-001':
78      SlaveInfo('R32C801B5LH', DEFAULT_SDK_ROOT, True),
79  'skiabot-shuttle-ubuntu12-nexus10-003':
80      SlaveInfo('R32CB017X2L', DEFAULT_SDK_ROOT, True),
81  'skiabot-shuttle-ubuntu12-nexusplayer-001':
82      SlaveInfo('D76C708B', DEFAULT_SDK_ROOT, True),
83  'skiabot-shuttle-ubuntu12-nexusplayer-002':
84      SlaveInfo('8AB5139A', DEFAULT_SDK_ROOT, True),
85  'skiabot-shuttle-ubuntu15-nvidia-shield-001':
86      SlaveInfo('04217150066510000078', MACMINI_SDK_ROOT, False),
87  'skiabot-linux-housekeeper-003':
88      SlaveInfo('noserial', DEFAULT_SDK_ROOT, False),
89  'vm690-m3': SlaveInfo('noserial', MACMINI_SDK_ROOT, False),
90  'vm691-m3': SlaveInfo('noserial', MACMINI_SDK_ROOT, False),
91  'vm692-m3': SlaveInfo('noserial', MACMINI_SDK_ROOT, False),
92  'vm693-m3': SlaveInfo('noserial', MACMINI_SDK_ROOT, False),
93  'default':
94      SlaveInfo('noserial', DEFAULT_SDK_ROOT, False),
95}
96
97
98if __name__ == '__main__':
99  print json.dumps(SLAVE_INFO)  # pragma: no cover
100
101