From 16a0ef96a4f828b7edd32fed43523f33a5b1fa69 Mon Sep 17 00:00:00 2001 From: A Googler Date: Wed, 28 Feb 2024 12:24:34 -0800 Subject: [PATCH] Adding the source files of installables to the runfiles of `test_fixture`. PiperOrigin-RevId: 611186816 Change-Id: I5e617469856fb02f8be2afc3d2d59d169a76644d --- launcher/test_fixture.bzl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/launcher/test_fixture.bzl b/launcher/test_fixture.bzl index c1afda6..87c2ae7 100644 --- a/launcher/test_fixture.bzl +++ b/launcher/test_fixture.bzl @@ -107,7 +107,8 @@ def _test_fixture_impl(ctx): if not friendly_name: friendly_name = ctx.attr.device_provider.label.name.split("_")[0] extension_targets = ctx.attr.host_plugins + [ctx.attr.test_driver, ctx.attr.device_provider] - depsets = [x[utp_provider.UTPExtensionInfo].files for x in extension_targets] + depsets = ([x[utp_provider.UTPExtensionInfo].files for x in extension_targets] + + [depset(direct = [x[UTPArtifactInfo].source_path for x in ctx.attr.installables])]) runfiles = [x[DefaultInfo].default_runfiles for x in extension_targets] providers = [] if ExpansionsInfo in ctx.attr.device_provider: