Skip to content

Commit

Permalink
Add visibility to mozc_win_build_target
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroyuki-komatsu committed Dec 18, 2024
1 parent 0ce43b6 commit 03d764d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/build_defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,9 @@ _mozc_win_build_rule = rule(
),
"static_crt": attr.bool(),
"cpu": attr.string(),
"visibility": attr.label_list(
default = ["//visibility:private"],
),
},
)

Expand Down Expand Up @@ -343,7 +346,7 @@ def mozc_win32_cc_prod_binary(
tags = MOZC_TAGS.WIN_ONLY,
win_def_file = None, # @unused
target_compatible_with = ["@platforms//os:windows"],
visibility = ["//visibility:public"],
visibility = None,
**kwargs):
"""A rule to build production binaries for Windows.
Expand Down Expand Up @@ -388,6 +391,7 @@ def mozc_win32_cc_prod_binary(
static_crt = static_crt,
target_compatible_with = target_compatible_with,
tags = tags,
visibility = visibility,
**kwargs
)

Expand Down

0 comments on commit 03d764d

Please sign in to comment.