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

Unified Diff: recipe_modules/depot_tools/example.py

Issue 1915833003: tryserver recipe_module: Add get_tags. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Minor things. Created 4 years, 7 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 | « git_footers.py ('k') | recipe_modules/depot_tools/example.expected/basic.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e61785f1046edaec97466580e8b9371a2b1b2786
--- /dev/null
+++ b/recipe_modules/depot_tools/example.py
@@ -0,0 +1,34 @@
+# Copyright 2016 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 = [
+ 'depot_tools',
+ 'recipe_engine/step',
+ 'recipe_engine/path',
+ 'recipe_engine/platform',
+]
+
+
+def RunSteps(api):
+ api.step(
+ 'download_from_google_storage',
+ ['ls', api.depot_tools.download_from_google_storage_path])
+
+ api.step('cros', ['ls', api.depot_tools.cros_path])
+
+ api.step(
+ 'gn_py_path', ['ls', api.depot_tools.gn_py_path])
+
+ api.step(
+ 'gsutil_py_path', ['ls', api.depot_tools.gsutil_py_path])
+
+ api.step(
+ 'ninja_path', ['ls', api.depot_tools.ninja_path])
+
+
+
+def GenTests(api):
+ yield api.test('basic')
+
+ yield api.test('win') + api.platform('win', 32)
« no previous file with comments | « git_footers.py ('k') | recipe_modules/depot_tools/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698