rust: Add HWASan build support
HWASan for static Rust executables is not supported yet. Bug: 180495975 Test: build local test app with HWASan Change-Id: I46e851c82a16943586ec3a789f09a58651d036e3
This commit is contained in:
@@ -70,6 +70,11 @@ func (mod *Module) AndroidMkEntries() []android.AndroidMkEntries {
|
||||
// If the compiler is disabled, this is a SourceProvider.
|
||||
mod.SubAndroidMk(&ret, mod.sourceProvider)
|
||||
}
|
||||
|
||||
if mod.sanitize != nil {
|
||||
mod.SubAndroidMk(&ret, mod.sanitize)
|
||||
}
|
||||
|
||||
ret.SubName += mod.Properties.SubName
|
||||
|
||||
return []android.AndroidMkEntries{ret}
|
||||
|
Reference in New Issue
Block a user