| Index: tools/presubmit.py
|
| diff --git a/tools/presubmit.py b/tools/presubmit.py
|
| index 1ab63477745846c7f8926efa0106b06caadd1fd5..9f4834c2190981b57e19df834fa2d3b4900a380b 100755
|
| --- a/tools/presubmit.py
|
| +++ b/tools/presubmit.py
|
| @@ -191,7 +191,8 @@ class SourceFileProcessor(object):
|
| return True
|
|
|
| def IgnoreDir(self, name):
|
| - return name.startswith('.') or name == 'data' or name == 'sputniktests'
|
| + return (name.startswith('.') or
|
| + name in ('data', 'kraken', 'octane', 'sunspider'))
|
|
|
| def IgnoreFile(self, name):
|
| return name.startswith('.')
|
| @@ -312,12 +313,8 @@ class SourceProcessor(SourceFileProcessor):
|
| return ['.']
|
|
|
| def IgnoreDir(self, name):
|
| - return (super(SourceProcessor, self).IgnoreDir(name)
|
| - or (name == 'third_party')
|
| - or (name == 'gyp')
|
| - or (name == 'out')
|
| - or (name == 'obj')
|
| - or (name == 'DerivedSources'))
|
| + return (super(SourceProcessor, self).IgnoreDir(name) or
|
| + name in ('third_party', 'gyp', 'out', 'obj', 'DerivedSources'))
|
|
|
| IGNORE_COPYRIGHTS = ['cpplint.py',
|
| 'daemon.py',
|
|
|