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', | |
291 'l10n/formatter.cc', | 203 'l10n/formatter.cc', |
292 'l10n/formatter.h', | 204 'l10n/formatter.h', |
293 'l10n/l10n_font_util.cc', | 205 'l10n/l10n_font_util.cc', |
294 'l10n/l10n_font_util.h', | 206 'l10n/l10n_font_util.h', |
295 'l10n/l10n_util.cc', | 207 'l10n/l10n_util.cc', |
296 'l10n/l10n_util.h', | 208 'l10n/l10n_util.h', |
297 'l10n/l10n_util_android.cc', | 209 'l10n/l10n_util_android.cc', |
298 'l10n/l10n_util_android.h', | 210 'l10n/l10n_util_android.h', |
299 'l10n/l10n_util_collator.h', | 211 'l10n/l10n_util_collator.h', |
300 'l10n/l10n_util_mac.h', | 212 'l10n/l10n_util_mac.h', |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 ], | 487 ], |
576 'AdditionalDependencies': [ | 488 'AdditionalDependencies': [ |
577 'd2d1.lib', | 489 'd2d1.lib', |
578 'd3d10_1.lib', | 490 'd3d10_1.lib', |
579 'dwmapi.lib', | 491 'dwmapi.lib', |
580 ], | 492 ], |
581 }, | 493 }, |
582 }, | 494 }, |
583 'link_settings': { | 495 'link_settings': { |
584 'libraries': [ | 496 'libraries': [ |
585 '-limm32.lib', | |
586 '-ld2d1.lib', | 497 '-ld2d1.lib', |
587 '-ldwmapi.lib', | 498 '-ldwmapi.lib', |
588 '-loleacc.lib', | 499 '-loleacc.lib', |
589 ], | 500 ], |
590 }, | 501 }, |
591 }, { # OS!="win" | 502 }, { # OS!="win" |
592 'conditions': [ | 503 'conditions': [ |
593 ['use_aura==0', { | 504 ['use_aura==0', { |
594 'sources!': [ | 505 'sources!': [ |
595 'view_prop.cc', | 506 'view_prop.cc', |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 'libraries': [ | 610 'libraries': [ |
700 '-ldl', | 611 '-ldl', |
701 ], | 612 ], |
702 }], | 613 }], |
703 ['use_system_icu==1', { | 614 ['use_system_icu==1', { |
704 # When using the system icu, the icu targets generate shim headers | 615 # When using the system icu, the icu targets generate shim headers |
705 # which are included by public headers in the ui target, so we need | 616 # which are included by public headers in the ui target, so we need |
706 # ui to be a hard dependency for all its users. | 617 # ui to be a hard dependency for all its users. |
707 'hard_dependency': 1, | 618 'hard_dependency': 1, |
708 }], | 619 }], |
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 }], | |
717 ['chromeos==1', { | 620 ['chromeos==1', { |
718 'dependencies': [ | 621 'dependencies': [ |
719 '../../chromeos/chromeos.gyp:chromeos', | 622 '../../chromeos/chromeos.gyp:chromeos', |
720 ], | 623 ], |
721 'sources!': [ | 624 'sources!': [ |
722 'idle/idle_linux.cc', | 625 'idle/idle_linux.cc', |
723 'idle/idle_query_x11.cc', | 626 'idle/idle_query_x11.cc', |
724 'idle/idle_query_x11.h', | 627 'idle/idle_query_x11.h', |
725 'idle/screensaver_window_finder_x11.cc', | 628 'idle/screensaver_window_finder_x11.cc', |
726 'idle/screensaver_window_finder_x11.h', | 629 'idle/screensaver_window_finder_x11.h', |
727 ], | 630 ], |
728 }], | 631 }], |
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 }], | |
754 ], | 632 ], |
755 }, | 633 }, |
756 { | 634 { |
757 # GN version: //ui/base:test_support | 635 # GN version: //ui/base:test_support |
758 'target_name': 'ui_base_test_support', | 636 'target_name': 'ui_base_test_support', |
759 'dependencies': [ | 637 'dependencies': [ |
760 '../../base/base.gyp:base', | 638 '../../base/base.gyp:base', |
761 '../../skia/skia.gyp:skia', | 639 '../../skia/skia.gyp:skia', |
762 '../../testing/gtest.gyp:gtest', | 640 '../../testing/gtest.gyp:gtest', |
763 '../gfx/gfx.gyp:gfx', | 641 '../gfx/gfx.gyp:gfx', |
764 '../gfx/gfx.gyp:gfx_geometry', | 642 '../gfx/gfx.gyp:gfx_geometry', |
765 ], | 643 ], |
766 'sources': [ | 644 'sources': [ |
767 # Note: file list duplicated in GN build. | 645 # Note: file list duplicated in GN build. |
768 'test/test_clipboard.cc', | 646 'test/test_clipboard.cc', |
769 'test/test_clipboard.h', | 647 'test/test_clipboard.h', |
770 'test/ui_controls.h', | 648 'test/ui_controls.h', |
771 'test/ui_controls_aura.cc', | 649 'test/ui_controls_aura.cc', |
772 'test/ui_controls_internal_win.cc', | 650 'test/ui_controls_internal_win.cc', |
773 'test/ui_controls_internal_win.h', | 651 'test/ui_controls_internal_win.h', |
774 'test/ui_controls_mac.mm', | 652 'test/ui_controls_mac.mm', |
775 'test/ui_controls_win.cc', | 653 'test/ui_controls_win.cc', |
776 ], | 654 ], |
777 'include_dirs': [ | 655 'include_dirs': [ |
778 '../..', | 656 '../..', |
779 ], | 657 ], |
780 'conditions': [ | 658 'conditions': [ |
781 ['OS!="ios"', { | 659 ['OS!="ios"', { |
782 'type': 'static_library', | 660 'type': 'static_library', |
| 661 'dependecies': [ |
| 662 'ime/ui_base_ime.gyp:ui_base_ime', |
| 663 ], |
783 'sources': [ | 664 'sources': [ |
784 'ime/dummy_input_method.cc', | 665 'ime/dummy_input_method.cc', |
785 'ime/dummy_input_method.h', | 666 'ime/dummy_input_method.h', |
786 'ime/dummy_text_input_client.cc', | 667 'ime/dummy_text_input_client.cc', |
787 'ime/dummy_text_input_client.h', | 668 'ime/dummy_text_input_client.h', |
788 ], | 669 ], |
789 }, { # OS=="ios" | 670 }, { # OS=="ios" |
790 # None of the sources in this target are built on iOS, resulting in | 671 # None of the sources in this target are built on iOS, resulting in |
791 # link errors when building targets that depend on this target | 672 # link errors when building targets that depend on this target |
792 # because the static library isn't found. If this target is changed | 673 # because the static library isn't found. If this target is changed |
(...skipping 30 matching lines...) Expand all Loading... |
823 ], | 704 ], |
824 'variables': { | 705 'variables': { |
825 'jni_gen_package': 'ui', | 706 'jni_gen_package': 'ui', |
826 }, | 707 }, |
827 'includes': [ '../../build/jni_generator.gypi' ], | 708 'includes': [ '../../build/jni_generator.gypi' ], |
828 }, | 709 }, |
829 ], | 710 ], |
830 }], | 711 }], |
831 ], | 712 ], |
832 } | 713 } |
OLD | NEW |