| Index: components/sync_bookmarks/PRESUBMIT.py
|
| diff --git a/components/sync_bookmarks/PRESUBMIT.py b/components/sync_bookmarks/PRESUBMIT.py
|
| index 33378623fd64e29efa4da0858d449b9f1c54f4ae..db47db9aea4469c7bc6efa9953fe15e4f16e2515 100644
|
| --- a/components/sync_bookmarks/PRESUBMIT.py
|
| +++ b/components/sync_bookmarks/PRESUBMIT.py
|
| @@ -13,11 +13,16 @@ import re
|
| SYNC_BOOKMARKS_SOURCE_FILES = (
|
| r'^components[\\/]sync_bookmarks[\\/].*\.(cc|h)$',)
|
|
|
| +# The wrapper around lint that is called below disables a set of filters if the
|
| +# passed filter evaluates to false. Pass a junk filter to avoid this behavior.
|
| +LINT_FILTERS = ['+fake/filter']
|
| +
|
| def CheckChangeLintsClean(input_api, output_api):
|
| source_filter = lambda x: input_api.FilterSourceFile(
|
| x, white_list=SYNC_BOOKMARKS_SOURCE_FILES, black_list=None)
|
| return input_api.canned_checks.CheckChangeLintsClean(
|
| - input_api, output_api, source_filter, lint_filters=[], verbose_level=1)
|
| + input_api, output_api, source_filter, lint_filters=LINT_FILTERS,
|
| + verbose_level=1)
|
|
|
| def CheckChanges(input_api, output_api):
|
| results = []
|
|
|