diff options
author | 2025-02-11 17:02:53 -0800 | |
---|---|---|
committer | 2025-02-12 12:32:01 -0800 | |
commit | a43fb2565c538de1768e8260168c8fd14df3a447 (patch) | |
tree | c05a7f0bfb34112bed1d75c5a7c6607b02b15420 /bloaty | |
parent | dc170e72fad31a5cef8e3427773d7f9d323c03f9 (diff) |
Move dists to GenerateAndroidBuildActions
So that we're not as make-focused by disting in MakeVarsProviders.
Bug: 395184523
Test: Verified ninja files were unchanged (on both m nothing and m nothing dist)
Change-Id: I5fd94754d644162b355722fbb1e1fd6f085345b9
Diffstat (limited to 'bloaty')
-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) } |