| Index: remoting/host/installer/linux/build_deb.py
|
| diff --git a/remoting/host/installer/linux/build_deb.py b/remoting/host/installer/linux/build_deb.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3be7c421815811a34ba22b2e3418e1e6b7e1aac1
|
| --- /dev/null
|
| +++ b/remoting/host/installer/linux/build_deb.py
|
| @@ -0,0 +1,22 @@
|
| +# Copyright 2015 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +"""A simple python wrapper so GN can run build-deb.sh."""
|
| +import os
|
| +import subprocess
|
| +import sys
|
| +
|
| +
|
| +def main():
|
| + this_dir = os.path.dirname(os.path.abspath(__file__))
|
| + build_deb_script = os.path.join(this_dir, 'build-deb.sh')
|
| + proc = subprocess.Popen([build_deb_script] + sys.argv[1:],
|
| + stdout=subprocess.PIPE)
|
| + out, _ = proc.communicate()
|
| + sys.stdout.write(out.strip())
|
| + return proc.returncode
|
| +
|
| +
|
| +if __name__ == '__main__':
|
| + sys.exit(main())
|
|
|