diff options
author | Anton Hansson <hansson@google.com> | 2020-06-17 19:30:09 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-06-17 19:30:09 +0000 |
commit | 0e63a8e76180fe7a92000b6aa3bc0d5e64e2c564 (patch) | |
tree | 4ce579db0fa3a86f4b80b559ee1bccc2c7e5eba2 /java/java.go | |
parent | a4e8a640bbe2e1b0dc77e659137e583849437241 (diff) | |
parent | 44b481b81bff20fc530b00859852d40d726663c6 (diff) |
Merge "Fix check-boot-jars when a boot jar is provided by prebuilt"
Diffstat (limited to 'java/java.go')
-rw-r--r-- | java/java.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/java/java.go b/java/java.go index bd5f6b7d5..d7f09f970 100644 --- a/java/java.go +++ b/java/java.go @@ -496,11 +496,16 @@ func (j *Module) OutputFiles(tag string) (android.Paths, error) { var _ android.OutputFileProducer = (*Module)(nil) -type Dependency interface { +// Methods that need to be implemented for a module that is added to apex java_libs property. +type ApexDependency interface { HeaderJars() android.Paths + ImplementationAndResourcesJars() android.Paths +} + +type Dependency interface { + ApexDependency ImplementationJars() android.Paths ResourceJars() android.Paths - ImplementationAndResourcesJars() android.Paths DexJarBuildPath() android.Path DexJarInstallPath() android.Path AidlIncludeDirs() android.Paths |