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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 'idle/idle.cc', | 193 'idle/idle.cc', |
194 'idle/idle_chromeos.cc', | 194 'idle/idle_chromeos.cc', |
195 'idle/idle.h', | 195 'idle/idle.h', |
196 'idle/idle_linux.cc', | 196 'idle/idle_linux.cc', |
197 'idle/idle_mac.mm', | 197 'idle/idle_mac.mm', |
198 'idle/idle_query_x11.cc', | 198 'idle/idle_query_x11.cc', |
199 'idle/idle_query_x11.h', | 199 'idle/idle_query_x11.h', |
200 'idle/idle_win.cc', | 200 'idle/idle_win.cc', |
201 'idle/screensaver_window_finder_x11.cc', | 201 'idle/screensaver_window_finder_x11.cc', |
202 'idle/screensaver_window_finder_x11.h', | 202 'idle/screensaver_window_finder_x11.h', |
| 203 'ime/candidate_window.cc', |
| 204 'ime/candidate_window.h', |
| 205 'ime/chromeos/character_composer.cc', |
| 206 'ime/chromeos/character_composer.h', |
| 207 'ime/chromeos/component_extension_ime_manager.cc', |
| 208 'ime/chromeos/component_extension_ime_manager.h', |
| 209 'ime/chromeos/composition_text.cc', |
| 210 'ime/chromeos/composition_text.h', |
| 211 'ime/chromeos/extension_ime_util.cc', |
| 212 'ime/chromeos/extension_ime_util.h', |
| 213 'ime/chromeos/fake_ime_keyboard.cc', |
| 214 'ime/chromeos/fake_ime_keyboard.h', |
| 215 'ime/chromeos/fake_input_method_delegate.cc', |
| 216 'ime/chromeos/fake_input_method_delegate.h', |
| 217 'ime/chromeos/ime_bridge.cc', |
| 218 'ime/chromeos/ime_bridge.h', |
| 219 'ime/chromeos/ime_keyboard.cc', |
| 220 'ime/chromeos/ime_keyboard.h', |
| 221 'ime/chromeos/ime_keyboard_ozone.cc', |
| 222 'ime/chromeos/ime_keyboard_ozone.h', |
| 223 'ime/chromeos/ime_keyboard_x11.cc', |
| 224 'ime/chromeos/ime_keyboard_x11.h', |
| 225 'ime/chromeos/ime_keymap.cc', |
| 226 'ime/chromeos/ime_keymap.h', |
| 227 'ime/chromeos/input_method_delegate.h', |
| 228 'ime/chromeos/input_method_descriptor.cc', |
| 229 'ime/chromeos/input_method_descriptor.h', |
| 230 'ime/chromeos/input_method_manager.cc', |
| 231 'ime/chromeos/input_method_manager.h', |
| 232 'ime/chromeos/input_method_whitelist.cc', |
| 233 'ime/chromeos/input_method_whitelist.h', |
| 234 'ime/chromeos/mock_component_extension_ime_manager_delegate.cc', |
| 235 'ime/chromeos/mock_component_extension_ime_manager_delegate.h', |
| 236 'ime/chromeos/mock_ime_candidate_window_handler.cc', |
| 237 'ime/chromeos/mock_ime_candidate_window_handler.h', |
| 238 'ime/chromeos/mock_ime_engine_handler.cc', |
| 239 'ime/chromeos/mock_ime_engine_handler.h', |
| 240 'ime/chromeos/mock_ime_input_context_handler.cc', |
| 241 'ime/chromeos/mock_ime_input_context_handler.h', |
| 242 'ime/composition_text.cc', |
| 243 'ime/composition_text.h', |
| 244 'ime/composition_text_util_pango.cc', |
| 245 'ime/composition_text_util_pango.h', |
| 246 'ime/composition_underline.h', |
| 247 'ime/dummy_input_method_delegate.cc', |
| 248 'ime/dummy_input_method_delegate.h', |
| 249 'ime/infolist_entry.cc', |
| 250 'ime/infolist_entry.h', |
| 251 'ime/input_method.h', |
| 252 'ime/input_method_auralinux.cc', |
| 253 'ime/input_method_auralinux.h', |
| 254 'ime/input_method_base.cc', |
| 255 'ime/input_method_base.h', |
| 256 'ime/input_method_chromeos.cc', |
| 257 'ime/input_method_chromeos.h', |
| 258 'ime/input_method_delegate.h', |
| 259 'ime/input_method_factory.cc', |
| 260 'ime/input_method_factory.h', |
| 261 'ime/input_method_initializer.cc', |
| 262 'ime/input_method_initializer.h', |
| 263 'ime/input_method_mac.h', |
| 264 'ime/input_method_mac.mm', |
| 265 'ime/input_method_minimal.cc', |
| 266 'ime/input_method_minimal.h', |
| 267 'ime/input_method_observer.h', |
| 268 'ime/input_method_win.cc', |
| 269 'ime/input_method_win.h', |
| 270 'ime/linux/fake_input_method_context.cc', |
| 271 'ime/linux/fake_input_method_context.h', |
| 272 'ime/linux/fake_input_method_context_factory.cc', |
| 273 'ime/linux/fake_input_method_context_factory.h', |
| 274 'ime/linux/linux_input_method_context.h', |
| 275 'ime/linux/linux_input_method_context_factory.cc', |
| 276 'ime/linux/linux_input_method_context_factory.h', |
| 277 'ime/mock_input_method.cc', |
| 278 'ime/mock_input_method.h', |
| 279 'ime/remote_input_method_delegate_win.h', |
| 280 'ime/remote_input_method_win.cc', |
| 281 'ime/remote_input_method_win.h', |
| 282 'ime/text_input_client.cc', |
| 283 'ime/text_input_client.h', |
| 284 'ime/text_input_focus_manager.cc', |
| 285 'ime/text_input_focus_manager.h', |
| 286 'ime/text_input_type.h', |
| 287 'ime/win/imm32_manager.cc', |
| 288 'ime/win/imm32_manager.h', |
| 289 'ime/win/tsf_input_scope.cc', |
| 290 'ime/win/tsf_input_scope.h', |
203 'l10n/formatter.cc', | 291 'l10n/formatter.cc', |
204 'l10n/formatter.h', | 292 'l10n/formatter.h', |
205 'l10n/l10n_font_util.cc', | 293 'l10n/l10n_font_util.cc', |
206 'l10n/l10n_font_util.h', | 294 'l10n/l10n_font_util.h', |
207 'l10n/l10n_util.cc', | 295 'l10n/l10n_util.cc', |
208 'l10n/l10n_util.h', | 296 'l10n/l10n_util.h', |
209 'l10n/l10n_util_android.cc', | 297 'l10n/l10n_util_android.cc', |
210 'l10n/l10n_util_android.h', | 298 'l10n/l10n_util_android.h', |
211 'l10n/l10n_util_collator.h', | 299 'l10n/l10n_util_collator.h', |
212 'l10n/l10n_util_mac.h', | 300 'l10n/l10n_util_mac.h', |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 ], | 575 ], |
488 'AdditionalDependencies': [ | 576 'AdditionalDependencies': [ |
489 'd2d1.lib', | 577 'd2d1.lib', |
490 'd3d10_1.lib', | 578 'd3d10_1.lib', |
491 'dwmapi.lib', | 579 'dwmapi.lib', |
492 ], | 580 ], |
493 }, | 581 }, |
494 }, | 582 }, |
495 'link_settings': { | 583 'link_settings': { |
496 'libraries': [ | 584 'libraries': [ |
| 585 '-limm32.lib', |
497 '-ld2d1.lib', | 586 '-ld2d1.lib', |
498 '-ldwmapi.lib', | 587 '-ldwmapi.lib', |
499 '-loleacc.lib', | 588 '-loleacc.lib', |
500 ], | 589 ], |
501 }, | 590 }, |
502 }, { # OS!="win" | 591 }, { # OS!="win" |
503 'conditions': [ | 592 'conditions': [ |
504 ['use_aura==0', { | 593 ['use_aura==0', { |
505 'sources!': [ | 594 'sources!': [ |
506 'view_prop.cc', | 595 'view_prop.cc', |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
610 'libraries': [ | 699 'libraries': [ |
611 '-ldl', | 700 '-ldl', |
612 ], | 701 ], |
613 }], | 702 }], |
614 ['use_system_icu==1', { | 703 ['use_system_icu==1', { |
615 # When using the system icu, the icu targets generate shim headers | 704 # When using the system icu, the icu targets generate shim headers |
616 # which are included by public headers in the ui target, so we need | 705 # which are included by public headers in the ui target, so we need |
617 # ui to be a hard dependency for all its users. | 706 # ui to be a hard dependency for all its users. |
618 'hard_dependency': 1, | 707 'hard_dependency': 1, |
619 }], | 708 }], |
| 709 ['toolkit_views==0 and use_aura==0', { |
| 710 'sources!': [ |
| 711 'ime/input_method_factory.cc', |
| 712 'ime/input_method_factory.h', |
| 713 'ime/input_method_minimal.cc', |
| 714 'ime/input_method_minimal.h', |
| 715 ], |
| 716 }], |
620 ['chromeos==1', { | 717 ['chromeos==1', { |
621 'dependencies': [ | 718 'dependencies': [ |
622 '../../chromeos/chromeos.gyp:chromeos', | 719 '../../chromeos/chromeos.gyp:chromeos', |
623 ], | 720 ], |
624 'sources!': [ | 721 'sources!': [ |
625 'idle/idle_linux.cc', | 722 'idle/idle_linux.cc', |
626 'idle/idle_query_x11.cc', | 723 'idle/idle_query_x11.cc', |
627 'idle/idle_query_x11.h', | 724 'idle/idle_query_x11.h', |
628 'idle/screensaver_window_finder_x11.cc', | 725 'idle/screensaver_window_finder_x11.cc', |
629 'idle/screensaver_window_finder_x11.h', | 726 'idle/screensaver_window_finder_x11.h', |
630 ], | 727 ], |
631 }], | 728 }], |
| 729 ['OS!="win"', { |
| 730 'sources!': [ |
| 731 'ime/input_method_imm32.cc', |
| 732 'ime/input_method_imm32.h', |
| 733 ], |
| 734 }], |
| 735 ['use_aura==0 or (desktop_linux==0 and use_ozone==0)', { |
| 736 'sources!': [ |
| 737 'ime/input_method_auralinux.cc', |
| 738 'ime/input_method_auralinux.h', |
| 739 'ime/linux/fake_input_method_context.cc', |
| 740 'ime/linux/fake_input_method_context.h', |
| 741 'ime/linux/fake_input_method_context_factory.cc', |
| 742 'ime/linux/fake_input_method_context_factory.h', |
| 743 'ime/linux/linux_input_method_context.h', |
| 744 'ime/linux/linux_input_method_context_factory.cc', |
| 745 'ime/linux/linux_input_method_context_factory.h', |
| 746 ], |
| 747 }], |
| 748 ['use_x11==0', { |
| 749 'sources!': [ |
| 750 'ime/composition_text_util_pango.cc', |
| 751 'ime/composition_text_util_pango.h', |
| 752 ], |
| 753 }], |
632 ], | 754 ], |
633 }, | 755 }, |
634 { | 756 { |
635 # GN version: //ui/base:test_support | 757 # GN version: //ui/base:test_support |
636 'target_name': 'ui_base_test_support', | 758 'target_name': 'ui_base_test_support', |
637 'dependencies': [ | 759 'dependencies': [ |
638 '../../base/base.gyp:base', | 760 '../../base/base.gyp:base', |
639 '../../skia/skia.gyp:skia', | 761 '../../skia/skia.gyp:skia', |
640 '../../testing/gtest.gyp:gtest', | 762 '../../testing/gtest.gyp:gtest', |
641 '../gfx/gfx.gyp:gfx', | 763 '../gfx/gfx.gyp:gfx', |
642 '../gfx/gfx.gyp:gfx_geometry', | 764 '../gfx/gfx.gyp:gfx_geometry', |
643 ], | 765 ], |
644 'sources': [ | 766 'sources': [ |
645 # Note: file list duplicated in GN build. | 767 # Note: file list duplicated in GN build. |
646 'test/test_clipboard.cc', | 768 'test/test_clipboard.cc', |
647 'test/test_clipboard.h', | 769 'test/test_clipboard.h', |
648 'test/ui_controls.h', | 770 'test/ui_controls.h', |
649 'test/ui_controls_aura.cc', | 771 'test/ui_controls_aura.cc', |
650 'test/ui_controls_internal_win.cc', | 772 'test/ui_controls_internal_win.cc', |
651 'test/ui_controls_internal_win.h', | 773 'test/ui_controls_internal_win.h', |
652 'test/ui_controls_mac.mm', | 774 'test/ui_controls_mac.mm', |
653 'test/ui_controls_win.cc', | 775 'test/ui_controls_win.cc', |
654 ], | 776 ], |
655 'include_dirs': [ | 777 'include_dirs': [ |
656 '../..', | 778 '../..', |
657 ], | 779 ], |
658 'conditions': [ | 780 'conditions': [ |
659 ['OS!="ios"', { | 781 ['OS!="ios"', { |
660 'type': 'static_library', | 782 'type': 'static_library', |
661 'dependecies': [ | |
662 'ime/ui_base_ime.gyp:ui_base_ime', | |
663 ], | |
664 'sources': [ | 783 'sources': [ |
665 'ime/dummy_input_method.cc', | 784 'ime/dummy_input_method.cc', |
666 'ime/dummy_input_method.h', | 785 'ime/dummy_input_method.h', |
667 'ime/dummy_text_input_client.cc', | 786 'ime/dummy_text_input_client.cc', |
668 'ime/dummy_text_input_client.h', | 787 'ime/dummy_text_input_client.h', |
669 ], | 788 ], |
670 }, { # OS=="ios" | 789 }, { # OS=="ios" |
671 # None of the sources in this target are built on iOS, resulting in | 790 # None of the sources in this target are built on iOS, resulting in |
672 # link errors when building targets that depend on this target | 791 # link errors when building targets that depend on this target |
673 # because the static library isn't found. If this target is changed | 792 # because the static library isn't found. If this target is changed |
(...skipping 30 matching lines...) Expand all Loading... |
704 ], | 823 ], |
705 'variables': { | 824 'variables': { |
706 'jni_gen_package': 'ui', | 825 'jni_gen_package': 'ui', |
707 }, | 826 }, |
708 'includes': [ '../../build/jni_generator.gypi' ], | 827 'includes': [ '../../build/jni_generator.gypi' ], |
709 }, | 828 }, |
710 ], | 829 ], |
711 }], | 830 }], |
712 ], | 831 ], |
713 } | 832 } |
OLD | NEW |