| Index: chrome/browser/PRESUBMIT.py
|
| diff --git a/chrome/browser/PRESUBMIT.py b/chrome/browser/PRESUBMIT.py
|
| index 7230324123f8c5147b8dd7966d8defe7293516d6..143ff1c09d4c2afa15f49928a9084cb084195e75 100644
|
| --- a/chrome/browser/PRESUBMIT.py
|
| +++ b/chrome/browser/PRESUBMIT.py
|
| @@ -31,13 +31,13 @@ def _CommonChecks(input_api, output_api):
|
| webui = path.join(cwd, 'ui', 'webui')
|
|
|
| affected_files = (f.AbsoluteLocalPath() for f in input_api.AffectedFiles())
|
| - would_affect_tests = (
|
| +
|
| + would_affect_tests = [
|
| path.join(cwd, 'PRESUBMIT.py'),
|
| path.join(cwd, 'test_presubmit.py'),
|
| - path.join(cwd, 'web_dev_style', 'css_checker.py'),
|
| - path.join(cwd, 'web_dev_style', 'html_checker.py'),
|
| - path.join(cwd, 'web_dev_style', 'js_checker.py'),
|
| - )
|
| + ]
|
| + would_affect_tests += input_api.glob(path.join(cwd, 'web_dev_style', '*.py'))
|
| +
|
| if any(f for f in affected_files if f in would_affect_tests):
|
| tests = [path.join(cwd, 'test_presubmit.py')]
|
| results.extend(
|
|
|