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

Side by Side Diff: build/util/version.py

Issue 165893002: Moving version script and gypi file to build\util. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Found the goof... tools -> util... :-/ Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """ 6 """
7 version.py -- Chromium version string substitution utility. 7 version.py -- Chromium version string substitution utility.
8 """ 8 """
9 9
10 import getopt 10 import getopt
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 if out_file: 188 if out_file:
189 write_if_changed(out_file, contents) 189 write_if_changed(out_file, contents)
190 else: 190 else:
191 print contents 191 print contents
192 192
193 return 0 193 return 0
194 194
195 195
196 if __name__ == '__main__': 196 if __name__ == '__main__':
197 sys.exit(main()) 197 sys.exit(main())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698