Commit ff70bfce authored by Darren Shen's avatar Darren Shen Committed by Commit Bot

ime: Move test-only code in ui/base/ime/chromeos into test_support.

They are currently compiled with the production code even though they
are never used in production.

Bug: 1148157
Change-Id: Ic115540344a42401c40601fd6167d33d2a8362d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2539217Reviewed-by: default avatarMy Nguyen <myy@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#827693}
parent e49fdec1
...@@ -783,6 +783,16 @@ static_library("test_support") { ...@@ -783,6 +783,16 @@ static_library("test_support") {
sources += [ sources += [
"ime/chromeos/input_method_allowlist.cc", "ime/chromeos/input_method_allowlist.cc",
"ime/chromeos/input_method_allowlist.h", "ime/chromeos/input_method_allowlist.h",
"ime/chromeos/mock_component_extension_ime_manager.cc",
"ime/chromeos/mock_component_extension_ime_manager.h",
"ime/chromeos/mock_component_extension_ime_manager_delegate.cc",
"ime/chromeos/mock_component_extension_ime_manager_delegate.h",
"ime/chromeos/mock_ime_candidate_window_handler.cc",
"ime/chromeos/mock_ime_candidate_window_handler.h",
"ime/chromeos/mock_ime_engine_handler.cc",
"ime/chromeos/mock_ime_engine_handler.h",
"ime/chromeos/mock_ime_input_context_handler.cc",
"ime/chromeos/mock_ime_input_context_handler.h",
"ime/chromeos/mock_input_method_manager.cc", "ime/chromeos/mock_input_method_manager.cc",
"ime/chromeos/mock_input_method_manager.h", "ime/chromeos/mock_input_method_manager.h",
] ]
......
...@@ -42,16 +42,6 @@ component("chromeos") { ...@@ -42,16 +42,6 @@ component("chromeos") {
"input_method_manager.h", "input_method_manager.h",
"input_method_util.cc", "input_method_util.cc",
"input_method_util.h", "input_method_util.h",
"mock_component_extension_ime_manager.cc",
"mock_component_extension_ime_manager.h",
"mock_component_extension_ime_manager_delegate.cc",
"mock_component_extension_ime_manager_delegate.h",
"mock_ime_candidate_window_handler.cc",
"mock_ime_candidate_window_handler.h",
"mock_ime_engine_handler.cc",
"mock_ime_engine_handler.h",
"mock_ime_input_context_handler.cc",
"mock_ime_input_context_handler.h",
] ]
defines = [ "IS_UI_BASE_IME_CHROMEOS_IMPL" ] defines = [ "IS_UI_BASE_IME_CHROMEOS_IMPL" ]
......
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