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 14 matching lines...) Expand all Loading... |
25 'x86': 'x86', | 25 'x86': 'x86', |
26 'x86_64': 'x86_64', | 26 'x86_64': 'x86_64', |
27 'Mips': 'mips', | 27 'Mips': 'mips', |
28 'Mips64': 'mips64', | 28 'Mips64': 'mips64', |
29 'MipsDSP2': 'mips_dsp2', | 29 'MipsDSP2': 'mips_dsp2', |
30 }.get(builder_cfg['target_arch'], 'arm_v7_neon') | 30 }.get(builder_cfg['target_arch'], 'arm_v7_neon') |
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', |
| 36 'GalaxyS4': 'arm_v7_neon', |
35 'GalaxyS7': 'arm64', | 37 'GalaxyS7': 'arm64', |
36 'NVIDIA_Shield': 'arm64', | 38 'NVIDIA_Shield': 'arm64', |
37 'Nexus10': 'arm_v7_neon', | 39 'Nexus10': 'arm_v7_neon', |
38 'Nexus5': 'arm_v7_neon', | 40 'Nexus5': 'arm_v7_neon', |
39 'Nexus6': 'arm_v7_neon', | 41 'Nexus6': 'arm_v7_neon', |
40 'Nexus6p': 'arm64', | 42 'Nexus6p': 'arm64', |
41 'Nexus7': 'arm_v7_neon', | 43 'Nexus7': 'arm_v7_neon', |
42 'Nexus7v2': 'arm_v7_neon', | 44 'Nexus7v2': 'arm_v7_neon', |
43 'Nexus9': 'arm64', | 45 'Nexus9': 'arm64', |
44 'NexusPlayer': 'x86', | 46 'NexusPlayer': 'x86', |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 infra_step=True).stdout.rstrip() | 340 infra_step=True).stdout.rstrip() |
339 | 341 |
340 def remove_file_on_device(self, path, *args, **kwargs): | 342 def remove_file_on_device(self, path, *args, **kwargs): |
341 """Delete the given file.""" | 343 """Delete the given file.""" |
342 return self._adb(name='rm %s' % self.m.path.basename(path), | 344 return self._adb(name='rm %s' % self.m.path.basename(path), |
343 serial=self.serial, | 345 serial=self.serial, |
344 cmd=['shell', 'rm', '-f', path], | 346 cmd=['shell', 'rm', '-f', path], |
345 infra_step=True, | 347 infra_step=True, |
346 *args, | 348 *args, |
347 **kwargs) | 349 **kwargs) |
OLD | NEW |