OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # This file is used by scripts/tools/buildbot-tool to generate master configs. | 5 # This file is used by scripts/tools/buildbot-tool to generate master configs. |
6 | 6 |
7 import os | 7 import os |
8 | 8 |
9 import master_site_config | 9 import master_site_config |
10 | 10 |
11 # This module comes from scripts/, which must be in the PYTHONPATH. | 11 # This module comes from scripts/, which must be in the PYTHONPATH. |
12 from master import master_gen | 12 from master import master_gen |
13 | 13 |
14 # BuildmasterConfig must be defined; it is how buildbot gets the config | 14 # BuildmasterConfig must be defined; it is how buildbot gets the config |
15 # info for the master. | 15 # info for the master. |
16 | 16 |
17 BuildmasterConfig = {} | 17 BuildmasterConfig = {} |
18 | 18 |
19 master_gen.PopulateBuildmasterConfig( | 19 master_gen.PopulateBuildmasterConfig( |
20 BuildmasterConfig, | 20 BuildmasterConfig, |
21 os.path.join(os.path.dirname(os.path.abspath(__file__)), 'builders.pyl'), | 21 os.path.join(os.path.dirname(os.path.abspath(__file__)), 'builders.pyl'), |
22 master_site_config.%(master_classname)s) | 22 master_site_config.%(master_classname)s) |
OLD | NEW |