Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27fd541c authored by Dan Willemsen's avatar Dan Willemsen Committed by Gerrit Code Review
Browse files

Merge "Fix: sanitizerRuntimeMutator is not run for host"

parents be9cdb8d 1c29b0e6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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 {
	if c, ok := mctx.Module().(*Module); ok && c.sanitize != nil {
		if !c.Enabled() {
			return
		}
	if c, ok := mctx.Module().(*Module); ok && c.sanitize != nil {
		var sanitizers []string
		var diagSanitizers []string