diff options
| author | 2017-10-09 15:32:57 -0700 | |
|---|---|---|
| committer | 2017-10-09 15:35:57 -0700 | |
| commit | 52b1e4cf06dbb16b6144a4eb3590aed1d6108284 (patch) | |
| tree | c941a470237ee2c39260924600dfb4bf2551fd07 /java/java.go | |
| parent | 05a39cbaccebf8ab0cd44116c4dca2db37424c58 (diff) | |
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
Diffstat (limited to 'java/java.go')
| -rw-r--r-- | java/java.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/java/java.go b/java/java.go index bab77c5a6..fde88e90f 100644 --- a/java/java.go +++ b/java/java.go @@ -28,7 +28,6 @@ import ( "github.com/google/blueprint/proptools" "android/soong/android" - "android/soong/genrule" "android/soong/java/config" ) @@ -437,12 +436,6 @@ func (j *Module) compile(ctx android.ModuleContext) { 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 |