| 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 DEPS = [ | 5 DEPS = [ |
| 6 'bot_update', | 6 'bot_update', |
| 7 'chromium', | 7 'chromium', |
| 8 'gclient', | 8 'gclient', |
| 9 'git', | 9 'git', |
| 10 'gsutil', | 10 'gsutil', |
| 11 'json', | 11 'json', |
| 12 'path', | 12 'path', |
| 13 'properties', | 13 'properties', |
| 14 'step', | 14 'step', |
| 15 'v8', |
| 15 ] | 16 ] |
| 16 | 17 |
| 17 def GenSteps(api): | 18 def GenSteps(api): |
| 18 api.chromium.cleanup_temp() | 19 api.chromium.cleanup_temp() |
| 19 api.gclient.set_config('chromium') | 20 api.gclient.set_config('chromium') |
| 20 api.gclient.apply_config('v8') | 21 api.gclient.apply_config('v8') |
| 21 api.bot_update.ensure_checkout( | 22 api.bot_update.ensure_checkout( |
| 22 force=True, no_shallow=True, with_branch_heads=True) | 23 force=True, no_shallow=True, with_branch_heads=True) |
| 23 api.step( | 24 api.step( |
| 24 'V8Releases', | 25 'V8Releases', |
| 25 [api.path['slave_build'].join( | 26 [api.path['slave_build'].join( |
| 26 'v8', 'tools', 'release', 'releases.py'), | 27 'v8', 'tools', 'release', 'releases.py'), |
| 27 '-c', api.path['checkout'], | 28 '-c', api.path['checkout'], |
| 28 '--json', api.path['slave_build'].join('v8-releases-update.json'), | 29 '--json', api.path['slave_build'].join('v8-releases-update.json'), |
| 29 '--branch', 'recent', | 30 '--branch', 'recent', |
| 30 '--work-dir', api.path['slave_build'].join('workdir')], | 31 '--work-dir', api.path['slave_build'].join('workdir')], |
| 31 cwd=api.path['slave_build'].join('v8'), | 32 cwd=api.path['slave_build'].join('v8'), |
| 32 ) | 33 ) |
| 33 api.gsutil.upload(api.path['slave_build'].join('v8-releases-update.json'), | 34 api.gsutil.upload(api.path['slave_build'].join('v8-releases-update.json'), |
| 34 'chromium-v8-auto-roll', | 35 'chromium-v8-auto-roll', |
| 35 api.path.join('v8rel', 'v8-releases-update.json')) | 36 api.path.join('v8rel', 'v8-releases-update.json')) |
| 36 | 37 |
| 37 | 38 |
| 38 def GenTests(api): | 39 def GenTests(api): |
| 39 yield api.test('standard') + api.properties.generic(mastername='client.v8') | 40 yield api.test('standard') + api.properties.generic(mastername='client.v8') |
| 40 | 41 |
| OLD | NEW |