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

Side by Side Diff: scripts/slave/recipe_modules/perf_dashboard/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 7 from recipe_engine.config import config_item_context, ConfigGroup
8 from slave.recipe_config import Single 8 from recipe_engine.config import Single
9 9
10 def BaseConfig(**_kwargs): 10 def BaseConfig(**_kwargs):
11 return ConfigGroup( 11 return ConfigGroup(
12 url = Single(basestring) 12 url = Single(basestring)
13 ) 13 )
14 14
15 config_ctx = config_item_context(BaseConfig, {}, 'basic') 15 config_ctx = config_item_context(BaseConfig, {}, 'basic')
16 16
17 @config_ctx() 17 @config_ctx()
18 def production(c): 18 def production(c):
19 c.url = "https://chromeperf.appspot.com" 19 c.url = "https://chromeperf.appspot.com"
20 20
21 @config_ctx() 21 @config_ctx()
22 def testing(c): 22 def testing(c):
23 c.url = "https://chrome-perf.googleplex.com" 23 c.url = "https://chrome-perf.googleplex.com"
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/perf_dashboard/api.py ('k') | scripts/slave/recipe_modules/pgo/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698