| 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 |
| 10 |
| 9 # This module comes from scripts/, which must be in the PYTHONPATH. | 11 # This module comes from scripts/, which must be in the PYTHONPATH. |
| 10 from master import master_gen | 12 from master import master_gen |
| 11 | 13 |
| 12 # BuildmasterConfig must be defined; it is how buildbot gets the config | 14 # BuildmasterConfig must be defined; it is how buildbot gets the config |
| 13 # info for the master. | 15 # info for the master. |
| 14 | 16 |
| 15 BuildmasterConfig = {} | 17 BuildmasterConfig = {} |
| 16 | 18 |
| 17 master_gen.PopulateBuildmasterConfig( | 19 master_gen.PopulateBuildmasterConfig( |
| 18 BuildmasterConfig, | 20 BuildmasterConfig, |
| 19 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) |
| OLD | NEW |