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

Unified Diff: recipe_modules/depot_tools/example.py

Issue 1494103004: Set up depot_tools as a recipe package, and add depot_tools recipe module. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 5 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: recipe_modules/depot_tools/example.py
diff --git a/recipe_modules/depot_tools/example.py b/recipe_modules/depot_tools/example.py
new file mode 100644
index 0000000000000000000000000000000000000000..4afa8e8ee7c01611eea5430343e73c2a5c6de40e
--- /dev/null
+++ b/recipe_modules/depot_tools/example.py
@@ -0,0 +1,14 @@
+# Copyright (c) 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.
+
+DEPS = [
+ 'recipe_engine/python',
+ 'depot_tools',
+]
+
+def RunSteps(api):
+ api.python('gclient help', api.depot_tools.gclient_py, ['--help'])
+
+def GenTests(api):
+ yield api.test('basic')

Powered by Google App Engine
This is Rietveld 408576698