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

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

Issue 2269263002: Make all the rest of the recipes explicitly specify GIT_MODE (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebase Created 4 years, 4 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
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 'chromium', 6 'chromium',
7 'depot_tools/bot_update', 7 'depot_tools/bot_update',
8 'depot_tools/gclient', 8 'depot_tools/gclient',
9 'recipe_engine/path', 9 'recipe_engine/path',
10 'recipe_engine/properties', 10 'recipe_engine/properties',
11 'recipe_engine/python', 11 'recipe_engine/python',
12 ] 12 ]
13 13
14 14
15 def RunSteps(api): 15 def RunSteps(api):
16 api.gclient.set_config('gyp') 16 api.gclient.set_config('gyp', GIT_MODE=True)
17 17
18 api.bot_update.ensure_checkout(force=True) 18 api.bot_update.ensure_checkout(force=True)
19 19
20 api.python('run tests', 20 api.python('run tests',
21 api.path['checkout'].join('gyptest.py'), ['-a'], 21 api.path['checkout'].join('gyptest.py'), ['-a'],
22 cwd=api.path['checkout']) 22 cwd=api.path['checkout'])
23 23
24 24
25 def GenTests(api): 25 def GenTests(api):
26 yield(api.test('fake_test') + 26 yield(api.test('fake_test') +
27 api.properties.generic(mastername='fake_mastername', 27 api.properties.generic(mastername='fake_mastername',
28 buildername='fake_buildername')) 28 buildername='fake_buildername'))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698