Skip to content

Commit

Permalink
Adding the source files of installables to the runfiles of `test_fixt…
Browse files Browse the repository at this point in the history
…ure`.

PiperOrigin-RevId: 611186816
Change-Id: I5e617469856fb02f8be2afc3d2d59d169a76644d
  • Loading branch information
A Googler authored and copybara-github committed Feb 28, 2024
1 parent 81e178d commit 16a0ef9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion launcher/test_fixture.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 16a0ef9

Please sign in to comment.