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

Unified Diff: ui/base/BUILD.gn

Issue 699333003: Support InputMethodManager#updateCursorAnchorInfo for Android 5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and handle FocusedNodeChanged for performance optimization Created 5 years, 11 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
Index: ui/base/BUILD.gn
diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn
index 58f2b5fd70f2dc9e387c8cab82043a43289013da..0ab0d1c2ba1cf99f267cbcb470b11fc7bf611e24 100644
--- a/ui/base/BUILD.gn
+++ b/ui/base/BUILD.gn
@@ -308,11 +308,18 @@ component("base") {
]
if (build_ime) {
- if (!is_android) {
+ if (is_android) {
+ deps += [ "//cc" ]
+ } else {
deps += [ "//ui/events" ]
}
sources += [
+ "ime/android/cursor_anchor_info_builder.cc",
+ "ime/android/cursor_anchor_info_builder.h",
+ "ime/android/cursor_anchor_info_controller.cc",
+ "ime/android/cursor_anchor_info_controller.h",
+ "ime/android/cursor_anchor_info_sender.h",
"ime/candidate_window.cc",
"ime/candidate_window.h",
"ime/chromeos/character_composer.cc",
@@ -715,6 +722,7 @@ if (is_android) {
generate_jni("ui_base_jni_headers") {
sources = [
"../android/java/src/org/chromium/ui/base/Clipboard.java",
+ "../android/java/src/org/chromium/ui/base/CursorAnchorInfoBuilder.java",
"../android/java/src/org/chromium/ui/base/DeviceFormFactor.java",
"../android/java/src/org/chromium/ui/base/LocalizationUtils.java",
"../android/java/src/org/chromium/ui/base/ResourceBundle.java",
@@ -781,6 +789,7 @@ if (!is_android) {
if (build_ime) {
sources += [
+ "ime/android/cursor_anchor_info_controller_unittest.cc",
"ime/candidate_window_unittest.cc",
"ime/chromeos/character_composer_unittest.cc",
"ime/input_method_base_unittest.cc",

Powered by Google App Engine
This is Rietveld 408576698