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

Side by Side Diff: tools/checkbins/checkbins.py

Issue 345015: Rename checkbin to checkbins (because it checks multiple binaries) and set sv... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | Annotate | Revision Log
« no previous file with comments | « tools/checkbins/checkbins.bat ('k') | tools/checkbins/checkbins.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/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 """Makes sure that all EXE and DLL files in the provided directory were built 6 """Makes sure that all EXE and DLL files in the provided directory were built
7 correctly. 7 correctly.
8 8
9 Currently this tool will check that binaries were built with /NXCOMPAT and 9 Currently this tool will check that binaries were built with /NXCOMPAT and
10 /DYNAMICBASE set. 10 /DYNAMICBASE set.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 if __name__ == '__main__': 56 if __name__ == '__main__':
57 usage = "Usage: %prog [options] DIRECTORY" 57 usage = "Usage: %prog [options] DIRECTORY"
58 option_parser = optparse.OptionParser(usage=usage) 58 option_parser = optparse.OptionParser(usage=usage)
59 option_parser.add_option("-v", "--verbose", action="store_true", 59 option_parser.add_option("-v", "--verbose", action="store_true",
60 default=False, help="Print debug logging") 60 default=False, help="Print debug logging")
61 options, args = option_parser.parse_args() 61 options, args = option_parser.parse_args()
62 if not args: 62 if not args:
63 option_parser.print_help() 63 option_parser.print_help()
64 sys.exit(0) 64 sys.exit(0)
65 main(options, args) 65 main(options, args)
OLDNEW
« no previous file with comments | « tools/checkbins/checkbins.bat ('k') | tools/checkbins/checkbins.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698