| OLD | NEW |
| (Empty) | |
| 1 #!/usr/bin/env python |
| 2 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. |
| 5 |
| 6 from os import path as os_path |
| 7 import platform |
| 8 |
| 9 |
| 10 def GetBinaryPath(): |
| 11 return os_path.join(os_path.dirname(__file__), *{ |
| 12 'Darwin': ('mac', 'node-darwin-x64', 'bin', 'node'), |
| 13 'Linux': ('linux', 'node-linux-x64', 'bin', 'node'), |
| 14 'Windows': ('win', 'node.exe'), |
| 15 }[platform.system()]) |
| OLD | NEW |