Revert "Fix: sanitizerRuntimeMutator is not run for host"
This reverts commit 1c29b0e6ec
.
Reason for revert: Broke aosp_x86_64
Change-Id: I581200f1c271c3e1a39d5cdad84c782977b13054
This commit is contained in:
parent
1c29b0e6ec
commit
84757ea7ea
1 changed files with 3 additions and 3 deletions
|
@ -667,10 +667,10 @@ func sanitizerRuntimeDepsMutator(mctx android.TopDownMutatorContext) {
|
|||
|
||||
// Add the dependency to the runtime library for each of the sanitizer variants
|
||||
func sanitizerRuntimeMutator(mctx android.BottomUpMutatorContext) {
|
||||
if mctx.Os() != android.Android {
|
||||
return
|
||||
}
|
||||
if c, ok := mctx.Module().(*Module); ok && c.sanitize != nil {
|
||||
if !c.Enabled() {
|
||||
return
|
||||
}
|
||||
var sanitizers []string
|
||||
var diagSanitizers []string
|
||||
|
||||
|
|
Loading…
Reference in a new issue