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

Side by Side Diff: scripts/slave/recipe_modules/syzygy/gclient_config.py

Issue 1111413005: Some changes to allow recipes and modules to live noncentrally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Review comments Created 5 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 from RECIPE_MODULES.gclient import CONFIG_CTX 5 import DEPS
6 CONFIG_CTX = DEPS['gclient'].CONFIG_CTX
6 7
7 8
8 @CONFIG_CTX() 9 @CONFIG_CTX()
9 def syzygy(c): 10 def syzygy(c):
10 # A syzygy configuration for the gclient module. 11 # A syzygy configuration for the gclient module.
11 c.got_revision_mapping['src'] = 'got_revision' 12 c.got_revision_mapping['src'] = 'got_revision'
12 c.delete_unversioned_trees = True 13 c.delete_unversioned_trees = True
13 14
14 # Configure the checkout of the Syzygy repository. 15 # Configure the checkout of the Syzygy repository.
15 s = c.solutions.add() 16 s = c.solutions.add()
16 s.name = 'src' 17 s.name = 'src'
17 s.url = 'https://github.com/google/syzygy.git' 18 s.url = 'https://github.com/google/syzygy.git'
18 s.deps_file = 'DEPS.syzygy' 19 s.deps_file = 'DEPS.syzygy'
19 s.managed = False 20 s.managed = False
20 21
21 # Configure the src-internal checkout. 22 # Configure the src-internal checkout.
22 s = c.solutions.add() 23 s = c.solutions.add()
23 s.name = 'src-internal' 24 s.name = 'src-internal'
24 s.url = 'svn://svn.chromium.org/chrome-internal/trunk/syzygy/internal.DEPS' 25 s.url = 'svn://svn.chromium.org/chrome-internal/trunk/syzygy/internal.DEPS'
25 s.managed = False 26 s.managed = False
26 27
27 28
28 @CONFIG_CTX(includes=['syzygy']) 29 @CONFIG_CTX(includes=['syzygy'])
29 def syzygy_official(dummy_c): 30 def syzygy_official(dummy_c):
30 pass 31 pass
31 32
32 @CONFIG_CTX(includes=['syzygy']) 33 @CONFIG_CTX(includes=['syzygy'])
33 def kasko_official(dummy_c): 34 def kasko_official(dummy_c):
34 pass 35 pass
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/syzygy/config.py ('k') | scripts/slave/recipe_modules/test_utils/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698