| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |