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

Side by Side Diff: ui/base/BUILD.gn

Issue 2919583002: chromeos: Move InputMethodUtil into //ui/base/ime/chromeos (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | ui/base/ime/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("//ui/base/ui_features.gni") 10 import("//ui/base/ui_features.gni")
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 "test/ios/ui_view_test_utils.mm", 679 "test/ios/ui_view_test_utils.mm",
680 ] 680 ]
681 } 681 }
682 682
683 if (is_mac) { 683 if (is_mac) {
684 sources += [ "test/user_interactive_test_case_mac.mm" ] 684 sources += [ "test/user_interactive_test_case_mac.mm" ]
685 } else { 685 } else {
686 sources += [ "test/user_interactive_test_case.cc" ] 686 sources += [ "test/user_interactive_test_case.cc" ]
687 } 687 }
688 688
689 if (is_chromeos) {
690 sources += [
691 "ime/chromeos/mock_input_method_manager.cc",
692 "ime/chromeos/mock_input_method_manager.h",
693 ]
694 }
695
696 public_deps = [ 689 public_deps = [
697 ":base", 690 ":base",
698 ] 691 ]
699 deps = [ 692 deps = [
700 "//base", 693 "//base",
701 "//base/test:test_config", 694 "//base/test:test_config",
702 "//skia", 695 "//skia",
703 "//testing/gtest", 696 "//testing/gtest",
704 "//ui/base:ui_data_pack", 697 "//ui/base:ui_data_pack",
705 "//ui/events:events_base", 698 "//ui/events:events_base",
706 "//ui/events:test_support", 699 "//ui/events:test_support",
707 "//ui/gfx", 700 "//ui/gfx",
708 "//ui/gfx/geometry", 701 "//ui/gfx/geometry",
709 ] 702 ]
710 703
711 if (build_ime) { 704 if (build_ime) {
712 sources += [ 705 sources += [
713 "ime/dummy_input_method.cc", 706 "ime/dummy_input_method.cc",
714 "ime/dummy_input_method.h", 707 "ime/dummy_input_method.h",
715 "ime/dummy_text_input_client.cc", 708 "ime/dummy_text_input_client.cc",
716 "ime/dummy_text_input_client.h", 709 "ime/dummy_text_input_client.h",
717 ] 710 ]
718 711
719 deps += [ 712 deps += [
720 "//ui/base/ime", 713 "//ui/base/ime",
721 "//ui/events", 714 "//ui/events",
722 ] 715 ]
723 } 716 }
724 717
718 if (is_chromeos) {
719 sources += [
720 "ime/chromeos/input_method_whitelist.cc",
721 "ime/chromeos/input_method_whitelist.h",
722 "ime/chromeos/mock_input_method_manager.cc",
723 "ime/chromeos/mock_input_method_manager.h",
724 ]
725 deps += [
726 # Generates a header used by input_method_whitelist.cc
727 "//chromeos/ime:gencode",
728 ]
729 }
730
725 if (!use_aura) { 731 if (!use_aura) {
726 sources -= [ 732 sources -= [
727 "test/ui_controls_aura.cc", 733 "test/ui_controls_aura.cc",
728 "test/ui_controls_aura.h", 734 "test/ui_controls_aura.h",
729 ] 735 ]
730 } else if (is_win) { 736 } else if (is_win) {
731 sources -= [ "test/ui_controls_win.cc" ] 737 sources -= [ "test/ui_controls_win.cc" ]
732 } 738 }
733 } 739 }
734 740
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 "test/data/resource.h", 834 "test/data/resource.h",
829 "text/bytes_formatting_unittest.cc", 835 "text/bytes_formatting_unittest.cc",
830 "webui/web_ui_util_unittest.cc", 836 "webui/web_ui_util_unittest.cc",
831 ] 837 ]
832 } 838 }
833 839
834 if (build_ime) { 840 if (build_ime) {
835 sources += [ 841 sources += [
836 "ime/candidate_window_unittest.cc", 842 "ime/candidate_window_unittest.cc",
837 "ime/chromeos/character_composer_unittest.cc", 843 "ime/chromeos/character_composer_unittest.cc",
844 "ime/chromeos/input_method_util_unittest.cc",
838 "ime/composition_text_unittest.cc", 845 "ime/composition_text_unittest.cc",
839 "ime/input_method_base_unittest.cc", 846 "ime/input_method_base_unittest.cc",
840 "ime/input_method_chromeos_unittest.cc", 847 "ime/input_method_chromeos_unittest.cc",
841 "ime/win/imm32_manager_unittest.cc", 848 "ime/win/imm32_manager_unittest.cc",
842 "ime/win/tsf_input_scope_unittest.cc", 849 "ime/win/tsf_input_scope_unittest.cc",
843 ] 850 ]
844 if (is_linux && use_aura && !is_chromeos) { 851 if (is_linux && use_aura && !is_chromeos) {
845 sources += [ "ime/input_method_auralinux_unittest.cc" ] 852 sources += [ "ime/input_method_auralinux_unittest.cc" ]
846 } 853 }
847 if (use_x11) { 854 if (use_x11) {
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 # This source set is used by both //chrome/browser and 1016 # This source set is used by both //chrome/browser and
1010 # //chrome/installer/setup. It must have minimal dependencies for the latter 1017 # //chrome/installer/setup. It must have minimal dependencies for the latter
1011 # (e.g., no skia). 1018 # (e.g., no skia).
1012 source_set("fullscreen_win") { 1019 source_set("fullscreen_win") {
1013 sources = [ 1020 sources = [
1014 "fullscreen_win.cc", 1021 "fullscreen_win.cc",
1015 "fullscreen_win.h", 1022 "fullscreen_win.h",
1016 ] 1023 ]
1017 } 1024 }
1018 } 1025 }
OLDNEW
« 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