diff options
Diffstat (limited to 'bloaty/bloaty.go')
-rw-r--r-- | bloaty/bloaty.go | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/bloaty/bloaty.go b/bloaty/bloaty.go index 8ecea98b4..26f2aa879 100644 --- a/bloaty/bloaty.go +++ b/bloaty/bloaty.go @@ -105,13 +105,11 @@ func (singleton *sizesSingleton) GenerateBuildActions(ctx android.SingletonConte } }) + protoFilenamePath := android.PathForOutput(ctx, protoFilename) ctx.Build(pctx, android.BuildParams{ Rule: bloatyMerger, Inputs: android.SortedUniquePaths(deps), - Output: android.PathForOutput(ctx, protoFilename), + Output: protoFilenamePath, }) -} - -func (singleton *sizesSingleton) MakeVars(ctx android.MakeVarsContext) { - ctx.DistForGoalWithFilename("checkbuild", android.PathForOutput(ctx, protoFilename), protoFilename) + ctx.DistForGoalWithFilename("checkbuild", protoFilenamePath, protoFilename) } |