Make WebRTC patches apply to Chromium checkouts on Windows.

The change in https://codereview.chromium.org/1982243002
didn't take into account that the script runs on the actual
bot OS, so Windows will have backslashes as dir separators.

BUG=438952

Review-Url: https://codereview.chromium.org/2021783003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300672 0039d316-1c4b-4281-b951-d872f2087c98
parent 27a6f9a5
......@@ -1127,7 +1127,7 @@ def apply_rietveld_issue(issue, patchset, root, server, _rev_map, _revision,
cmd.extend(['--blacklist', item])
# TODO(kjellander): Remove this hack when http://crbug.com/611808 is fixed.
if root == 'src/third_party/webrtc':
if root == path.join('src', 'third_party', 'webrtc'):
cmd.extend(['--extra_patchlevel=1'])
# Only try once, since subsequent failures hide the real failure.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment