Closed Bug 1855330 Opened 2 years ago Closed 2 years ago

Update our vendored abseil-cpp import in libwebrtc

Categories

(Core :: WebRTC, task, P2)

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: RyanVM, Assigned: mjf)

References

Details

Attachments

(5 files)

Right now, libwebrtc has the only available import of abseil-cpp. Various libraries such as protobuf are starting to make it a hard dependency, so the age of that import is becoming a blocking issue for being able to update other libraries. While we have bug 1788569 on file for hopefully having an independent import of the library vendored in that lives outside libwebrtc, it would be helpful in the short term if we could at least update the one that lives in libwebrtc.

Taking in the latest LTS release (20230802.1) would be preferable to avoid bringing back bug 1833541.

The Bugbug bot thinks this bug should belong to the 'Core::WebRTC' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → WebRTC

I've got a proof-of-concept build working, but had to hack around a few things that need cleanup. Some details:

  • Currently libwebrtc is using third_party commit 31edcc46d68.
  • The request above was for 20230802.1 (commit fb3621f4), which is based off commit fdf5be11.
  • Current libwebrtc/third_party commit includes abseil-cpp from commit 6ab667fd (114 commits newer than fdf5be11).

I will be prepping the actual patches asap. Please keep in mind that our current build of abseil-cpp in libwebrtc/third_party has portions of the build disabled. There may be additional changes needed to enable building new parts of abseil-cpp for use with protobuf. We can address those issues separately.

Assignee: nobody → mfroman
Priority: -- → P2

Upstream libwebrtc/third_party removes dependency on the one file
we were using from google_benchmark. We can stop vendoring that
directory now that we're updating to our third_party import based
off commit 31edcc46d68.

Adding these shim targets reduces the need to modify many BUILD.gn
files by removing those deps. We can retroactively fix the places
we're already removing those deps in a future bug.

Depends on D190094

Blocks: 1857037
Pushed by mfroman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1f623969b862 pt1 - remove google_benchmark from libwebrtc/third_party vendoring. r=ng https://hg.mozilla.org/integration/autoland/rev/5350f0a3629f pt2 - vendor libwebrtc/third_party from build-31edcc46d68. r=ng,webrtc-reviewers https://hg.mozilla.org/integration/autoland/rev/a150bc95a2e9 pt3 - add shim targets to limit BUILD.gn changes. r=ng,webrtc-reviewers https://hg.mozilla.org/integration/autoland/rev/60c4a7790fc5 pt4 - BUILD.gn fixes for updated libwebrtc/third_party. r=ng,webrtc-reviewers https://hg.mozilla.org/integration/autoland/rev/8df4677f8728 pt4 - BUILD.gn fixes for updated libwebrtc/third_party. r=ng,webrtc-reviewers - moz.build file updates

Thank you!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: