forked from google/mozc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a rule to build Windows executables w/ custom build configs
This CL adds a custom rule `mozc_win_build_rule` to build Windows executables with the given build configurations. This rule is necessary to build Windows executables with the correct build configurations, such as the CPU architecture and the CRT library. For instance, the following build rule tells Bazel to have "custom_action" target with "x64_windows" CPU architecture and with statically linking to MSVC C++ runtime. mozc_win_build_rule( name = "custom_action", target = "//win32/custom_action:custom_action", cpu = "x64_windows", static_crt = True, ) This CL is a part of the effort to migrate the Windows build system from GYP to Bazel (google#948). #codehealth PiperOrigin-RevId: 646324022
- Loading branch information
1 parent
703a7f8
commit 5efa371
Showing
2 changed files
with
89 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters