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