Merge "Fix UBSanitized host binaries missing runtime." into rvc-dev
This commit is contained in:
commit
0ad6ef5d9b
|
@ -900,6 +900,11 @@ func sanitizerRuntimeMutator(mctx android.BottomUpMutatorContext) {
|
|||
c.sanitize.Properties.Sanitizers = sanitizers
|
||||
c.sanitize.Properties.DiagSanitizers = diagSanitizers
|
||||
|
||||
// TODO(b/150822854) Hosts have a different default behavior and assume the runtime library is used.
|
||||
if c.Host() {
|
||||
diagSanitizers = sanitizers
|
||||
}
|
||||
|
||||
// Determine the runtime library required
|
||||
runtimeLibrary := ""
|
||||
var extraStaticDeps []string
|
||||
|
|
Loading…
Reference in New Issue