blob: e41553a07c2ea5c9406faed7dd0c7895218ca276 [file] [log] [blame]
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Library for loading / using build configuration.
*** UPDATE NOTICE ***
Not finding what you're expecting here? Please see generate_chromeos_config.py
for Chrome OS build configuration.
"""
from __future__ import print_function
from chromite.cbuildbot import config_lib
from chromite.cbuildbot import generate_chromeos_config
from chromite.lib import factory
@factory.CachedFunctionCall
def GetConfig():
"""Fetch the global cbuildbot config."""
return config_lib.CreateConfigFromFile(generate_chromeos_config.CONFIG_FILE)