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

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

Issue 1151423002: Move recipe engine to third_party/recipe_engine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Moved field_composer_test with its buddies Created 5 years, 6 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 import types 5 import types
6 6
7 from slave.recipe_config import config_item_context, ConfigGroup, Single 7 from recipe_engine.config import config_item_context, ConfigGroup, Single
8 from slave.recipe_config_types import Path 8 from recipe_engine.config_types import Path
9 from . import api as syzygy_api 9 from . import api as syzygy_api
10 10
11 11
12 def BaseConfig(**dummy_kwargs): 12 def BaseConfig(**dummy_kwargs):
13 return ConfigGroup( 13 return ConfigGroup(
14 official_build = Single(bool, empty_val=False, required=False), 14 official_build = Single(bool, empty_val=False, required=False),
15 unittests_gypi = Single(Path, required=False), 15 unittests_gypi = Single(Path, required=False),
16 version_file = Single(Path, required=False), 16 version_file = Single(Path, required=False),
17 ) 17 )
18 18
(...skipping 18 matching lines...) Expand all
37 c.official_build = True 37 c.official_build = True
38 c.unittests_gypi = Path('[CHECKOUT]', 'syzygy', 'unittests.gypi') 38 c.unittests_gypi = Path('[CHECKOUT]', 'syzygy', 'unittests.gypi')
39 c.version_file = Path('[CHECKOUT]', 'syzygy', 'SYZYGY_VERSION') 39 c.version_file = Path('[CHECKOUT]', 'syzygy', 'SYZYGY_VERSION')
40 40
41 41
42 @config_ctx() 42 @config_ctx()
43 def kasko_official(c): 43 def kasko_official(c):
44 c.official_build = True 44 c.official_build = True
45 c.unittests_gypi = Path('[CHECKOUT]', 'syzygy', 'kasko', 'unittests.gypi') 45 c.unittests_gypi = Path('[CHECKOUT]', 'syzygy', 'kasko', 'unittests.gypi')
46 c.version_file = Path('[CHECKOUT]', 'syzygy', 'kasko', 'VERSION') 46 c.version_file = Path('[CHECKOUT]', 'syzygy', 'kasko', 'VERSION')
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/syzygy/chromium_config.py ('k') | scripts/slave/recipe_modules/syzygy/test_api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698