Skip to content

Commit

Permalink
Fix the build errors for the OSS build.
Browse files Browse the repository at this point in the history
* Follow-up to cl/565289223 and cl/569088755.

PiperOrigin-RevId: 569547801
  • Loading branch information
hiroyuki-komatsu committed Sep 29, 2023
1 parent 2494968 commit 9dd7bf2
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion src/spelling/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ mozc_cc_library(
"//protocol:commands_cc_proto",
"//protocol:engine_builder_cc_proto",
"@com_google_absl//absl/algorithm:container",
"@com_google_absl//absl/base:no_destructor",
"@com_google_absl//absl/container:flat_hash_set",
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings",
Expand All @@ -130,6 +129,33 @@ mozc_cc_binary(
":spellchecker_service_interface",
":spellchecker_service_registration",
"//protocol:commands_cc_proto",
"//protocol:engine_builder_cc_proto",
"@com_google_absl//absl/flags:flag",
"@com_google_absl//absl/strings",
],
)

mozc_cc_test(
name = "spellchecker_service_test",
size = "small",
srcs = ["spellchecker_service_test.cc"],
tags = [
"nomac",
"nowin",
],
target_compatible_with = mozc_select(
default = [],
macos = ["@platforms//:incompatible"],
windows = ["@platforms//:incompatible"],
),
deps = [
":spellchecker_service",
"//base:file_stream",
"//base:file_util",
"//base:file_util_mock",
"//base:util",
"//converter:segments",
"//protocol:commands_cc_proto",
"//testing:gunit_main",
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings",
Expand Down

0 comments on commit 9dd7bf2

Please sign in to comment.