Switch to Bazel 7 and bzlmod

The MODULE.bazel.lock file is automatically generated when running a
build. Newer Bazel versions make it much, much more compact, but I've
stuck with 7.0.0 to match what QUICHE ended up needing to use.

Change-Id: I405f900085c387c625698bdb2b5d61a115d0005a
4 files changed
tree: 05af9896d0bfa65f049439b021163efdd38b3c10
  1. base/
  2. build/
  3. build_config/
  4. polyfills/
  5. test/
  6. url/
  7. .bazelversion
  8. .gitignore
  9. AUTHORS
  10. copy.bara.sky
  11. LICENSE
  12. MODULE.bazel
  13. MODULE.bazel.lock
  14. README.md
README.md

googleurl

This is a copy of Chrome's URL parsing library, adapted to work with Bazel. It is meant to be used by QUICHE, but can be also used by other projects that use Bazel.

In order to be used successfully, C++20 or later and -fno-strict-aliasing compile flag are required.

For questions, contact proto-quic@chromium.org.

Update Instructions

In order to update this copy to the latest version of googleurl in Chromium, run the following commands in the root of the checkout:

  1. copybara copy.bara.sky import <path-to-chrome>/src --folder-dir .
  2. bazel test --cxxopt="-std=c++20" //... (C++20 is replacible with later C++ versions)
  3. Fix all of the compilation errors, potentially modifying the BUILD files and the polyfill headers in polyfill/ as appropriate.
  4. Check the new version into Git.