Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1548)

Unified Diff: scripts/tools/buildbot_tool_templates/buildbot

Issue 761253003: Add a new buildbot-tool generator for master configs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: add buildbot-tool, turn files into actual templates Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/tools/buildbot_tool_templates/buildbot
diff --git a/scripts/slave/recipe_modules/libyuv/api.py b/scripts/tools/buildbot_tool_templates/buildbot
similarity index 52%
copy from scripts/slave/recipe_modules/libyuv/api.py
copy to scripts/tools/buildbot_tool_templates/buildbot
index 3035fd6c2616c76723e3c700425b5ae83281fa44..67024a237935862f2fb83c87be0acae555c942f0 100644
--- a/scripts/slave/recipe_modules/libyuv/api.py
+++ b/scripts/tools/buildbot_tool_templates/buildbot
@@ -1,9 +1,9 @@
+#!/usr/bin/python
# Copyright 2014 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.
-from slave import recipe_api
+# This file is used by scripts/tools/buildbot-tool to generate master configs.
-class LibyuvApi(recipe_api.RecipeApi):
- def __init__(self, **kwargs):
- super(LibyuvApi, self).__init__(**kwargs)
+from buildbot.scripts import runner
+runner.run()

Powered by Google App Engine
This is Rietveld 408576698