Don't create SDK variants for native bridge modules
Native bridge modules never need to build against NDK stubs, so don't create SDK variants. Also clear the sdk_version property for modules that don't have SDK variants so that later code doesn't use it to trigger SDK behaviors. Test: m checkbuild Change-Id: I1920fa82e9fab06235f01a62624382efa16cc6e3
This commit is contained in:
@@ -2427,10 +2427,6 @@ func (m *ModuleBase) MakeAsPlatform() {
|
||||
m.commonProperties.System_ext_specific = boolPtr(false)
|
||||
}
|
||||
|
||||
func (m *ModuleBase) EnableNativeBridgeSupportByDefault() {
|
||||
m.commonProperties.Native_bridge_supported = boolPtr(true)
|
||||
}
|
||||
|
||||
func (m *ModuleBase) MakeAsSystemExt() {
|
||||
m.commonProperties.Vendor = boolPtr(false)
|
||||
m.commonProperties.Proprietary = boolPtr(false)
|
||||
|
Reference in New Issue
Block a user