Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline mozc_win_build_target in build_defs.bzl #1160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yukawa
Copy link
Collaborator

@yukawa yukawa commented Jan 8, 2025

Description

This follows up to our previous commit (bc546b2), which intended to be a preparation to merge #1109 to address #1108.

As another preparation this commit aims to simplify build_defs.bzl by inlining mozc_win_build_target into mozc_win32_cc_prod_binary.

There must be no change in the final artifacts.

Issue IDs

Steps to test new behaviors (if any)

A clear and concise description about how to verify new behaviors (if any).

  • OS: Windows 11 24H2
  • Steps:
    1. Make sure we can build Mozc for Windows with Bazel.

This follows up to our previous commit [1], which intended to be a
preparation to merge google#1109 to address google#1108.

As another preparation this commit aims to simplify 'build_defs.bzl' by
inlining 'mozc_win_build_target' into 'mozc_win32_cc_prod_binary'.

There must be no change in the final artifacts.

 [1]: bc546b2
@@ -382,6 +306,19 @@ def mozc_win32_cc_prod_binary(
visibility: optional. The visibility of the target.
**kwargs: other arguments passed to mozc_cc_binary.
"""
mandatory_target_compatible_with = [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move this block (line 309 - 321) after mozc_cc_binary (line 322 - 336) to keep the consistency with the current implementation. It causes an error in my environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants