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. .bazelversion
  2. .gitignore
  3. AUTHORS
  4. LICENSE
  5. README.md
  6. WORKSPACE
  7. base/
  8. build/
  9. build_config/
  10. copy.bara.sky
  11. polyfills/
  12. test/
  13. url/
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.