Implement OutputFileProducer for android_app_import and android_test_import
Fixes: 290376750 Test: builds (cherry picked from https://android-review.googlesource.com/q/commit:5368d0b44a7124072ada43ae7f21fa6ded7e0606) Merged-In: I5fc3a759462cfd4342b9330ac8978368feee26ca Change-Id: I5fc3a759462cfd4342b9330ac8978368feee26ca
This commit is contained in:
committed by
Cherrypicker Worker
parent
4cbde4a6a9
commit
955f87b65a
@@ -17,6 +17,7 @@ package java
|
||||
// This file contains the module implementations for android_app_import and android_test_import.
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"reflect"
|
||||
|
||||
"github.com/google/blueprint"
|
||||
@@ -364,6 +365,15 @@ func (a *AndroidAppImport) OutputFile() android.Path {
|
||||
return a.outputFile
|
||||
}
|
||||
|
||||
func (a *AndroidAppImport) OutputFiles(tag string) (android.Paths, error) {
|
||||
switch tag {
|
||||
case "":
|
||||
return []android.Path{a.outputFile}, nil
|
||||
default:
|
||||
return nil, fmt.Errorf("unsupported module reference tag %q", tag)
|
||||
}
|
||||
}
|
||||
|
||||
func (a *AndroidAppImport) JacocoReportClassesFile() android.Path {
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user