For historical reasons these two projects are related to each other but as of today there is no need for https://cs.chromium.org/chromium/src/third_party/libjingle_xmpp/ to depend on WebRTC.
The dependencies are almost only on rtc_base stuff, like RTC_CHECK and RTC_LOG.
This bug tracks the effort of cleaning up this dependency.
As of today this situation creates some problems because https://cs.chromium.org/chromium/src/third_party/libjingle_xmpp/ uses rtc_* GN templates declared in . https://cs.chromium.org/chromium/src/third_party/webrtc/webrtc.gni and this means that every change made to these templates affects libjingle_xmpp.
Today I was trying to limit the visibility of WebRTC targets when WebRTC is built with Chromium (to make component builds maintainable) but I ended up breaking libjingle_xmpp.
Comment 1 by mbonadei@chromium.org
, Jan 4