CFI Bp2Build
Bug: 261733820 Test: Unit Tests and manual verification Change-Id: Ife1b33c58e3770177eab1b6168edbf7969418ad7
This commit is contained in:
@@ -1757,6 +1757,12 @@ func bp2buildSanitizerFeatures(ctx android.BazelConversionPathContext, m *Module
|
||||
for _, sanitizer := range sanitizerProps.Sanitize.Misc_undefined {
|
||||
features = append(features, "ubsan_"+sanitizer)
|
||||
}
|
||||
if proptools.Bool(sanitizerProps.Sanitize.Cfi) {
|
||||
features = append(features, "android_cfi")
|
||||
if proptools.Bool(sanitizerProps.Sanitize.Config.Cfi_assembly_support) {
|
||||
features = append(features, "android_cfi_assembly_support")
|
||||
}
|
||||
}
|
||||
sanitizerFeatures.SetSelectValue(axis, config, features)
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user