We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4da55f5 commit 805e279Copy full SHA for 805e279
pkg/rule/rules_cc/cc_library.go
@@ -68,7 +68,10 @@ func (s *CcLibrary) Hdrs() []string {
68
69
// Deps computes the deps list for the rule.
70
func (s *CcLibrary) Deps() []string {
71
- return s.RuleConfig.GetDeps()
+ deps := s.RuleConfig.GetDeps()
72
+ resolvedDeps := protoc.ResolveLibraryRewrites(s.RuleConfig.GetRewrites(), s.Config.Library)
73
+ deps = append(deps, resolvedDeps...)
74
+ return deps
75
}
76
77
// Visibility provides visibility labels.
0 commit comments