Add support for linking user provided ICU lib

This patch adds support for linking a user provided ICU library using
the @org_unicode_icuuc//:common target by setting :system_icu to false.

Signed-off-by: Dhi Aurrahman <dio@tetrate.io>
Change-Id: Ie38f01afb537f7d4cfe7b185b00185e175d0a983
10 files changed
tree: cf33e8e5d4ed036aaca37ff439c9c380f84f4a83
  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. README.md
  13. WORKSPACE
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++14 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++14" //... (C++14 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.