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

Side by Side Diff: chrome/installer/mini_installer/generate_next_version_mini_installer.py

Issue 1902233003: Add next_version_mini_installer target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: self review Created 4 years, 8 months 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 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 """Generates a mini_installer with a higher version than an existing one."""
6
7 import optparse
zmin 2016/04/26 19:54:58 Because optparse is deprecated in 2.7(https://docs
grt (UTC plus 2) 2016/04/26 20:41:10 https://crrev.com/220396! :-) argparse is indeed
fdoray 2016/04/27 15:35:39 Done.
8 import subprocess
9 import sys
10
11
12 def main():
13 parser = optparse.OptionParser()
14 parser.add_option('--out', help='Path to the generated mini_installer.')
15 options, args = parser.parse_args()
16 assert not args
17
18 return subprocess.call([
19 'alternate_version_generator.exe',
20 '--force',
21 '--out=' + options.out,
22 ])
23
24
25 if '__main__' == __name__:
26 sys.exit(main())
OLDNEW
« no previous file with comments | « chrome/installer/mini_installer/BUILD.gn ('k') | chrome/installer/test/alternate_version_generator_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698