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

Side by Side Diff: scripts/slave/recipes/run_presubmit.py

Issue 17635005: Make blink_trybot recipe work on windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Address comments Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 = ['properties', 'gclient', 'git', 'rietveld', 'step', 'path'] 5 DEPS = [
6 'gclient',
7 'git',
8 'path',
9 'properties',
10 'rietveld',
11 'step',
12 ]
6 13
7 def GenSteps(api): 14 def GenSteps(api):
8 root = api.properties.get('root', '') 15 root = api.properties.get('root', '')
9 # FIXME: Rietveld passes the blink path as src/third_party/WebKit 16 # FIXME: Rietveld passes the blink path as src/third_party/WebKit
10 # so we have to strip the src bit off before passing to 17 # so we have to strip the src bit off before passing to
11 # api.path.checkout. :( 18 # api.path.checkout. :(
12 if root.startswith('src'): 19 if root.startswith('src'):
13 root = root[3:].lstrip('/') 20 root = root[3:].lstrip('/')
14 21
15 # FIXME: Remove the blink_bare repository type. 22 # FIXME: Remove the blink_bare repository type.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 props = api.properties_tryserver( 59 props = api.properties_tryserver(
53 root='src/third_party/WebKit' 60 root='src/third_party/WebKit'
54 ) 61 )
55 else: 62 else:
56 props = api.properties_tryserver() 63 props = api.properties_tryserver()
57 64
58 props['repo_name'] = repo_name 65 props['repo_name'] = repo_name
59 yield repo_name, { 66 yield repo_name, {
60 'properties': props 67 'properties': props
61 } 68 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698