Skip to content

Commit 9d2f73e

Browse files
hvadehrarules_java Copybara
authored andcommitted
Ignore the exec_group_compatible_with attribute in java_binary transitive validation collection
PiperOrigin-RevId: 722600572 Change-Id: If9b64f65308c16a6d71b8f9cde268f406cdae245
1 parent 93fdd8a commit 9d2f73e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

java/common/rules/impl/java_binary_impl.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,10 +392,13 @@ def _filter_validation_output_group(ctx, output_group):
392392
"plugins",
393393
"translations",
394394
# special ignored attributes
395+
# LINT.IfChange(validation_ignored_attrs)
395396
"compatible_with",
396397
"restricted_to",
397398
"exec_compatible_with",
399+
"exec_group_compatible_with",
398400
"target_compatible_with",
401+
# LINT.ThenChange(//jtcg/devtools/build/lib/rules/java/AbstractJavaBinaryConfiguredTargetTest.java:validation_ignored_attrs)
399402
]
400403
])
401404
if not ctx.attr.create_executable:

0 commit comments

Comments
 (0)