| Index: PRESUBMIT.py
|
| diff --git a/PRESUBMIT.py b/PRESUBMIT.py
|
| index 8b7999da1e000eb1a98cfc903f8bb6acf88d491e..9440100109296e896ff8107686d34cc3408a7ec4 100644
|
| --- a/PRESUBMIT.py
|
| +++ b/PRESUBMIT.py
|
| @@ -55,6 +55,8 @@ def _CheckSingletonInHeaders(input_api, output_api, source_file_filter):
|
| pattern = input_api.re.compile(r'Singleton<')
|
| files = []
|
| for f in input_api.AffectedSourceFiles(source_file_filter):
|
| + if f.LocalPath().startswith('base/memory/singleton'):
|
| + continue
|
| if (f.LocalPath().endswith('.h') or f.LocalPath().endswith('.hxx') or
|
| f.LocalPath().endswith('.hpp') or f.LocalPath().endswith('.inl')):
|
| contents = input_api.ReadFile(f)
|
|
|