Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: scripts/slave/recipes/android/perf.py

Issue 2275563003: Fix android recipe build upload names (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_perf_rel_arm64'
dtu 2016/08/24 00:58:36 64-bit also
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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 "adb_status": "device", 346 "adb_status": "device",
347 "imei_slice": "", 347 "imei_slice": "",
348 "ro.build.product": "bullhead", 348 "ro.build.product": "bullhead",
349 "ro.build.id": "MDB08Q", 349 "ro.build.id": "MDB08Q",
350 "serial": "00d0d567893340f4", 350 "serial": "00d0d567893340f4",
351 "wifi_ip": "" 351 "wifi_ip": ""
352 }] 352 }]
353 }}), 353 }}),
354 retcode=87)) 354 retcode=87))
355 355
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698