| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 | 6 |
| 7 if (is_android) { | 7 if (is_android) { |
| 8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
| 9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
| 10 } | 10 } |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 "dragdrop/drop_target_win.h", | 128 "dragdrop/drop_target_win.h", |
| 129 "dragdrop/file_info.cc", | 129 "dragdrop/file_info.cc", |
| 130 "dragdrop/file_info.h", | 130 "dragdrop/file_info.h", |
| 131 "dragdrop/os_exchange_data.cc", | 131 "dragdrop/os_exchange_data.cc", |
| 132 "dragdrop/os_exchange_data.h", | 132 "dragdrop/os_exchange_data.h", |
| 133 "dragdrop/os_exchange_data_provider_mac.h", | 133 "dragdrop/os_exchange_data_provider_mac.h", |
| 134 "dragdrop/os_exchange_data_provider_mac.mm", | 134 "dragdrop/os_exchange_data_provider_mac.mm", |
| 135 "dragdrop/os_exchange_data_provider_win.cc", | 135 "dragdrop/os_exchange_data_provider_win.cc", |
| 136 "dragdrop/os_exchange_data_provider_win.h", | 136 "dragdrop/os_exchange_data_provider_win.h", |
| 137 "hit_test.h", | 137 "hit_test.h", |
| 138 "ime/candidate_window.cc", | |
| 139 "ime/candidate_window.h", | |
| 140 "ime/chromeos/character_composer.cc", | |
| 141 "ime/chromeos/character_composer.h", | |
| 142 "ime/chromeos/ime_bridge.cc", | |
| 143 "ime/chromeos/ime_bridge.h", | |
| 144 "ime/chromeos/ime_keymap.cc", | |
| 145 "ime/chromeos/ime_keymap.h", | |
| 146 "ime/chromeos/mock_ime_candidate_window_handler.cc", | |
| 147 "ime/chromeos/mock_ime_candidate_window_handler.h", | |
| 148 "ime/chromeos/mock_ime_engine_handler.cc", | |
| 149 "ime/chromeos/mock_ime_engine_handler.h", | |
| 150 "ime/chromeos/mock_ime_input_context_handler.cc", | |
| 151 "ime/chromeos/mock_ime_input_context_handler.h", | |
| 152 "ime/composition_text.cc", | |
| 153 "ime/composition_text.h", | |
| 154 "ime/composition_text_util_pango.cc", | |
| 155 "ime/composition_text_util_pango.h", | |
| 156 "ime/composition_underline.h", | |
| 157 "ime/dummy_input_method_delegate.cc", | |
| 158 "ime/dummy_input_method_delegate.h", | |
| 159 "ime/infolist_entry.cc", | |
| 160 "ime/infolist_entry.h", | |
| 161 "ime/input_method.h", | |
| 162 "ime/input_method_auralinux.cc", | |
| 163 "ime/input_method_auralinux.h", | |
| 164 "ime/input_method_base.cc", | |
| 165 "ime/input_method_base.h", | |
| 166 "ime/input_method_chromeos.cc", | |
| 167 "ime/input_method_chromeos.h", | |
| 168 "ime/input_method_delegate.h", | |
| 169 "ime/input_method_factory.cc", | |
| 170 "ime/input_method_factory.h", | |
| 171 "ime/input_method_initializer.cc", | |
| 172 "ime/input_method_initializer.h", | |
| 173 "ime/input_method_mac.h", | |
| 174 "ime/input_method_mac.mm", | |
| 175 "ime/input_method_minimal.cc", | |
| 176 "ime/input_method_minimal.h", | |
| 177 "ime/input_method_observer.h", | |
| 178 "ime/input_method_win.cc", | |
| 179 "ime/input_method_win.h", | |
| 180 "ime/linux/fake_input_method_context.cc", | |
| 181 "ime/linux/fake_input_method_context.h", | |
| 182 "ime/linux/fake_input_method_context_factory.cc", | |
| 183 "ime/linux/fake_input_method_context_factory.h", | |
| 184 "ime/linux/linux_input_method_context.h", | |
| 185 "ime/linux/linux_input_method_context_factory.cc", | |
| 186 "ime/linux/linux_input_method_context_factory.h", | |
| 187 "ime/mock_input_method.cc", | |
| 188 "ime/mock_input_method.h", | |
| 189 "ime/remote_input_method_delegate_win.h", | |
| 190 "ime/remote_input_method_win.cc", | |
| 191 "ime/remote_input_method_win.h", | |
| 192 "ime/text_input_client.cc", | |
| 193 "ime/text_input_client.h", | |
| 194 "ime/text_input_focus_manager.cc", | |
| 195 "ime/text_input_focus_manager.h", | |
| 196 "ime/text_input_type.h", | |
| 197 "ime/win/imm32_manager.cc", | |
| 198 "ime/win/imm32_manager.h", | |
| 199 "ime/win/tsf_input_scope.cc", | |
| 200 "ime/win/tsf_input_scope.h", | |
| 201 "l10n/formatter.cc", | 138 "l10n/formatter.cc", |
| 202 "l10n/formatter.h", | 139 "l10n/formatter.h", |
| 203 "l10n/l10n_font_util.cc", | 140 "l10n/l10n_font_util.cc", |
| 204 "l10n/l10n_font_util.h", | 141 "l10n/l10n_font_util.h", |
| 205 "l10n/l10n_util.cc", | 142 "l10n/l10n_util.cc", |
| 206 "l10n/l10n_util.h", | 143 "l10n/l10n_util.h", |
| 207 "l10n/l10n_util_android.cc", | 144 "l10n/l10n_util_android.cc", |
| 208 "l10n/l10n_util_android.h", | 145 "l10n/l10n_util_android.h", |
| 209 "l10n/l10n_util_collator.h", | 146 "l10n/l10n_util_collator.h", |
| 210 "l10n/l10n_util_mac.h", | 147 "l10n/l10n_util_mac.h", |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 "//ui/resources", | 288 "//ui/resources", |
| 352 "//ui/strings", | 289 "//ui/strings", |
| 353 "//url", | 290 "//url", |
| 354 ] | 291 ] |
| 355 | 292 |
| 356 if (is_ios) { | 293 if (is_ios) { |
| 357 sources += [ | 294 sources += [ |
| 358 "l10n/l10n_util_mac.h", | 295 "l10n/l10n_util_mac.h", |
| 359 "l10n/l10n_util_mac.mm", | 296 "l10n/l10n_util_mac.mm", |
| 360 ] | 297 ] |
| 298 } else { |
| 299 deps += [ "//ui/base/ime" ] |
| 361 } | 300 } |
| 362 | 301 |
| 363 if (toolkit_views) { | 302 if (toolkit_views) { |
| 364 deps += [ | 303 deps += [ |
| 365 "//ui/events", | 304 "//ui/events", |
| 366 ] | 305 ] |
| 367 } | 306 } |
| 368 | 307 |
| 369 if (use_x11 && use_aura) { | 308 if (use_x11 && use_aura) { |
| 370 sources += [ | 309 sources += [ |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 | 358 |
| 420 if ((is_linux && !is_chromeos) || is_chromeos) { | 359 if ((is_linux && !is_chromeos) || is_chromeos) { |
| 421 if (!toolkit_views && !use_aura) { | 360 if (!toolkit_views && !use_aura) { |
| 422 sources -= [ | 361 sources -= [ |
| 423 "dragdrop/drag_utils.cc", | 362 "dragdrop/drag_utils.cc", |
| 424 "dragdrop/drag_utils.h", | 363 "dragdrop/drag_utils.h", |
| 425 ] | 364 ] |
| 426 } | 365 } |
| 427 } | 366 } |
| 428 | 367 |
| 429 if (use_pango) { | |
| 430 configs += [ | |
| 431 "//build/config/linux:pangocairo", | |
| 432 ] | |
| 433 } else { | |
| 434 sources -= [ | |
| 435 "ime/composition_text_util_pango.cc", | |
| 436 "ime/composition_text_util_pango.h", | |
| 437 ] | |
| 438 } | |
| 439 | |
| 440 if (is_chromeos || (use_aura && is_linux && !use_x11)) { | 368 if (is_chromeos || (use_aura && is_linux && !use_x11)) { |
| 441 sources += [ | 369 sources += [ |
| 442 "dragdrop/os_exchange_data_provider_aura.cc", | 370 "dragdrop/os_exchange_data_provider_aura.cc", |
| 443 "dragdrop/os_exchange_data_provider_aura.h", | 371 "dragdrop/os_exchange_data_provider_aura.h", |
| 444 ] | 372 ] |
| 445 } | 373 } |
| 446 | 374 |
| 447 libs = [] | 375 libs = [] |
| 448 if (is_win) { | 376 if (is_win) { |
| 449 sources += [ | 377 sources += [ |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 } | 409 } |
| 482 } | 410 } |
| 483 | 411 |
| 484 if (is_mac) { | 412 if (is_mac) { |
| 485 deps += [ | 413 deps += [ |
| 486 #TODO(tfarina): port this third_party component to GN. | 414 #TODO(tfarina): port this third_party component to GN. |
| 487 #"//third_party/mozilla", | 415 #"//third_party/mozilla", |
| 488 ] | 416 ] |
| 489 | 417 |
| 490 sources -= [ | 418 sources -= [ |
| 419 "cursor/image_cursors.cc", |
| 420 "cursor/image_cursors.h", |
| 491 "dragdrop/drag_utils.cc", | 421 "dragdrop/drag_utils.cc", |
| 492 "dragdrop/drag_utils.h", | 422 "dragdrop/drag_utils.h", |
| 493 ] | 423 ] |
| 494 | 424 |
| 495 libs += [ | 425 libs += [ |
| 496 "Accelerate.framework", | 426 "Accelerate.framework", |
| 497 "AudioUnit.framework", | 427 "AudioUnit.framework", |
| 498 "CoreVideo.framework", | 428 "CoreVideo.framework", |
| 499 ] | 429 ] |
| 500 } | 430 } |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 636 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java", | 566 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java", |
| 637 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java", | 567 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java", |
| 638 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java", | 568 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java", |
| 639 "../android/java/src/org/chromium/ui/base/TouchDevice.java", | 569 "../android/java/src/org/chromium/ui/base/TouchDevice.java", |
| 640 "../android/java/src/org/chromium/ui/base/ViewAndroid.java", | 570 "../android/java/src/org/chromium/ui/base/ViewAndroid.java", |
| 641 "../android/java/src/org/chromium/ui/base/WindowAndroid.java", | 571 "../android/java/src/org/chromium/ui/base/WindowAndroid.java", |
| 642 ] | 572 ] |
| 643 jni_package = "base" | 573 jni_package = "base" |
| 644 } | 574 } |
| 645 } | 575 } |
| OLD | NEW |