Fix doubled generated source files

Generated source files were being included twice, once manually
and once by ctx.ExpandSources.  Remove the manual one.

Bug: 67364649
Test: TestGeneratedSources in later patch
Change-Id: Ia6760b01a34a96767a914bdcb911a39fa6683300
diff --git a/java/java.go b/java/java.go
index bab77c5..fde88e9 100644
--- a/java/java.go
+++ b/java/java.go
@@ -28,7 +28,6 @@
 	"github.com/google/blueprint/proptools"
 
 	"android/soong/android"
-	"android/soong/genrule"
 	"android/soong/java/config"
 )
 
@@ -437,12 +436,6 @@
 
 	srcFileLists = append(srcFileLists, deps.srcFileLists...)
 
-	ctx.VisitDirectDeps(func(module blueprint.Module) {
-		if gen, ok := module.(genrule.SourceFileGenerator); ok {
-			srcFiles = append(srcFiles, gen.GeneratedSourceFiles()...)
-		}
-	})
-
 	srcFileLists = append(srcFileLists, j.ExtraSrcLists...)
 
 	var jars android.Paths