From 5f5b83bbc24f1dbff484e44b130b182c5bdef4c1 Mon Sep 17 00:00:00 2001 From: Henrik Kjellander Date: Wed, 30 Nov 2016 10:48:42 +0100 Subject: [PATCH] Make Tester bots in chromium.webrtc.fyi sync the right revisions. BUG=chromium:669818 TBR=tandrii@chromium.org Change-Id: Icbefd12bd891c8fdb7b8278083f8b1accb53500c Reviewed-on: https://chromium-review.googlesource.com/414110 Commit-Queue: Henrik Kjellander Reviewed-by: Michael Achenbach --- recipe_modules/gclient/config.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/recipe_modules/gclient/config.py b/recipe_modules/gclient/config.py index c14a86969..570f48c1d 100644 --- a/recipe_modules/gclient/config.py +++ b/recipe_modules/gclient/config.py @@ -394,15 +394,20 @@ def chromium_webrtc(c): @config_ctx(includes=['chromium_webrtc']) def chromium_webrtc_tot(c): - """Configures ToT revisions for WebRTC and Libjingle for Chromium. + """Configures WebRTC ToT revision for Chromium src/third_party/webrtc. - Sets up ToT instead of the DEPS-pinned revision for WebRTC and Libjingle. + Sets up ToT instead of the DEPS-pinned revision for WebRTC. This is used for some bots to provide data about which revisions are green to roll into Chromium. """ c.revisions['src'] = 'HEAD' c.revisions['src/third_party/webrtc'] = 'HEAD' + # Needed to get the testers to properly sync the right revision. + c.parent_got_revision_mapping['parent_got_revision'] = 'got_revision' + c.parent_got_revision_mapping['parent_got_webrtc_revision'] = ( + 'got_webrtc_revision') + @config_ctx() def webrtc_test_resources(c): """Add webrtc.DEPS solution for test resources and tools.