| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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', | 6 'depot_tools', |
| 7 'recipe_engine/step', | 7 'recipe_engine/step', |
| 8 'recipe_engine/path', | 8 'recipe_engine/path', |
| 9 'recipe_engine/platform', | 9 'recipe_engine/platform', |
| 10 ] | 10 ] |
| 11 | 11 |
| 12 | 12 |
| 13 def RunSteps(api): | 13 def RunSteps(api): |
| 14 api.step( | 14 api.step( |
| 15 'download_from_google_storage', | 15 'download_from_google_storage', |
| 16 ['ls', api.depot_tools.download_from_google_storage_path]) | 16 ['ls', api.depot_tools.download_from_google_storage_path]) |
| 17 | 17 |
| 18 api.step( |
| 19 'upload_to_google_storage', |
| 20 ['ls', api.depot_tools.upload_to_google_storage_path]) |
| 21 |
| 18 api.step('cros', ['ls', api.depot_tools.cros_path]) | 22 api.step('cros', ['ls', api.depot_tools.cros_path]) |
| 19 | 23 |
| 20 api.step( | 24 api.step( |
| 21 'gn_py_path', ['ls', api.depot_tools.gn_py_path]) | 25 'gn_py_path', ['ls', api.depot_tools.gn_py_path]) |
| 22 | 26 |
| 23 api.step( | 27 api.step( |
| 24 'gsutil_py_path', ['ls', api.depot_tools.gsutil_py_path]) | 28 'gsutil_py_path', ['ls', api.depot_tools.gsutil_py_path]) |
| 25 | 29 |
| 26 api.step( | 30 api.step( |
| 27 'ninja_path', ['ls', api.depot_tools.ninja_path]) | 31 'ninja_path', ['ls', api.depot_tools.ninja_path]) |
| 28 | 32 |
| 29 | 33 |
| 30 | 34 |
| 31 def GenTests(api): | 35 def GenTests(api): |
| 32 yield api.test('basic') | 36 yield api.test('basic') |
| 33 | 37 |
| 34 yield api.test('win') + api.platform('win', 32) | 38 yield api.test('win') + api.platform('win', 32) |
| OLD | NEW |