Merge "Fix: install flattened apex on system_ext"

This commit is contained in:
Jooyung Han
2019-11-27 07:30:54 +00:00
committed by Gerrit Code Review
3 changed files with 44 additions and 33 deletions

View File

@@ -1533,9 +1533,11 @@ func (m *ModuleBase) EnableNativeBridgeSupportByDefault() {
}
func (m *ModuleBase) MakeAsSystemExt() {
if !Bool(m.commonProperties.Vendor) && !Bool(m.commonProperties.Product_specific) {
m.commonProperties.System_ext_specific = boolPtr(true)
}
m.commonProperties.Vendor = boolPtr(false)
m.commonProperties.Proprietary = boolPtr(false)
m.commonProperties.Soc_specific = boolPtr(false)
m.commonProperties.Product_specific = boolPtr(false)
m.commonProperties.System_ext_specific = boolPtr(true)
}
// IsNativeBridgeSupported returns true if "native_bridge_supported" is explicitly set as "true"