Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Unified Diff: ui/base/BUILD.gn

Issue 2919583002: chromeos: Move InputMethodUtil into //ui/base/ime/chromeos (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | ui/base/ime/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/BUILD.gn
diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn
index 05cb33baac5cd928c06cdca8923e9ea1fe4718ca..741d8561ad05434633faf728b957aa4cda2b93d8 100644
--- a/ui/base/BUILD.gn
+++ b/ui/base/BUILD.gn
@@ -686,13 +686,6 @@ static_library("test_support") {
sources += [ "test/user_interactive_test_case.cc" ]
}
- if (is_chromeos) {
- sources += [
- "ime/chromeos/mock_input_method_manager.cc",
- "ime/chromeos/mock_input_method_manager.h",
- ]
- }
-
public_deps = [
":base",
]
@@ -722,6 +715,19 @@ static_library("test_support") {
]
}
+ if (is_chromeos) {
+ sources += [
+ "ime/chromeos/input_method_whitelist.cc",
+ "ime/chromeos/input_method_whitelist.h",
+ "ime/chromeos/mock_input_method_manager.cc",
+ "ime/chromeos/mock_input_method_manager.h",
+ ]
+ deps += [
+ # Generates a header used by input_method_whitelist.cc
+ "//chromeos/ime:gencode",
+ ]
+ }
+
if (!use_aura) {
sources -= [
"test/ui_controls_aura.cc",
@@ -835,6 +841,7 @@ test("ui_base_unittests") {
sources += [
"ime/candidate_window_unittest.cc",
"ime/chromeos/character_composer_unittest.cc",
+ "ime/chromeos/input_method_util_unittest.cc",
"ime/composition_text_unittest.cc",
"ime/input_method_base_unittest.cc",
"ime/input_method_chromeos_unittest.cc",
« no previous file with comments | « chrome/test/BUILD.gn ('k') | ui/base/ime/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698