diff options
author | vkuzkokov <vkuzkokov@chromium.org> | 2014-12-16 08:43:20 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-16 16:43:48 +0000 |
commit | da8e8a83a4be29036d35fe05d5ea1b828703b3bc (patch) | |
tree | 54e1449928d2b75744e2cec8ae250eed64964354 /PRESUBMIT.py | |
parent | c8b5b2141f9c99ccae8a595dc07b9c009dc83b4e (diff) | |
download | chromium_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.py | 3 |
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', |