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

Unified Diff: recipe_modules/depot_tools/api.py

Issue 1787633003: depot_tools: expose location of ninja (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/depot_tools/api.py
diff --git a/recipe_modules/depot_tools/api.py b/recipe_modules/depot_tools/api.py
index 7ee9e059024daaeb2712c09034cf9e0f2f8224d7..8dfc8a11b8c9932e443476998a03aa06f7845487 100644
--- a/recipe_modules/depot_tools/api.py
+++ b/recipe_modules/depot_tools/api.py
@@ -8,3 +8,7 @@ class DepotToolsApi(recipe_api.RecipeApi):
@property
def download_from_google_storage_path(self):
return self.package_repo_resource('download_from_google_storage.py')
+
+ @property
+ def ninja_path(self):
+ return self.package_repo_resource('ninja')
iannucci 2016/03/12 01:31:59 what about windows? Does this need to be ninja.exe
Paweł Hajdan Jr. 2016/03/12 01:36:46 I tested on my Windows machine and ninja works. Cu
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698