diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/app.go | 2 | ||||
-rw-r--r-- | java/java.go | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/java/app.go b/java/app.go index f0eb3c8a..3d162812 100644 --- a/java/app.go +++ b/java/app.go @@ -152,7 +152,7 @@ func (a *AndroidApp) GenerateJavaBuildActions(ctx common.AndroidModuleContext) { } a.outputFile = CreateAppPackage(ctx, aaptPackageFlags, a.outputFile, certificates) - ctx.InstallFileName("app", ctx.ModuleName()+".apk", a.outputFile) + ctx.InstallFileName(common.PathForModuleInstall(ctx, "app"), ctx.ModuleName()+".apk", a.outputFile) } var aaptIgnoreFilenames = []string{ diff --git a/java/java.go b/java/java.go index 839fb01d..db1ae057 100644 --- a/java/java.go +++ b/java/java.go @@ -442,7 +442,7 @@ type JavaLibrary struct { func (j *JavaLibrary) GenerateJavaBuildActions(ctx common.AndroidModuleContext) { j.javaBase.GenerateJavaBuildActions(ctx) - j.installFile = ctx.InstallFileName("framework", ctx.ModuleName()+".jar", j.outputFile) + j.installFile = ctx.InstallFileName(common.PathForModuleInstall(ctx, "framework"), ctx.ModuleName()+".jar", j.outputFile) } func JavaLibraryFactory() (blueprint.Module, []interface{}) { @@ -479,7 +479,7 @@ func (j *JavaBinary) GenerateJavaBuildActions(ctx common.AndroidModuleContext) { // Depend on the installed jar (j.installFile) so that the wrapper doesn't get executed by // another build rule before the jar has been installed. - ctx.InstallFile("bin", common.PathForModuleSrc(ctx, j.binaryProperties.Wrapper), + ctx.InstallFile(common.PathForModuleInstall(ctx, "bin"), common.PathForModuleSrc(ctx, j.binaryProperties.Wrapper), j.installFile) } @@ -526,7 +526,7 @@ func (j *JavaPrebuilt) GenerateAndroidBuildActions(ctx common.AndroidModuleConte j.classpathFile = prebuilt j.classJarSpecs = []jarSpec{classJarSpec} j.resourceJarSpecs = []jarSpec{resourceJarSpec} - ctx.InstallFileName("framework", ctx.ModuleName()+".jar", j.classpathFile) + ctx.InstallFileName(common.PathForModuleInstall(ctx, "framework"), ctx.ModuleName()+".jar", j.classpathFile) } var _ JavaDependency = (*JavaPrebuilt)(nil) |