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

Side by Side Diff: tools/presubmit.py

Issue 18309: Support for building V8 with MinGW. This patch is from gdschaefer. In additio... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 11 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
« no previous file with comments | « src/platform-win32.cc ('k') | tools/visual_studio/d8.vcproj » ('j') | 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 #!/usr/bin/env python
2 # 2 #
3 # Copyright 2008 the V8 project authors. All rights reserved. 3 # Copyright 2008 the V8 project authors. All rights reserved.
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 runtime/vlog 76 runtime/vlog
77 whitespace/blank_line 77 whitespace/blank_line
78 whitespace/braces 78 whitespace/braces
79 whitespace/comma 79 whitespace/comma
80 whitespace/comments 80 whitespace/comments
81 whitespace/end_of_line 81 whitespace/end_of_line
82 whitespace/ending_newline 82 whitespace/ending_newline
83 whitespace/indent 83 whitespace/indent
84 whitespace/labels 84 whitespace/labels
85 whitespace/line_length 85 whitespace/line_length
86 whitespace/newline
87 whitespace/operators 86 whitespace/operators
88 whitespace/parens 87 whitespace/parens
89 whitespace/tab 88 whitespace/tab
90 whitespace/todo 89 whitespace/todo
91 """.split() 90 """.split()
92 91
93 92
94 class SourceFileProcessor(object): 93 class SourceFileProcessor(object):
95 """ 94 """
96 Utility class that can run through a directory structure, find all relevant 95 Utility class that can run through a directory structure, find all relevant
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 success = CppLintProcessor().Run(workspace) and success 219 success = CppLintProcessor().Run(workspace) and success
221 success = SourceProcessor().Run(workspace) and success 220 success = SourceProcessor().Run(workspace) and success
222 if success: 221 if success:
223 return 0 222 return 0
224 else: 223 else:
225 return 1 224 return 1
226 225
227 226
228 if __name__ == '__main__': 227 if __name__ == '__main__':
229 sys.exit(Main()) 228 sys.exit(Main())
OLDNEW
« no previous file with comments | « src/platform-win32.cc ('k') | tools/visual_studio/d8.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698