full.py 1.21 KB
Newer Older
1 2 3 4 5 6 7 8
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

DEPS = [
  'depot_tools',
  'recipe_engine/path',
  'recipe_engine/platform',
9 10
  'recipe_engine/runtime',
  'recipe_engine/step',
11 12 13 14
]


def RunSteps(api):
15 16
  api.step('root', ['ls', api.depot_tools.root])

17 18 19 20
  api.step(
      'download_from_google_storage',
      ['ls', api.depot_tools.download_from_google_storage_path])

21 22 23 24
  api.step(
      'upload_to_google_storage',
      ['ls', api.depot_tools.upload_to_google_storage_path])

25 26 27 28 29 30 31 32 33 34 35
  api.step('cros', ['ls', api.depot_tools.cros_path])

  api.step(
      'gn_py_path', ['ls', api.depot_tools.gn_py_path])

  api.step(
      'gsutil_py_path', ['ls', api.depot_tools.gsutil_py_path])

  api.step(
      'ninja_path', ['ls', api.depot_tools.ninja_path])

36 37 38
  api.step(
      'presubmit_support_py_path',
      ['ls', api.depot_tools.presubmit_support_py_path])
39

40 41 42
  with api.depot_tools.on_path():
    api.step('on_path', ['echo', '$PATH'])

43 44 45 46

def GenTests(api):
  yield api.test('basic')

47 48 49 50 51
  yield (
    api.test('basic_luci')
    + api.runtime(is_experimental=False, is_luci=True)
  )

52
  yield api.test('win') + api.platform('win', 32)