| OLD | NEW |
| 1 | 1 |
| 2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 from recipe_engine.types import freeze | 6 from recipe_engine.types import freeze |
| 7 | 7 |
| 8 DEPS = [ | 8 DEPS = [ |
| 9 'depot_tools/bot_update', | 9 'depot_tools/bot_update', |
| 10 'depot_tools/gclient', | 10 'depot_tools/gclient', |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 deps[key] = value | 73 deps[key] = value |
| 74 | 74 |
| 75 # Log DEPS output. | 75 # Log DEPS output. |
| 76 step_result.presentation.logs['deps'] = api.json.dumps( | 76 step_result.presentation.logs['deps'] = api.json.dumps( |
| 77 deps, indent=2).splitlines() | 77 deps, indent=2).splitlines() |
| 78 return deps | 78 return deps |
| 79 | 79 |
| 80 | 80 |
| 81 def RunSteps(api): | 81 def RunSteps(api): |
| 82 api.gclient.set_config('v8') | 82 api.gclient.set_config('v8', GIT_MODE=True) |
| 83 api.gclient.apply_config('chromium') | 83 api.gclient.apply_config('chromium') |
| 84 | 84 |
| 85 # Allow rolling all v8 os deps. | 85 # Allow rolling all v8 os deps. |
| 86 api.gclient.c.target_os.add('android') | 86 api.gclient.c.target_os.add('android') |
| 87 api.gclient.c.target_os.add('win') | 87 api.gclient.c.target_os.add('win') |
| 88 | 88 |
| 89 # Skip large repos. | 89 # Skip large repos. |
| 90 s = api.gclient.c.solutions[1] | 90 s = api.gclient.c.solutions[1] |
| 91 s.custom_deps.update({ | 91 s.custom_deps.update({ |
| 92 'src/chrome/test/data/pdf_private': None, | 92 'src/chrome/test/data/pdf_private': None, |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 ) + | 223 ) + |
| 224 api.override_step_data( | 224 api.override_step_data( |
| 225 'look up another_dep', | 225 'look up another_dep', |
| 226 api.raw_io.stream_output('deadbeaf\tHEAD', stream='stdout'), | 226 api.raw_io.stream_output('deadbeaf\tHEAD', stream='stdout'), |
| 227 ) + | 227 ) + |
| 228 api.override_step_data( | 228 api.override_step_data( |
| 229 'git diff', | 229 'git diff', |
| 230 api.raw_io.stream_output('some difference', stream='stdout'), | 230 api.raw_io.stream_output('some difference', stream='stdout'), |
| 231 ) | 231 ) |
| 232 ) | 232 ) |
| OLD | NEW |