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:
@@ -61,6 +61,9 @@ func (s *genNoticeBuildRules) GenerateBuildActions(ctx SingletonContext) {
|
|||||||
if mod == nil {
|
if mod == nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if !mod.Enabled() { // don't depend on variants without build rules
|
||||||
|
continue
|
||||||
|
}
|
||||||
modules = append(modules, mod)
|
modules = append(modules, mod)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user