| OLD | NEW |
| 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 |
| OLD | NEW |