Merge "java_sdk_library_import: Delegate OutputFiles to impl library if needed" am: 9c60cc4f22
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2081279 Change-Id: Id1959d92078cc2b32c7b0f8923bfc1209fdbf6a5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2231,7 +2231,15 @@ func (module *SdkLibraryImport) MinSdkVersion(ctx android.EarlyModuleContext) an
|
||||
var _ hiddenAPIModule = (*SdkLibraryImport)(nil)
|
||||
|
||||
func (module *SdkLibraryImport) OutputFiles(tag string) (android.Paths, error) {
|
||||
return module.commonOutputFiles(tag)
|
||||
paths, err := module.commonOutputFiles(tag)
|
||||
if paths != nil || err != nil {
|
||||
return paths, err
|
||||
}
|
||||
if module.implLibraryModule != nil {
|
||||
return module.implLibraryModule.OutputFiles(tag)
|
||||
} else {
|
||||
return nil, nil
|
||||
}
|
||||
}
|
||||
|
||||
func (module *SdkLibraryImport) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
|
Reference in New Issue
Block a user