Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Side by Side Diff: remoting/host/installer/linux/build_deb.py

Issue 1426113002: port remoting_me2me_host_archive to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix version and update comments Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved.
Sergey Ulanov 2015/11/03 18:21:37 nit: remove (c)
Dirk Pranke 2015/11/03 21:10:20 Will do.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 """A simple python wrapper so GN can run build-deb.sh."""
6 import os
7 import subprocess
8 import sys
9
10
11 def main():
12 this_dir = os.path.dirname(os.path.abspath(__file__))
13 build_deb_script = os.path.join(this_dir, 'build-deb.sh')
14 proc = subprocess.Popen([build_deb_script] + sys.argv[1:],
15 stdout=subprocess.PIPE)
16 out, _ = proc.communicate()
17 sys.stdout.write(out.strip())
18 return proc.returncode
19
20
21 if __name__ == '__main__':
22 sys.exit(main())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698