From 55fe9cc92f816f005faf379e4907fe5a6a4223d6 Mon Sep 17 00:00:00 2001 From: Goktug Gokdogan Date: Thu, 14 Nov 2024 10:36:39 -0800 Subject: [PATCH] Add missing wiring for additional_rule_attrs in j2cl_maven_import_external. PiperOrigin-RevId: 696574122 --- build_defs/internal_do_not_use/j2cl_repo.bzl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build_defs/internal_do_not_use/j2cl_repo.bzl b/build_defs/internal_do_not_use/j2cl_repo.bzl index 01b17795c3..bb6db4a45f 100644 --- a/build_defs/internal_do_not_use/j2cl_repo.bzl +++ b/build_defs/internal_do_not_use/j2cl_repo.bzl @@ -76,6 +76,10 @@ def _j2cl_import_external(repository_ctx): prop = prop[:-1] lines.append(" %s = %s," % (prop, repr(value))) + additional_attrs = repository_ctx.attr.additional_rule_attrs + for attr_key in additional_attrs: + lines.append(" %s = %s," % (attr_key, additional_attrs[attr_key])) + lines.append(")") lines.append("")