Merge "Add sanitizer runtime library to recovery when needed." am: 5b46a085d7
am: 792684273d
Change-Id: Ie37758e2906bb7ee611d8ff9794850183350ed2a
This commit is contained in:
@@ -576,9 +576,12 @@ func (sanitize *sanitize) flags(ctx ModuleContext, flags Flags) Flags {
|
|||||||
sanitize.runtimeLibrary = runtimeLibrary
|
sanitize.runtimeLibrary = runtimeLibrary
|
||||||
|
|
||||||
// When linking against VNDK, use the vendor variant of the runtime lib
|
// When linking against VNDK, use the vendor variant of the runtime lib
|
||||||
sanitize.androidMkRuntimeLibrary = sanitize.runtimeLibrary
|
|
||||||
if ctx.useVndk() {
|
if ctx.useVndk() {
|
||||||
sanitize.androidMkRuntimeLibrary = sanitize.runtimeLibrary + vendorSuffix
|
sanitize.androidMkRuntimeLibrary = sanitize.runtimeLibrary + vendorSuffix
|
||||||
|
} else if ctx.inRecovery() {
|
||||||
|
sanitize.androidMkRuntimeLibrary = sanitize.runtimeLibrary + recoverySuffix
|
||||||
|
} else {
|
||||||
|
sanitize.androidMkRuntimeLibrary = sanitize.runtimeLibrary
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user