| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # pylint: disable=W0201 | 6 # pylint: disable=W0201 |
| 7 | 7 |
| 8 | 8 |
| 9 import copy | 9 import copy |
| 10 import default_flavor | 10 import default_flavor |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 else: | 31 else: |
| 32 # Test/Perf bots. | 32 # Test/Perf bots. |
| 33 return { | 33 return { |
| 34 'AndroidOne': 'arm_v7_neon', | 34 'AndroidOne': 'arm_v7_neon', |
| 35 'GalaxyS3': 'arm_v7_neon', | 35 'GalaxyS3': 'arm_v7_neon', |
| 36 'GalaxyS4': 'arm_v7_neon', | 36 'GalaxyS4': 'arm_v7_neon', |
| 37 'NVIDIA_Shield': 'arm64', | 37 'NVIDIA_Shield': 'arm64', |
| 38 'Nexus10': 'arm_v7_neon', | 38 'Nexus10': 'arm_v7_neon', |
| 39 'Nexus5': 'arm_v7_neon', | 39 'Nexus5': 'arm_v7_neon', |
| 40 'Nexus6': 'arm_v7_neon', | 40 'Nexus6': 'arm_v7_neon', |
| 41 'Nexus6p': 'arm_v7_neon', |
| 41 'Nexus7': 'arm_v7_neon', | 42 'Nexus7': 'arm_v7_neon', |
| 42 'Nexus7v2': 'arm_v7_neon', | 43 'Nexus7v2': 'arm_v7_neon', |
| 43 'Nexus9': 'arm64', | 44 'Nexus9': 'arm64', |
| 44 'NexusPlayer': 'x86', | 45 'NexusPlayer': 'x86', |
| 45 }[builder_cfg['model']] | 46 }[builder_cfg['model']] |
| 46 | 47 |
| 47 | 48 |
| 48 class _ADBWrapper(object): | 49 class _ADBWrapper(object): |
| 49 """Wrapper for the ADB recipe module. | 50 """Wrapper for the ADB recipe module. |
| 50 | 51 |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 infra_step=True).stdout.rstrip() | 339 infra_step=True).stdout.rstrip() |
| 339 | 340 |
| 340 def remove_file_on_device(self, path, *args, **kwargs): | 341 def remove_file_on_device(self, path, *args, **kwargs): |
| 341 """Delete the given file.""" | 342 """Delete the given file.""" |
| 342 return self._adb(name='rm %s' % self.m.path.basename(path), | 343 return self._adb(name='rm %s' % self.m.path.basename(path), |
| 343 serial=self.serial, | 344 serial=self.serial, |
| 344 cmd=['shell', 'rm', '-f', path], | 345 cmd=['shell', 'rm', '-f', path], |
| 345 infra_step=True, | 346 infra_step=True, |
| 346 *args, | 347 *args, |
| 347 **kwargs) | 348 **kwargs) |
| OLD | NEW |