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'] |
M-A Ruel
2011/12/09 21:51:40
Note that it'll conflict with a CL from thakis whe
|
+ aura_re = '_aura[^/]*[.][^/]*' |
+ if any(re.search(aura_re, f.LocalPath()) for f in change.AffectedFiles()): |
+ preferred.append('linux_aura:compile') |
+ return preferred |