Keep track of which test infos use which target
Modify build script to keep track of which test info uses which target,
which will be necessary for intra-zip test discovery later
Test: test
Bug: 358215235
Change-Id: I3d51d6527396fc1538d51602ad84084dbcdc7b0e
diff --git a/ci/optimized_targets.py b/ci/optimized_targets.py
index 688bdd8..4b8b453 100644
--- a/ci/optimized_targets.py
+++ b/ci/optimized_targets.py
@@ -42,10 +42,12 @@
target: str,
build_context: BuildContext,
args: argparse.Namespace,
+ test_infos
):
self.target = target
self.build_context = build_context
self.args = args
+ self.test_infos = test_infos
def get_build_targets(self) -> set[str]:
features = self.build_context.enabled_build_features