depot_tools: use ninja.exe instead of just ninja on Windows

BUG=437264

Review URL: https://codereview.chromium.org/1778243008

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299267 0039d316-1c4b-4281-b951-d872f2087c98
parent f3874aff
......@@ -11,4 +11,5 @@ class DepotToolsApi(recipe_api.RecipeApi):
@property
def ninja_path(self):
return self.package_repo_resource('ninja')
ninja_exe = 'ninja.exe' if self.m.platform.is_win else 'ninja'
return self.package_repo_resource(ninja_exe)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment