| OLD | NEW |
| 1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2015 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 """Entry point for interacting with depot_tools from recipes.""" | 5 """Entry point for interacting with depot_tools from recipes.""" |
| 6 | 6 |
| 7 from recipe_engine import recipe_api | 7 from recipe_engine import recipe_api |
| 8 | 8 |
| 9 class DepotToolsApi(recipe_api.RecipeApi): | 9 class DepotToolsApi(recipe_api.RecipeApi): |
| 10 @property | 10 @property |
| 11 def gclient_py(self): | 11 def gclient_py(self): |
| 12 return self.package_resource('gclient.py') | 12 return self.package_resource('gclient.py') |
| 13 |
| 14 @property |
| 15 def presubmit_support(self): |
| 16 return self.package_resource('presubmit_support.py') |
| OLD | NEW |