commit | c8a06ca8c82691f7064729aacd4125a839b4ae54 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Nov 15 00:53:45 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Nov 15 00:53:45 2022 +0000 |
tree | dc3ee6d0aa160d3866c672765c9b0ee9c7112095 | |
parent | 7436b78cf246db01ecab13b34001901255b85b32 [diff] | |
parent | 3800b5a78735c804795d6fd60b1d33fa5887e6f3 [diff] |
Merge "Only generated notices for built variants."
diff --git a/android/gen_notice.go b/android/gen_notice.go index 008aac5..28fddbc 100644 --- a/android/gen_notice.go +++ b/android/gen_notice.go
@@ -61,6 +61,9 @@ if mod == nil { continue } + if !mod.Enabled() { // don't depend on variants without build rules + continue + } modules = append(modules, mod) } }