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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 "dragdrop/os_exchange_data_provider_aurax11_unittest.cc", | 750 "dragdrop/os_exchange_data_provider_aurax11_unittest.cc", |
751 "models/list_model_unittest.cc", | 751 "models/list_model_unittest.cc", |
752 "models/list_selection_model_unittest.cc", | 752 "models/list_selection_model_unittest.cc", |
753 "models/tree_node_model_unittest.cc", | 753 "models/tree_node_model_unittest.cc", |
754 "test/data/resource.h", | 754 "test/data/resource.h", |
755 "text/bytes_formatting_unittest.cc", | 755 "text/bytes_formatting_unittest.cc", |
756 "view_prop_unittest.cc", | 756 "view_prop_unittest.cc", |
757 "webui/web_ui_util_unittest.cc", | 757 "webui/web_ui_util_unittest.cc", |
758 "x/selection_requestor_unittest.cc", | 758 "x/selection_requestor_unittest.cc", |
759 ] | 759 ] |
760 | |
761 if (!use_x11) { | |
762 if (is_chromeos) { | |
763 # These were already removed in the chromeos case. | |
764 sources -= [ | |
765 "ime/chromeos/character_composer_unittest.cc", | |
766 "ime/input_method_chromeos_unittest.cc", | |
767 ] | |
768 } | |
769 } | |
770 } | 760 } |
771 | 761 |
772 if (build_ime) { | 762 if (build_ime) { |
773 sources += [ | 763 sources += [ |
774 "ime/candidate_window_unittest.cc", | 764 "ime/candidate_window_unittest.cc", |
775 "ime/chromeos/character_composer_unittest.cc", | 765 "ime/chromeos/character_composer_unittest.cc", |
776 "ime/input_method_base_unittest.cc", | 766 "ime/input_method_base_unittest.cc", |
777 "ime/input_method_chromeos_unittest.cc", | 767 "ime/input_method_chromeos_unittest.cc", |
778 "ime/remote_input_method_win_unittest.cc", | 768 "ime/remote_input_method_win_unittest.cc", |
779 "ime/win/imm32_manager_unittest.cc", | 769 "ime/win/imm32_manager_unittest.cc", |
780 "ime/win/tsf_input_scope_unittest.cc", | 770 "ime/win/tsf_input_scope_unittest.cc", |
781 ] | 771 ] |
782 if (use_x11) { | 772 if (use_x11) { |
783 sources += [ "ime/composition_text_util_pango_unittest.cc" ] | 773 sources += [ "ime/composition_text_util_pango_unittest.cc" ] |
784 } | 774 } |
| 775 if (!use_x11 && is_chromeos) { |
| 776 # These were already removed in the non-chromeos case. |
| 777 sources -= [ |
| 778 "ime/chromeos/character_composer_unittest.cc", |
| 779 "ime/input_method_chromeos_unittest.cc", |
| 780 ] |
| 781 } |
785 } | 782 } |
786 | 783 |
787 deps = [ | 784 deps = [ |
788 "//base", | 785 "//base", |
789 "//base/allocator", | 786 "//base/allocator", |
790 "//base/test:test_support", | 787 "//base/test:test_support", |
791 "//net", | 788 "//net", |
792 "//skia", | 789 "//skia", |
793 "//testing/gmock", | 790 "//testing/gmock", |
794 "//testing/gtest", | 791 "//testing/gtest", |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
900 "//ui/chromeos/resources", | 897 "//ui/chromeos/resources", |
901 "//ui/chromeos/strings", | 898 "//ui/chromeos/strings", |
902 "//ui/chromeos:ui_chromeos", | 899 "//ui/chromeos:ui_chromeos", |
903 "//ui/events:gesture_detection", | 900 "//ui/events:gesture_detection", |
904 "//ui/message_center:message_center", | 901 "//ui/message_center:message_center", |
905 ] | 902 ] |
906 } | 903 } |
907 } | 904 } |
908 } | 905 } |
909 # TODO(GYP) Mac (ui_unittest_bundle) and Android (ui_unittests_apk). | 906 # TODO(GYP) Mac (ui_unittest_bundle) and Android (ui_unittests_apk). |
OLD | NEW |