Merge "Change the global CFI flag to default to enabled."

This commit is contained in:
Vishwath Mohan
2017-04-20 01:39:55 +00:00
committed by Gerrit Code Review

View File

@@ -406,7 +406,11 @@ func (c *config) SanitizeDeviceArch() []string {
}
func (c *config) EnableCFI() bool {
return Bool(c.ProductVariables.EnableCFI)
if c.ProductVariables.EnableCFI == nil {
return true
} else {
return *c.ProductVariables.EnableCFI
}
}
func (c *config) Android64() bool {