Commit 217a18de authored by Leo Zhang's avatar Leo Zhang Committed by Commit Bot

Update IME shared lib names.

Replace unused build flag with sanity test flag, which is used to
enable sanity tests.

Bug: 837156
Change-Id: I66d5dae07cf02b0e8a8e139358f3f0d427acd90b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1723571
Auto-Submit: Leo Zhang <googleo@chromium.org>
Reviewed-by: default avatarDavid Vallet <dvallet@chromium.org>
Commit-Queue: David Vallet <dvallet@chromium.org>
Cr-Commit-Position: refs/heads/master@{#682586}
parent c1b4180b
......@@ -14,11 +14,11 @@ namespace ime {
namespace {
// TODO(https://crbug.com/837156): Use define instead.
#if BUILDFLAG(ENABLE_CROS_IME_EXAMPLE_SO)
const char kDecoderLibName[] = "input_decoder_example";
#if BUILDFLAG(ENABLE_CROS_IME_SANITY_TEST_SO)
// This is for development purposes only.
const char kDecoderLibName[] = "imesanitytest";
#else
const char kDecoderLibName[] = "input_decoder_engine";
const char kDecoderLibName[] = "imedecoder";
#endif
// A client delegate that makes calls on client side.
......
......@@ -10,8 +10,8 @@ buildflag_header("buildflags") {
flags = [
"ENABLE_CROS_IME_DECODER=$enable_cros_ime_decoder",
"ENABLE_CROS_IME_EXAMPLE_SO=$enable_cros_ime_example_so",
"ENABLE_CROS_IME_SHARED_DATA=$enable_cros_ime_shared_data",
"ENABLE_CROS_IME_SANITY_TEST_SO=$enable_cros_ime_sanity_test_so",
]
}
......
......@@ -6,10 +6,10 @@ declare_args() {
# Enable a full featured IME implementation with decoders.
enable_cros_ime_decoder = false
# Enable build an example deocder shared library from local checkout.
# This is for development purposes only.
enable_cros_ime_example_so = false
# Enable share language modules between IME services.
enable_cros_ime_shared_data = false
# Enable to load a shared library for sanity tests only.
# This is for debugging purposes only.
enable_cros_ime_sanity_test_so = false
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment