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