Make presubmit check happier with GYP.

R=jkummerow@chromium.org

Review URL: http://codereview.chromium.org/7598034

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8867 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
vitalyr@chromium.org 2011-08-09 13:45:54 +00:00
parent df91f6b396
commit c02bc26a5a

View File

@ -248,12 +248,19 @@ class SourceProcessor(SourceFileProcessor):
def IgnoreDir(self, name): def IgnoreDir(self, name):
return (super(SourceProcessor, self).IgnoreDir(name) return (super(SourceProcessor, self).IgnoreDir(name)
or (name == 'third_party') or (name == 'third_party')
or (name == 'gyp')
or (name == 'out')
or (name == 'obj')) or (name == 'obj'))
IGNORE_COPYRIGHTS = ['earley-boyer.js', 'raytrace.js', 'crypto.js', IGNORE_COPYRIGHTS = ['cpplint.py',
'libraries.cc', 'libraries-empty.cc', 'jsmin.py', 'regexp-pcre.js'] 'earley-boyer.js',
IGNORE_TABS = IGNORE_COPYRIGHTS + ['unicode-test.js', 'raytrace.js',
'html-comments.js'] 'crypto.js',
'libraries.cc',
'libraries-empty.cc',
'jsmin.py',
'regexp-pcre.js']
IGNORE_TABS = IGNORE_COPYRIGHTS + ['unicode-test.js', 'html-comments.js']
def ProcessContents(self, name, contents): def ProcessContents(self, name, contents):
result = True result = True