Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(460)

Side by Side Diff: recipe_modules/infra_paths/example.py

Issue 1917263002: Revert of depot_tools: add infra_paths recipe module for infra-specific paths (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 DEPS = [
6 'infra_paths',
7 'recipe_engine/platform',
8 'recipe_engine/properties',
9 'recipe_engine/step',
10 ]
11
12 from recipe_engine.config_types import Path
13
14 def RunSteps(api):
15 api.step('step', [], cwd=api.infra_paths['slave_build'])
16
17
18 def GenTests(api):
19 for platform in ('linux', 'win', 'mac'):
20 yield (api.test(platform) + api.platform.name(platform))
21
22 yield (api.test('%s_kitchen' % platform) +
23 api.platform.name(platform) +
24 api.properties(path_config='kitchen'))
OLDNEW
« no previous file with comments | « recipe_modules/infra_paths/config.py ('k') | recipe_modules/infra_paths/example.expected/linux.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698