DescriptionAllow 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
Committed: https://crrev.com/f865ab8f007295f7efc655a3685b7c4cab140635
Cr-Commit-Position: refs/heads/master@{#366530}
Patch Set 1 #
Total comments: 12
Patch Set 2 : review 1 #Patch Set 3 : treat source_file libs as inputs #
Total comments: 14
Patch Set 4 : add test and review nits #Patch Set 5 : implicit deps #
Total comments: 4
Patch Set 6 : fix multi-line if braces #Patch Set 7 : Add lib_file.cc to gn.gyp #Patch Set 8 : Fix typo in previous patch #
Messages
Total messages: 30 (15 generated)
|