blob: 68df8ee36c30187c33a68ed9ac04b6234dd040c2 [file] [log] [blame]
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import types
from recipe_engine.config import config_item_context, ConfigGroup
from recipe_engine.config import Single
def BaseConfig(**_kwargs):
return ConfigGroup(url=Single(basestring))
config_ctx = config_item_context(BaseConfig)
@config_ctx()
def production(c):
c.url = "https://chromeperf.appspot.com"
@config_ctx()
def testing(c):
c.url = "https://chrome-perf.googleplex.com"