Merge "Implement OutputFileProducer for android_app_import and android_test_import" into main am: b2ace8d72d
am: ed7ff79589
am: 58e3067618
am: 9d12e40dec
am: 3fa8e286c3
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2652340 Change-Id: I02c7f86a1d0d74b66aa536a8ae29aa6c5cbaf540 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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"
|
||||
@@ -410,6 +411,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