Merge "Make IsSanitizerEnabledForJni return false" am: 53a129db89
am: e353655540
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2105764 Change-Id: Icb9a49ce6817fe2f7fa6a6d35b6b2345cd07035c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
committed by
Automerger Merge Worker
commit
35ca6bc67f
@@ -1428,9 +1428,12 @@ func sanitizerMutator(t SanitizerType) func(android.BottomUpMutatorContext) {
|
||||
}
|
||||
}
|
||||
} else if sanitizeable, ok := mctx.Module().(Sanitizeable); ok && sanitizeable.IsSanitizerEnabled(mctx, t.name()) {
|
||||
// APEX and Java fuzz modules fall here
|
||||
// APEX fuzz modules fall here
|
||||
sanitizeable.AddSanitizerDependencies(mctx, t.name())
|
||||
mctx.CreateVariations(t.variationName())
|
||||
} else if _, ok := mctx.Module().(JniSanitizeable); ok {
|
||||
// Java fuzz modules fall here
|
||||
mctx.CreateVariations(t.variationName())
|
||||
} else if c, ok := mctx.Module().(*Module); ok {
|
||||
//TODO: When Rust modules have vendor support, enable this path for PlatformSanitizeable
|
||||
|
||||
|
Reference in New Issue
Block a user