diff --git a/cc/fuzz.go b/cc/fuzz.go index bb89bb495..c2b0ff4bb 100644 --- a/cc/fuzz.go +++ b/cc/fuzz.go @@ -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"