Skip to content

Commit

Permalink
Replace cfg = "host" with cfg = "exec"
Browse files Browse the repository at this point in the history
  • Loading branch information
cushon committed Apr 12, 2024
1 parent b7ef449 commit 95fa1ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gax-java/gax_java.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ google_java_format_verification = rule(
"srcs": attr.label_list(allow_files = True),
"formatter": attr.label(
executable = True,
cfg = "host",
cfg = "exec",
),
},
outputs = {"output_file": "%{name}.txt"},
Expand Down
4 changes: 2 additions & 2 deletions rules_java_gapic/java_gapic.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ _java_gapic_postprocess_srcjar = rule(
"formatter": attr.label(
default = Label("//:google_java_format_binary"),
executable = True,
cfg = "host",
cfg = "exec",
),
},
outputs = {
Expand Down Expand Up @@ -152,7 +152,7 @@ _java_gapic_samples_srcjar = rule(
"formatter": attr.label(
default = Label("//:google_java_format_binary"),
executable = True,
cfg = "host",
cfg = "exec",
),
},
outputs = {
Expand Down

0 comments on commit 95fa1ff

Please sign in to comment.