[go: up one dir, main page]

Page MenuHomePhabricator

Bug 1864008 - Move libvpx to libgkcodecs, part 2
ClosedPublic

Authored by chunmin on Dec 4 2023, 11:37 PM.

Details

Summary

This patch addes trampoline headers for libvpx.

To follow the libwebrtc merge procedure, the vpx headers are silently
replaced with "trampoline" headers, which do nothing but include real
VPX headers. This makes the libwebrtc-merge process easier without
worrying headers' paths.

On the other hand, the rtc_build_libvpx is set to true in
webrtc.gni, so moz.build file for third_party/libvpx can be generated by
the gn_processor in the next patch.

Diff Detail

Repository
rMOZILLACENTRAL mozilla-central
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.
chunmin edited the summary of this revision. (Show Details)

The analysis task source-test-clang-tidy failed, but we could not detect any defect.
Please check this task manually.

The analysis task source-test-clang-external failed, but we could not detect any defect.
Please check this task manually.

The analysis task source-test-clang-format failed, but we could not detect any defect.
Please check this task manually.


If you see a problem in this automated review, please report it here.

mjf added a subscriber: mjf.

I'm having trouble verifying this does what is intended when built with:

ac_add_options --with-system-libvpx --without-sysroot

For some reason, I'm getting complaints about compiler versions on linux and other errors on macOS. However, if you've verified the proper includes are picked up in your local builds, I'm ok with this. It doesn't break the normal case builds for me locally.

This revision is now accepted and ready to land.Dec 5 2023, 3:44 PM
chunmin edited the summary of this revision. (Show Details)

I'm having trouble verifying this does what is intended when built with:

ac_add_options --with-system-libvpx --without-sysroot

For some reason, I'm getting complaints about compiler versions on linux and other errors on macOS. However, if you've verified the proper includes are picked up in your local builds, I'm ok with this. It doesn't break the normal case builds for me locally.

It works on my linux machine. I am testing it on try: https://treeherder.mozilla.org/jobs?repo=try&revision=3572a8e4a1214ec017c2a3231f2fa0be2936181d to see if it's green.
Feel free to let me know if you find something is missing.