| 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 from recipe_engine.types import freeze | 5 from recipe_engine.types import freeze |
| 6 | 6 |
| 7 | 7 |
| 8 DEPS = [ | 8 DEPS = [ |
| 9 'adb', | 9 'adb', |
| 10 'chromium', | 10 'chromium', |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 'num_host_shards': num_host_shards, | 39 'num_host_shards': num_host_shards, |
| 40 'shard_index': shard_index, | 40 'shard_index': shard_index, |
| 41 'test_spec_file': 'chromium.perf.json', | 41 'test_spec_file': 'chromium.perf.json', |
| 42 'max_battery_temp': 350, | 42 'max_battery_temp': 350, |
| 43 'known_devices_file': '.known_devices', | 43 'known_devices_file': '.known_devices', |
| 44 'browser_name': browser_name, | 44 'browser_name': browser_name, |
| 45 'remove_system_webview': remove_system_webview, | 45 'remove_system_webview': remove_system_webview, |
| 46 'enable_platform_mode': enable_platform_mode, | 46 'enable_platform_mode': enable_platform_mode, |
| 47 } | 47 } |
| 48 if target_bits == 32: | 48 if target_bits == 32: |
| 49 builder_name = 'android_perf_rel' | 49 builder_name = 'Android Builder' |
| 50 elif target_bits == 64: | 50 elif target_bits == 64: |
| 51 builder_name = 'android_perf_rel_arm64' | 51 builder_name = 'Android arm64 Builder' |
| 52 spec['recipe_config'] = 'tests_arm64' | 52 spec['recipe_config'] = 'tests_arm64' |
| 53 spec['path'] = lambda api: '%s/full-build-linux_%s.zip' % ( | 53 spec['path'] = lambda api: '%s/full-build-linux_%s.zip' % ( |
| 54 builder_name, api.properties['parent_revision']) | 54 builder_name, api.properties['parent_revision']) |
| 55 return spec | 55 return spec |
| 56 | 56 |
| 57 tester_spec = {} | 57 tester_spec = {} |
| 58 for shard_index in xrange(num_host_shards): | 58 for shard_index in xrange(num_host_shards): |
| 59 builder_name = '%s (%d)' % (name, shard_index + 1) | 59 builder_name = '%s (%d)' % (name, shard_index + 1) |
| 60 tester_spec[builder_name] = _CreateShardTestSpec( | 60 tester_spec[builder_name] = _CreateShardTestSpec( |
| 61 name, perf_id, required_apks, num_device_shards, num_host_shards, | 61 name, perf_id, required_apks, num_device_shards, num_host_shards, |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 "adb_status": "device", | 350 "adb_status": "device", |
| 351 "imei_slice": "", | 351 "imei_slice": "", |
| 352 "ro.build.product": "bullhead", | 352 "ro.build.product": "bullhead", |
| 353 "ro.build.id": "MDB08Q", | 353 "ro.build.id": "MDB08Q", |
| 354 "serial": "00d0d567893340f4", | 354 "serial": "00d0d567893340f4", |
| 355 "wifi_ip": "" | 355 "wifi_ip": "" |
| 356 }] | 356 }] |
| 357 }}), | 357 }}), |
| 358 retcode=87)) | 358 retcode=87)) |
| 359 | 359 |
| OLD | NEW |