| Index: tools/gn/target.cc
|
| diff --git a/tools/gn/target.cc b/tools/gn/target.cc
|
| index ec35a053d04ff76371365259744208ce8308520d..a38015678d1047b1f8b45d667ee1f8c11e16237e 100644
|
| --- a/tools/gn/target.cc
|
| +++ b/tools/gn/target.cc
|
| @@ -188,7 +188,8 @@ void Target::PullDependentTargetInfo(std::set<const Config*>* unique_configs) {
|
|
|
| // Direct dependent libraries.
|
| if (dep->output_type() == STATIC_LIBRARY ||
|
| - dep->output_type() == SHARED_LIBRARY)
|
| + dep->output_type() == SHARED_LIBRARY ||
|
| + dep->output_type() == SOURCE_SET)
|
| inherited_libraries_.insert(dep);
|
|
|
| // Inherited libraries and flags are inherited across static library
|
|
|