Change deps of ctx.Install* from Paths to InstallPaths
Installed files should only depend on other installed files, change the deps arguments of the ctx.Install* methods from Paths to InstallPaths. Bug: 311428265 Test: builds Change-Id: I1ebef60a943bdbe907744cc43aa985371ac56d32 Merged-In: I1ebef60a943bdbe907744cc43aa985371ac56d32
This commit is contained in:
@@ -30,8 +30,8 @@ func tradefedJavaLibraryFactory() android.Module {
|
||||
return module
|
||||
}
|
||||
|
||||
func tradefedJavaLibraryInstall(ctx android.ModuleContext, path android.Path) android.Paths {
|
||||
func tradefedJavaLibraryInstall(ctx android.ModuleContext, path android.Path) android.InstallPaths {
|
||||
installedPath := ctx.InstallFile(android.PathForModuleInstall(ctx, "tradefed"),
|
||||
ctx.ModuleName()+".jar", path)
|
||||
return android.Paths{installedPath}
|
||||
return android.InstallPaths{installedPath}
|
||||
}
|
||||
|
Reference in New Issue
Block a user