Make GN use_custom_libcxx work properly with sanitizers.

Its default value depended on a previous flag, but the value of that flag wasn't getting set until the end of the declare_args block. The solution is to add a new declare_args block.

Added documentation for this since it can be surprising.

Review URL: https://codereview.chromium.org/1386713002

Cr-Original-Commit-Position: refs/heads/master@{#352109}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cc637eee86e6041ac9df3ad7d3160ceb2a88cddd
1 file changed
tree: 20564ef88ca7402f0725f7245c661bd93318684d
  1. tools/