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:
Treehugger Robot 2022-11-15 01:21:28 +00:00 committed by Automerger Merge Worker
commit d84901ed2c

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)
}
}