summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
authorvkuzkokov <vkuzkokov@chromium.org>2014-12-16 08:43:20 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-16 16:43:48 +0000
commitda8e8a83a4be29036d35fe05d5ea1b828703b3bc (patch)
tree54e1449928d2b75744e2cec8ae250eed64964354 /PRESUBMIT.py
parentc8b5b2141f9c99ccae8a595dc07b9c009dc83b4e (diff)
downloadchromium_src-da8e8a83a4be29036d35fe05d5ea1b828703b3bc.zip
chromium_src-da8e8a83a4be29036d35fe05d5ea1b828703b3bc.tar.gz
chromium_src-da8e8a83a4be29036d35fe05d5ea1b828703b3bc.tar.bz2
Adjust "git cl try" to not consider remote devtools sources as android-specific.
There are several files in src/chrome/browser/devtools/device that have "android" in their name although they are meant to be built on desktop platforms. BUG= Review URL: https://codereview.chromium.org/811833002 Cr-Commit-Position: refs/heads/master@{#308597}
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r--PRESUBMIT.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 21f96ec..d30afc3 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -1775,7 +1775,8 @@ def GetPreferredTryMasters(project, change):
'win_chromium_rel_ng',
'win_chromium_x64_rel_ng',
])
- if all(re.search(r'(^|[\\\/_])android[\\\/_.]', f) for f in files):
+ if all(re.search(r'(^|[\\\/_])android[\\\/_.]', f) and
+ not re.search(r'(^|[\\\/_])devtools[\\\/_.]', f) for f in files):
return GetDefaultTryConfigs([
'android_aosp',
'android_dbg_tests_recipe',