- Re-vendored protobuf at v35.0 alongside third_party/utf8_range, a
build-time dependency pulled in by extension_set_inl.h. Expanded
moz.yaml excludes to cover the reorganized upstream layout (json/,
util/, bridge/, compiler/, plus test/build-config files leaked past
the default exclude pattern), and dropped the now-upstreamed
remove_iostream_header.patch.
- Added /third_party/abseil-cpp to chromium-config.mozbuild's
LOCAL_INCLUDES so transitive absl/* includes resolve in every
protobuf consumer that includes chromium-config; added direct
LOCAL_INCLUDES on the few that don't.
- Added a pragma to abseil's check_op.h to suppress sign-compare in
CHECK_OP macros, scoping the suppression to translation units that
include this header rather than globally.
- Added USE_LIBS += ["abseil"] to the content_analysis_sdk_agent
Program() so it can link absl symbols.
- Audited moz.build SOURCES and EXPORTS against actual usage and
removed full-runtime files (well-known type .pb.cc/.pb.h,
reflection_ops, dynamic_message, text_format, descriptor, etc.)
that our lite-mode generated code doesn't reach.
- Taught generate_files.py to update gradle/libs.versions.toml's
`protobuf` (Java/Maven) value to match the vendored C++ revision
on future re-vendors.
- Suppressed nodiscard warnings on pre-existing SerializeToString
calls in url-classifier with (void) casts.
Differential Revision: https://phabricator.services.mozilla.com/D300213