Allow access to the generated srcjars for GeneratedJavaLibrary am: ffac9be887 am: 4eff29bafc am: 3e6bc32eb4 am: 532a227e15

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2717351

Change-Id: Ia9d003b6d33f186450e0211ad6169bc511222eb8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Joe Onorato
2023-08-21 18:42:46 +00:00
committed by Automerger Merge Worker

View File

@@ -622,6 +622,8 @@ func (j *Module) OutputFiles(tag string) (android.Paths, error) {
return android.Paths{j.dexer.proguardDictionary.Path()}, nil return android.Paths{j.dexer.proguardDictionary.Path()}, nil
} }
return nil, fmt.Errorf("%q was requested, but no output file was found.", tag) return nil, fmt.Errorf("%q was requested, but no output file was found.", tag)
case ".generated_srcjars":
return j.properties.Generated_srcjars, nil
default: default:
return nil, fmt.Errorf("unsupported module reference tag %q", tag) return nil, fmt.Errorf("unsupported module reference tag %q", tag)
} }