| OLD | NEW |
| 1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // TODO(kjlubick): add tests for this code | 5 // TODO(kjlubick): add tests for this code |
| 6 | 6 |
| 7 this.swarming = this.swarming || {}; | 7 this.swarming = this.swarming || {}; |
| 8 this.swarming.alias = this.swarming.alias || (function(){ | 8 this.swarming.alias = this.swarming.alias || (function(){ |
| 9 var ANDROID_ALIASES = { | 9 var ANDROID_ALIASES = { |
| 10 "angler": "Nexus 6p", | 10 "angler": "Nexus 6p", |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 | 129 |
| 130 var aliasMap = { | 130 var aliasMap = { |
| 131 "device_type": alias.android, | 131 "device_type": alias.android, |
| 132 "gpu": alias.gpu, | 132 "gpu": alias.gpu, |
| 133 "battery_health": alias.battery_health, | 133 "battery_health": alias.battery_health, |
| 134 "battery_status": alias.battery_status, | 134 "battery_status": alias.battery_status, |
| 135 } | 135 } |
| 136 | 136 |
| 137 return alias; | 137 return alias; |
| 138 })(); | 138 })(); |
| OLD | NEW |