Fix path to AppRTC/collider on Windows

Bug: webrtc:7602
No-Try: True
Change-Id: I4d8f254e1316481f35638a1a2882275dfec2b5c1
Reviewed-on: https://webrtc-review.googlesource.com/66860
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22735}
This commit is contained in:
Oleh Prypin
2018-04-04 16:22:01 +02:00
committed by Commit Bot
parent 448f4d50dc
commit 172a563442
2 changed files with 10 additions and 8 deletions

View File

@ -118,3 +118,7 @@ def GetPlatform():
if sys.platform.startswith('darwin'):
return 'mac'
raise Exception("Can't run on platform %s." % sys.platform)
def GetExecutableExtension():
return '.exe' if GetPlatform() == 'win' else ''