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

Unified Diff: scripts/slave/recipe_modules/example/api.py

Issue 1241323004: Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Roll to latest recipes-py Created 5 years, 3 months 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
« no previous file with comments | « scripts/slave/recipe_modules/example/__init__.py ('k') | scripts/slave/recipe_modules/file/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/example/api.py
diff --git a/scripts/slave/recipe_modules/example/api.py b/scripts/slave/recipe_modules/example/api.py
deleted file mode 100644
index 585f7339b98426c9b1921a50e23d64df205cfe9a..0000000000000000000000000000000000000000
--- a/scripts/slave/recipe_modules/example/api.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 2015 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 recipe_engine import recipe_api
-
-class ExampleApi(recipe_api.RecipeApi):
- """ExampleApi provides support for the example/* recipes."""
-
- def __call__(self, name):
- return self.m.step(name, ['true'])
-
- @recipe_api.non_step
- def explicit_non_composite_step(self):
- # normally this would count as a composite step, since it runs substeps.
- # However we want these steps to actually run in the parent context
- # (for some reason), so we mark the function as not a step.
- self("bogus")
- self("steps")
« no previous file with comments | « scripts/slave/recipe_modules/example/__init__.py ('k') | scripts/slave/recipe_modules/file/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698