Skip to content

Conversation

@y4vor
Copy link
Contributor

@y4vor y4vor commented Dec 18, 2025

Cobalt: Disable libvpx for Linux builds

This change disables the libvpx library, including VP8 and VP9 codec
support, within WebRTC for Cobalt Linux builds. This helps to reduce
the overall binary size of the Cobalt application by removing unused
video codec implementations. Related build targets and code paths in
Blink and WebRTC are now conditionally compiled based on these new
build flags to ensure that the disabled codecs are not included.

Bug: 421171908

@github-actions
Copy link

🤖 Gemini Suggested Commit Message


Cobalt: Disable libvpx for Linux builds

This change disables the libvpx library, including VP8 and VP9 codec
support, within WebRTC for Cobalt Linux builds. This helps to reduce
the overall binary size of the Cobalt application by removing unused
video codec implementations. Related build targets and code paths in
Blink and WebRTC are now conditionally compiled based on these new
build flags to ensure that the disabled codecs are not included.

Bug: None

💡 Pro Tips for a Better Commit Message:

  1. Influence the Result: Want to change the output? You can write custom prompts or instructions directly in the Pull Request description. The model uses that text to generate the message.
  2. Re-run the Generator: Post a comment with: /generate-commit-message

@y4vor y4vor force-pushed the nolibvpx branch 3 times, most recently from 6f06c19 to 85ab336 Compare December 18, 2025 18:09
This change disables the libvpx library, including VP8 and VP9 codec
support, within WebRTC for Cobalt builds. This helps to reduce
the overall binary size of the Cobalt application by removing unused
video codec implementations. Related build targets and code paths in
Blink and WebRTC are now conditionally compiled based on these new
build flags to ensure that the disabled codecs are not included.

The binary size reduction is ~ 700KB.
Bug: 421171908
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant