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

Side by Side Diff: tools/make_version.py

Issue 2151053002: Add #! lines and +x scripts run by the build system (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/sdk/@master
Patch Set: Add #! lines and +x scripts run by the build system Created 4 years, 5 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
« no previous file with comments | « tools/gypi_to_gn.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python
1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
4 # 5 #
5 # This python script creates a version string in a C++ file. 6 # This python script creates a version string in a C++ file.
6 7
7 import hashlib 8 import hashlib
8 import os 9 import os
9 import sys 10 import sys
10 import time 11 import time
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 return 0 103 return 0
103 except Exception, inst: 104 except Exception, inst:
104 sys.stderr.write('make_version.py exception\n') 105 sys.stderr.write('make_version.py exception\n')
105 sys.stderr.write(str(inst)) 106 sys.stderr.write(str(inst))
106 sys.stderr.write('\n') 107 sys.stderr.write('\n')
107 return -1 108 return -1
108 109
109 if __name__ == '__main__': 110 if __name__ == '__main__':
110 exit_code = main(sys.argv) 111 exit_code = main(sys.argv)
111 sys.exit(exit_code) 112 sys.exit(exit_code)
OLDNEW
« no previous file with comments | « tools/gypi_to_gn.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698