Revert "Hide mutated variant in non-make builds." am: da11d7422f
am: 062d42f4e9
am: 86fee971ea
Change-Id: If9a453c59ec3e994b0f1ba0ea795d1e308eec904
This commit is contained in:
commit
754deece71
1 changed files with 10 additions and 10 deletions
|
@ -574,22 +574,22 @@ func sanitizerMutator(t sanitizerType) func(android.BottomUpMutatorContext) {
|
|||
modules[1].(*Module).sanitize.Properties.InSanitizerDir = true
|
||||
modules[1].(*Module).sanitize.SetSanitizer(cfi, false)
|
||||
}
|
||||
}
|
||||
if mctx.AConfig().EmbeddedInMake() && !mctx.Device() {
|
||||
if isSanitizerEnabled {
|
||||
modules[0].(*Module).Properties.HideFromMake = true
|
||||
} else {
|
||||
modules[1].(*Module).Properties.HideFromMake = true
|
||||
}
|
||||
}
|
||||
if !mctx.AConfig().EmbeddedInMake() || !mctx.Device() {
|
||||
} else {
|
||||
if isSanitizerEnabled {
|
||||
modules[0].(*Module).Properties.PreventInstall = true
|
||||
} else {
|
||||
modules[1].(*Module).Properties.PreventInstall = true
|
||||
}
|
||||
}
|
||||
|
||||
if mctx.AConfig().EmbeddedInMake() {
|
||||
if !mctx.Device() {
|
||||
if isSanitizerEnabled {
|
||||
modules[0].(*Module).Properties.HideFromMake = true
|
||||
} else {
|
||||
modules[1].(*Module).Properties.HideFromMake = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
c.sanitize.Properties.SanitizeDep = false
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue