Merge "java_sdk_library_import: Delegate OutputFiles to impl library if needed"
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