Clone this repo:

Branches

  1. 94ff147 Roll googleurl to the latest version by Victor Vasiliev · 4 days ago master
  2. e6c2721 Prepare for mirroring googleurl in Github by providing a CONTRIBUTING.md by Dan Zhang · 3 months ago
  3. 20ce402 Switch to Bazel 7 and bzlmod by David Benjamin · 12 months ago
  4. 481d8a9 Switch to C++20 and update googleurl from Chromium upstream by Victor Vasiliev · 2 years ago
  5. a0a9447 Roll googleurl to the latest Chromium upstream by Victor Vasiliev · 2 years, 1 month ago

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.