Merge "Fix on-device paths to used libraries in dexpreopt."
This commit is contained in:
@@ -502,6 +502,7 @@ type Dependency interface {
|
||||
ResourceJars() android.Paths
|
||||
ImplementationAndResourcesJars() android.Paths
|
||||
DexJarBuildPath() android.Path
|
||||
DexJarInstallPath() android.Path
|
||||
AidlIncludeDirs() android.Paths
|
||||
ExportedSdkLibs() []string
|
||||
ExportedPlugins() (android.Paths, []string)
|
||||
@@ -1749,6 +1750,10 @@ func (j *Module) DexJarBuildPath() android.Path {
|
||||
return j.dexJarFile
|
||||
}
|
||||
|
||||
func (j *Module) DexJarInstallPath() android.Path {
|
||||
return j.installFile
|
||||
}
|
||||
|
||||
func (j *Module) ResourceJars() android.Paths {
|
||||
if j.resourceJar == nil {
|
||||
return nil
|
||||
@@ -2575,6 +2580,10 @@ func (j *Import) DexJarBuildPath() android.Path {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (j *Import) DexJarInstallPath() android.Path {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (j *Import) AidlIncludeDirs() android.Paths {
|
||||
return j.exportAidlIncludeDirs
|
||||
}
|
||||
|
Reference in New Issue
Block a user