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