Chromium Code Reviews| Index: PRESUBMIT.py |
| =================================================================== |
| --- PRESUBMIT.py (revision 113065) |
| +++ PRESUBMIT.py (working copy) |
| @@ -9,6 +9,9 @@ |
| """ |
| +import re |
| + |
| + |
| _EXCLUDED_PATHS = ( |
| r"^breakpad[\\\/].*", |
| r"^net/tools/spdyshark/[\\\/].*", |
| @@ -335,4 +338,8 @@ |
| f.LocalPath().endswith(('.mm', '.m')) for f in change.AffectedFiles()) |
| if only_objc_files: |
| return ['mac'] |
| - return ['win', 'linux', 'mac'] |
| + preferred = ['win', 'linux', 'mac'] |
| + aura_re = '_aura' |
| + if any(re.search(aura_re,f.LocalPath()) for f in change.AffectedFiles()): |
|
oshima
2011/12/06 18:15:19
space after ","
Peter Mayo
2011/12/09 21:45:29
Done.
|
| + preferred.append('linux_aura_compile') |
|
oshima
2011/12/06 18:15:19
If we can affort only compilation test, is it poss
Peter Mayo
2011/12/09 21:45:29
Perhaps one day, but not as a first step given som
oshima
2011/12/09 21:52:56
If it's not straightforward, then nvm. LGTM
|
| + return preferred |