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

Unified Diff: tools/presubmit.py

Issue 3082: Rename flags.defs to flag-definitions.h.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 12 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/flags.defs ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/presubmit.py
===================================================================
--- tools/presubmit.py (revision 318)
+++ tools/presubmit.py (working copy)
@@ -134,6 +134,12 @@
return (super(CppLintProcessor, self).IgnoreDir(name)
or (name == 'third_party'))
+ IGNORE_LINT = ['flag-definitions.h']
+
+ def IgnoreFile(self, name):
+ return (super(CppLintProcessor, self).IgnoreFile(name)
+ or (name in CppLintProcessor.IGNORE_LINT))
+
def GetPathsToSearch(self):
return ['src', 'public', 'samples', join('test', 'cctest')]
@@ -168,7 +174,8 @@
or (name == 'third_party')
or (name == 'obj'))
- IGNORE_COPYRIGHTS = ['earley-boyer.js', 'raytrace.js', 'crypto.js']
+ IGNORE_COPYRIGHTS = ['earley-boyer.js', 'raytrace.js', 'crypto.js',
+ 'libraries.cc', 'libraries-empty.cc']
IGNORE_TABS = IGNORE_COPYRIGHTS + ['unicode-test.js',
'html-comments.js']
« no previous file with comments | « src/flags.defs ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698