OLD | NEW |
---|---|
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 from recipe_engine import recipe_api | 5 from recipe_engine import recipe_api |
6 | 6 |
7 class DepotToolsApi(recipe_api.RecipeApi): | 7 class DepotToolsApi(recipe_api.RecipeApi): |
8 @property | 8 @property |
9 def download_from_google_storage_path(self): | 9 def download_from_google_storage_path(self): |
10 return self.package_repo_resource('download_from_google_storage.py') | 10 return self.package_repo_resource('download_from_google_storage.py') |
11 | |
12 @property | |
13 def ninja_path(self): | |
14 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
| |
OLD | NEW |