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

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

Issue 2275643004: Make android recipes explicitly set GIT_MODE (Closed)
Patch Set: Catch dartium android builders Created 4 years, 3 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 kwargs = { 124 kwargs = {
125 'REPO_NAME':'src', 125 'REPO_NAME':'src',
126 'REPO_URL':REPO_URL, 126 'REPO_URL':REPO_URL,
127 'INTERNAL':False, 127 'INTERNAL':False,
128 'BUILD_CONFIG':'Release', 128 'BUILD_CONFIG':'Release',
129 'TARGET_PLATFORM':'android', 129 'TARGET_PLATFORM':'android',
130 } 130 }
131 131
132 api.chromium_android.set_config(builder_config, **kwargs) 132 api.chromium_android.set_config(builder_config, **kwargs)
133 api.chromium.set_config(builder_config, **kwargs) 133 api.chromium.set_config(builder_config, **kwargs)
134 api.gclient.set_config('perf') 134 api.gclient.set_config('perf', GIT_MODE=True)
135 api.gclient.apply_config('android') 135 api.gclient.apply_config('android')
136 136
137 bot_update_step = api.bot_update.ensure_checkout() 137 bot_update_step = api.bot_update.ensure_checkout()
138 138
139 test_spec_file = builder.get('test_spec_file') 139 test_spec_file = builder.get('test_spec_file')
140 test_spec = {} 140 test_spec = {}
141 if test_spec_file: 141 if test_spec_file:
142 test_spec = api.chromium_tests.read_test_spec(api, test_spec_file) 142 test_spec = api.chromium_tests.read_test_spec(api, test_spec_file)
143 143
144 scripts_compile_targets = \ 144 scripts_compile_targets = \
(...skipping 201 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