Skip to content

Commit

Permalink
Temporarily revert //win32/installer:artifacts
Browse files Browse the repository at this point in the history
This is a follow up commit to my previous commits, which added

  //win32/installer:artifacts

target to build Mozc with Bazel on Windows (google#948).

It seems that it has caused some build errors in other platforms.
Let's revert them back until we figure out how to solve the issue.

#codehealth

PiperOrigin-RevId: 646670786
  • Loading branch information
yukawa authored and hiroyuki-komatsu committed Jun 26, 2024
1 parent 3f1570b commit ff64988
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 75 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
env:
ANDROID_NDK_HOME: ""
run: |
bazel --bazelrc=windows.bazelrc build //win32/installer:artifacts --config oss_windows --verbose_failures --cpu=x64_windows
bazel --bazelrc=windows.bazelrc build //server:mozc_server --config oss_windows --verbose_failures --cpu=x64_windows
test:
# https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
Expand Down
74 changes: 0 additions & 74 deletions src/win32/installer/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -28,77 +28,3 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

# Build rules for the Windows installer.

load(
"//:build_defs.bzl",
"CPU",
"mozc_win_build_rule",
)

package(default_visibility = ["//visibility:private"])

mozc_win_build_rule(
name = "mozc_tool",
cpu = CPU.X64,
target = "//gui/tool:mozc_tool",
)

mozc_win_build_rule(
name = "mozc_renderer",
cpu = CPU.X64,
target = "//renderer/win32:win32_renderer_main",
)

mozc_win_build_rule(
name = "mozc_server",
cpu = CPU.X64,
target = "//server:mozc_server",
)

mozc_win_build_rule(
name = "mozc_broker",
cpu = CPU.X64,
target = "//win32/broker:mozc_broker_main",
)

mozc_win_build_rule(
name = "mozc_cache_service",
cpu = CPU.X64,
target = "//win32/cache_service:mozc_cache_service",
)

mozc_win_build_rule(
name = "mozc_tip32",
cpu = CPU.X86,
static_crt = True,
target = "//win32/tip:mozc_tip",
)

mozc_win_build_rule(
name = "mozc_tip64",
cpu = CPU.X64,
static_crt = True,
target = "//win32/tip:mozc_tip",
)

mozc_win_build_rule(
name = "custom_action",
cpu = CPU.X64,
static_crt = True,
target = "//win32/custom_action",
)

filegroup(
name = "executables",
srcs = [
":custom_action",
":mozc_broker",
":mozc_cache_service",
":mozc_renderer",
":mozc_server",
":mozc_tip32",
":mozc_tip64",
":mozc_tool",
],
target_compatible_with = ["@platforms//os:windows"],
)

0 comments on commit ff64988

Please sign in to comment.