Merge "Do not enable sanitizers on Windows"
am: d7e5c05eac
Change-Id: I7398e6b08154c5bc7fad0507bd9e1dae8c14da0a
This commit is contained in:
committed by
android-build-merger
commit
b6682c47b8
@@ -155,7 +155,9 @@ func (sanitize *sanitize) begin(ctx BaseModuleContext) {
|
||||
|
||||
if ctx.clang() {
|
||||
if ctx.Host() {
|
||||
globalSanitizers = ctx.Config().SanitizeHost()
|
||||
if !ctx.Windows() {
|
||||
globalSanitizers = ctx.Config().SanitizeHost()
|
||||
}
|
||||
} else {
|
||||
arches := ctx.Config().SanitizeDeviceArch()
|
||||
if len(arches) == 0 || inList(ctx.Arch().ArchType.Name, arches) {
|
||||
|
Reference in New Issue
Block a user