Propagate GN public shared libraries through shared libraries
commit54d76753a03e67a980b6cd27f51678cb22d3ef93
authorbrettw <brettw@chromium.org>
Thu, 16 Apr 2015 17:40:49 +0000 (16 10:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 16 Apr 2015 17:41:08 +0000 (16 17:41 +0000)
treee3f57f5ddd0e05051c6d89aee3d7693139b5635a
parentdd12e9d5be29e54c54d382844d51874bd47ee22a
Propagate GN public shared libraries through shared libraries

Previously all dependencies would stop propagating for link purposes when a shared library or executable boundary is reached.

This patch makes public shared library dependencies propagate through shared libraries. Since the ability to use header files is propagated through these boundaries, so do the link dependencies. See the comment in target.cc for more details.

BUG=475091

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

Cr-Commit-Position: refs/heads/master@{#325471}
tools/gn/BUILD.gn
tools/gn/gn.gyp
tools/gn/inherited_libraries.cc [new file with mode: 0644]
tools/gn/inherited_libraries.h [new file with mode: 0644]
tools/gn/inherited_libraries_unittest.cc [new file with mode: 0644]
tools/gn/ninja_binary_target_writer.cc
tools/gn/target.cc
tools/gn/target.h
tools/gn/target_unittest.cc
tools/gn/variables.cc