| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 was generated from | 5 # This file was generated from |
| 6 # scripts/tools/buildbot_tool_templates/buildbot.tac | 6 # scripts/tools/buildbot_tool_templates/buildbot.tac |
| 7 # by "../../build/scripts/tools/buildbot-tool gen .". | 7 # by "../../build/scripts/tools/buildbot-tool gen .". |
| 8 # DO NOT EDIT BY HAND! | 8 # DO NOT EDIT BY HAND! |
| 9 | 9 |
| 10 | 10 |
| 11 import os | 11 import os |
| 12 | 12 |
| 13 from twisted.application import service | 13 from twisted.application import service |
| 14 from buildbot.master import BuildMaster | 14 from buildbot.master import BuildMaster |
| 15 | 15 |
| 16 basedir = os.path.dirname(os.path.abspath(__file__)) | 16 basedir = os.path.dirname(os.path.abspath(__file__)) |
| 17 configfile = 'master.cfg' | 17 configfile = 'master.cfg' |
| 18 | 18 |
| 19 application = service.Application('buildmaster') | 19 application = service.Application('buildmaster') |
| 20 BuildMaster(basedir, configfile).setServiceParent(application) | 20 BuildMaster(basedir, configfile).setServiceParent(application) |
| OLD | NEW |