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

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"