Optimize PathForBazelOutRelative

This isn't benchmarked or anything, but should give
minor performance improvements.

Test: Verified ninja files didn't change on aosp_arm64-userdebug
Change-Id: I030991f91c326669b7b7e73b8171da4b2a68cbb4
This commit is contained in:
Cole Faust
2023-01-10 10:49:18 -08:00
parent 64b0fbd151
commit 0abd4b4f5d
2 changed files with 5 additions and 3 deletions

View File

@@ -409,7 +409,7 @@ func bottomUpMutatorContextFactory(ctx blueprint.BottomUpMutatorContext, a Modul
return &bottomUpMutatorContext{
bp: ctx,
baseModuleContext: a.base().baseModuleContextFactory(ctx),
baseModuleContext: moduleContext,
finalPhase: finalPhase,
}
}