diff --git a/dexpreopt/dexpreopt.go b/dexpreopt/dexpreopt.go index 7dd01e235..02e54b3ee 100644 --- a/dexpreopt/dexpreopt.go +++ b/dexpreopt/dexpreopt.go @@ -589,7 +589,7 @@ func NonUpdatableSystemServerJars(ctx android.PathContext, global *GlobalConfig) // at that time (Soong processes the jars in dependency order, which may be different from the // the system server classpath order). func SystemServerDexJarHostPath(ctx android.PathContext, jar string) android.OutputPath { - return android.PathForOutput(ctx, ctx.Config().DeviceName(), "system_server_dexjars", jar+".jar") + return android.PathForOutput(ctx, ctx.Config().BuildDir(), "system_server_dexjars", jar+".jar") } func contains(l []string, s string) bool {