summaryrefslogtreecommitdiff
path: root/ci/optimized_targets.py
diff options
context:
space:
mode:
author Luca Farsi <lucafarsi@google.com> 2025-02-11 00:57:53 +0000
committer Luca Farsi <lucafarsi@google.com> 2025-03-12 18:53:44 +0000
commit6a346010a058552b324feffcbba624fe6be5ac63 (patch)
treeb14236ca0bfbb1954b25cb05724aa040751e4971 /ci/optimized_targets.py
parenta8a2da75112bdde35ca68d0942e1bb989e212803 (diff)
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
Diffstat (limited to 'ci/optimized_targets.py')
-rw-r--r--ci/optimized_targets.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/optimized_targets.py b/ci/optimized_targets.py
index 688bdd8370..4b8b453bb7 100644
--- a/ci/optimized_targets.py
+++ b/ci/optimized_targets.py
@@ -42,10 +42,12 @@ class OptimizedBuildTarget(ABC):
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