Merge "Only generated notices for built variants." am: c8a06ca8c8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2302372 Change-Id: I26eebbbad72f2b3d5fb7220aa4c0594cd79e7713 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
d84901ed2c
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