gn: don't reject absolute unix style pathnames in labels
commitdb6c2cc6aa2ce8bd5b70964fefe7e39f2e5487a9
authormostynb <mostynb@opera.com>
Tue, 30 Dec 2014 09:13:08 +0000 (30 01:13 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 30 Dec 2014 09:13:45 +0000 (30 09:13 +0000)
tree16c8adaf30c057eeb6a1adf700876a5612ad4194
parentf4a9ad73aad5efad5406d41cbc7d31e23647a14c
gn: don't reject absolute unix style pathnames in labels

Absolute paths have been suggested by brettw as a way for external products
based upon chromium to include code outside the chromium source tree.  gn
supports absolute paths in theory, but this has not been tried in practice yet.
This patch is the first step towards testing this proposed setup.

Some background details:
https://groups.google.com/a/chromium.org/forum/#!topic/gn-dev/CU7MzRLrQuE

BUG=445454
R=brettw@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#309753}
tools/gn/label.cc