Allow GN libs to be specified by path instead of by name

Android needs to link against libgcc.a, and it makes much more sense to
do so via direct path rather than using name + search-path to do so.

This change allows paths (any string that contains a '/') to appear in
a libs list. Paths are not prefixed by -l when passed to the linker,
and follow the normal path semantics.

BUG=570406
R=brettw@chromium.org, tfarina@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#366530}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f865ab8f007295f7efc655a3685b7c4cab140635
16 files changed
tree: 4e402033ae325c59151fb28717f7cf4b822439dc
  1. tools/