blob: 98844281db0e516ab36825f14a447a47268445eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright 2015 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.
# This file is used by scripts/tools/buildbot-tool to generate master configs.
import os
import master_site_config
# This module comes from scripts/, which must be in the PYTHONPATH.
from master import master_gen
# BuildmasterConfig must be defined; it is how buildbot gets the config
# info for the master.
BuildmasterConfig = {}
master_gen.PopulateBuildmasterConfig(
BuildmasterConfig,
os.path.join(os.path.dirname(os.path.abspath(__file__)), 'builders.pyl'),
master_site_config.%(master_classname)s)
|