Merge "Only generated notices for built variants."
This commit is contained in:
commit
c8a06ca8c8
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue