Merge "Only generated notices for built variants."

This commit is contained in:
Treehugger Robot 2022-11-15 00:53:45 +00:00 committed by Gerrit Code Review
commit c8a06ca8c8

View file

@ -61,6 +61,9 @@ func (s *genNoticeBuildRules) GenerateBuildActions(ctx SingletonContext) {
if mod == nil {
continue
}
if !mod.Enabled() { // don't depend on variants without build rules
continue
}
modules = append(modules, mod)
}
}