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