diff options
author | 2024-10-28 13:01:12 -0700 | |
---|---|---|
committer | 2024-10-28 13:01:12 -0700 | |
commit | 5b7635d302a21914b74063794fe68637e11b2313 (patch) | |
tree | cb255945f3ffd0709e010c9a3b2eb01b33f802bc /android/module.go | |
parent | 0ba7034bf723aaf35db29811f6709aec5828b487 (diff) |
Implement the 1-variant fallback in the image mutator
Some of the modules that deal with different image variants are not
straightforward to replace with equivalent properties. Just reimplement
the 1-variant fallback in the image mutator so that we don't have
to worry about it for the moment.
Having only the image mutator and not the arch/os mutators implement
this should prevent the "more fallbacks than before" issues that I saw
when converting all 3 of them to have this behavior.
Bug: 372091092
Test: m nothing
Change-Id: I9588e0bb9436ac5ddad750c1e70d883d5fe07630
Diffstat (limited to 'android/module.go')
-rw-r--r-- | android/module.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/module.go b/android/module.go index bc7f5e63a..6ef5c6ae5 100644 --- a/android/module.go +++ b/android/module.go @@ -1667,7 +1667,7 @@ func (m *ModuleBase) generateModuleTarget(ctx *moduleContext) { } } -func determineModuleKind(m *ModuleBase, ctx blueprint.EarlyModuleContext) moduleKind { +func determineModuleKind(m *ModuleBase, ctx ModuleErrorContext) moduleKind { var socSpecific = Bool(m.commonProperties.Vendor) || Bool(m.commonProperties.Proprietary) || Bool(m.commonProperties.Soc_specific) var deviceSpecific = Bool(m.commonProperties.Device_specific) var productSpecific = Bool(m.commonProperties.Product_specific) |