Merge "Store order of the components used by the tests" am: 40786119af am: 32b88afec6 am: 747968514a

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1623559

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8e23f648320ad201ced690509712d0247cdca5f5
This commit is contained in:
Paul Duffin
2021-03-09 09:49:47 +00:00
committed by Automerger Merge Worker

View File

@@ -378,9 +378,9 @@ func (ctx *TestContext) Register() {
ctx.singletons.registerAll(ctx.Context)
// Save the sorted components order away to make them easy to access while debugging.
ctx.preSingletonOrder = globalOrder.preSingletonOrder.namesInOrder
ctx.mutatorOrder = globalOrder.mutatorOrder.namesInOrder
ctx.singletonOrder = globalOrder.singletonOrder.namesInOrder
ctx.preSingletonOrder = componentsToNames(preSingletons)
ctx.mutatorOrder = componentsToNames(mutators)
ctx.singletonOrder = componentsToNames(singletons)
}
// RegisterForBazelConversion prepares a test context for bp2build conversion.