Merge "Fix cc_fuzz ignoring soong namespaces."

This commit is contained in:
Treehugger Robot 2019-12-05 21:41:41 +00:00 committed by Gerrit Code Review
commit 5eb62bc2fe
1 changed files with 5 additions and 0 deletions

View File

@ -345,6 +345,11 @@ func (s *fuzzPackager) GenerateBuildActions(ctx android.SingletonContext) {
return
}
// Discard modules that are in an unavailable namespace.
if !ccModule.ExportedToMake() {
return
}
s.fuzzTargets[module.Name()] = true
hostOrTargetString := "target"