Merge "Only generated notices for built variants." am: c8a06ca8c8
am: d84901ed2c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2302372 Change-Id: I1e1e78fae50c3505e05adf5fd427e3e7be679d4d 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 {
|
||||
continue
|
||||
}
|
||||
if !mod.Enabled() { // don't depend on variants without build rules
|
||||
continue
|
||||
}
|
||||
modules = append(modules, mod)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user