blob: eb9be970952e928d9ce236a5ec664cdf551cb259 [file] [log] [blame]
# Copyright 2016 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.
from recipe_engine.config import config_item_context, ConfigGroup, Single
def BaseConfig(**_kwargs):
return ConfigGroup(
test_results_server = Single(basestring))
config_ctx = config_item_context(BaseConfig)
def BASE(_):
def no_server(c):
c.test_results_server = None
def public_server(c):
c.test_results_server = ''
def staging_server(c):
c.test_results_server = ''