diff options
author | 2024-10-10 11:00:36 -0700 | |
---|---|---|
committer | 2024-10-10 11:50:27 -0700 | |
commit | 6978879d29533cd9d39c836c4410bd5acbdd0353 (patch) | |
tree | 8b798a2c78cadd8904e8ce8027d6c5cbb2842587 /android/module.go | |
parent | 527f3ad099cbe1cf9a25fa1bb901b16f0d2d2d9b (diff) |
Remove dependencies on 1-variant fallback
This is just a first pass, there are still more issues to tackle.
But after this we start getting errors about genrules which require
more work to resolve, so I'll handle them in a separate cl.
Bug: 372091092
Test: m nothing --no-skip-soong-tests
Change-Id: Ibf8f6bca699ff7c3232495ae7fa2666c967ba90b
Diffstat (limited to 'android/module.go')
-rw-r--r-- | android/module.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/android/module.go b/android/module.go index 8415118cb..3079b0706 100644 --- a/android/module.go +++ b/android/module.go @@ -1066,6 +1066,11 @@ func addVintfFragmentDeps(ctx BottomUpMutatorContext) { modPartition := mod.PartitionTag(deviceConfig) for _, vintf := range vintfModules { + if vintf == nil { + // TODO(b/372091092): Remove this. Having it gives us missing dependency errors instead + // of nil pointer dereference errors, but we should resolve the missing dependencies. + continue + } if vintfModule, ok := vintf.(*vintfFragmentModule); ok { vintfPartition := vintfModule.PartitionTag(deviceConfig) if modPartition != vintfPartition { |