| Index: components/sync_driver/PRESUBMIT.py
|
| diff --git a/blimp/PRESUBMIT.py b/components/sync_driver/PRESUBMIT.py
|
| similarity index 78%
|
| copy from blimp/PRESUBMIT.py
|
| copy to components/sync_driver/PRESUBMIT.py
|
| index ae90d459bc91a181eb154ae1f6652b91c5eb80a5..20db5fcceaf23d708c1cd08217586cf56458c26b 100644
|
| --- a/blimp/PRESUBMIT.py
|
| +++ b/components/sync_driver/PRESUBMIT.py
|
| @@ -2,7 +2,7 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -"""Top-level presubmit script for blimp.
|
| +"""Top-level presubmit script for the sync_driver component.
|
|
|
| See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
|
| for more details about the presubmit API built into depot_tools.
|
| @@ -10,11 +10,11 @@ for more details about the presubmit API built into depot_tools.
|
|
|
| import re
|
|
|
| -BLIMP_SOURCE_FILES=(r'^blimp[\\/].*\.(cc|h)$',)
|
| +SYNC_DRIVER_SOURCE_FILES=(r'^components[\\/]sync_driver[\\/].*\.(cc|h)$',)
|
|
|
| def CheckChangeLintsClean(input_api, output_api):
|
| source_filter = lambda x: input_api.FilterSourceFile(
|
| - x, white_list=BLIMP_SOURCE_FILES, black_list=None)
|
| + x, white_list=SYNC_DRIVER_SOURCE_FILES, black_list=None)
|
|
|
| return input_api.canned_checks.CheckChangeLintsClean(
|
| input_api, output_api, source_filter, lint_filters=[], verbose_level=1)
|
|
|