| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, |
| 93 'src/native_client': None, | 93 'src/native_client': None, |
| 94 'src/third_party/skia': None, | 94 'src/third_party/skia': None, |
| 95 'src/third_party/webrtc': None, | 95 'src/third_party/webrtc': None, |
| 96 'src/third_party/WebKit': None, | 96 'src/third_party/WebKit': None, |
| 97 'src/tools/valgrind': None, | 97 'src/tools/valgrind': None, |
| 98 'src/v8': None, | 98 'src/v8': None, |
| 99 }) | 99 }) |
| 100 api.bot_update.ensure_checkout(force=True, no_shallow=True) | 100 api.bot_update.ensure_checkout(no_shallow=True) |
| 101 | 101 |
| 102 # Enforce a clean state. | 102 # Enforce a clean state. |
| 103 api.git( | 103 api.git( |
| 104 'checkout', '-f', 'origin/master', | 104 'checkout', '-f', 'origin/master', |
| 105 cwd=api.path['checkout'], | 105 cwd=api.path['checkout'], |
| 106 ) | 106 ) |
| 107 api.git( | 107 api.git( |
| 108 'branch', '-D', 'roll', | 108 'branch', '-D', 'roll', |
| 109 ok_ret='any', | 109 ok_ret='any', |
| 110 cwd=api.path['checkout'], | 110 cwd=api.path['checkout'], |
| (...skipping 112 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 |