Index: PRESUBMIT.py |
=================================================================== |
--- PRESUBMIT.py (revision 114469) |
+++ PRESUBMIT.py (working copy) |
@@ -9,6 +9,9 @@ |
""" |
+import re |
M-A Ruel
2012/02/06 20:23:05
FTR, I would have preferred this import to be func
|
+ |
+ |
_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_rel'] |
- return ['win_rel', 'linux_rel', 'mac_rel'] |
+ preferred = ['win_rel', 'linux_rel', 'mac_rel'] |
+ aura_re = '_aura[^/]*[.][^/]*' |
+ if any(re.search(aura_re, f.LocalPath()) for f in change.AffectedFiles()): |
+ preferred.append('linux_aura:compile') |
+ return preferred |