From 9442f9e25f22d3b4af0406aaa4b9fed9488455f2 Mon Sep 17 00:00:00 2001 From: ThomasCJY Date: Tue, 28 Feb 2023 17:14:31 -0800 Subject: [PATCH] upstream fix --- aspect/intellij_info_impl.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspect/intellij_info_impl.bzl b/aspect/intellij_info_impl.bzl index dac4bdd45ba..54842ba2fa4 100644 --- a/aspect/intellij_info_impl.bzl +++ b/aspect/intellij_info_impl.bzl @@ -846,7 +846,7 @@ def _collect_android_ide_info(target, ctx, semantics, ide_info, ide_info_file, o instruments = None if hasattr(ctx.rule.attr, "instruments") and ctx.rule.attr.instruments: - instruments = str(ctx.rule.attr.instruments.label) + instruments = str(stringify_label(ctx.rule.attr.instruments.label)) render_resolve_jar = None if android_semantics and hasattr(android_semantics, "build_render_resolve_jar"): @@ -891,7 +891,7 @@ def _collect_android_instrumentation_info(target, ctx, semantics, ide_info, ide_ return False android_instrumentation_info = struct_omit_none( - test_app = str(ctx.rule.attr.test_app.label), + test_app = str(stringify_label(ctx.rule.attr.test_app.label)), target_device = str(ctx.rule.attr.target_device.label), ) ide_info["android_instrumentation_info"] = android_instrumentation_info