Snap for 7809322 from bee6271909
to sc-d2-release
Change-Id: Ida2d8d6f66f9d93f6c8bffe9f59626311b369b5c
This commit is contained in:
commit
dbb23ac878
12
java/aar.go
12
java/aar.go
|
@ -486,6 +486,18 @@ type AndroidLibrary struct {
|
||||||
exportedStaticPackages android.Paths
|
exportedStaticPackages android.Paths
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var _ android.OutputFileProducer = (*AndroidLibrary)(nil)
|
||||||
|
|
||||||
|
// For OutputFileProducer interface
|
||||||
|
func (a *AndroidLibrary) OutputFiles(tag string) (android.Paths, error) {
|
||||||
|
switch tag {
|
||||||
|
case ".aar":
|
||||||
|
return []android.Path{a.aarFile}, nil
|
||||||
|
default:
|
||||||
|
return a.Library.OutputFiles(tag)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
func (a *AndroidLibrary) ExportedProguardFlagFiles() android.Paths {
|
func (a *AndroidLibrary) ExportedProguardFlagFiles() android.Paths {
|
||||||
return a.exportedProguardFlagFiles
|
return a.exportedProguardFlagFiles
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue