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/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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 "nine_image_painter_factory.cc", | 229 "nine_image_painter_factory.cc", |
230 "nine_image_painter_factory.h", | 230 "nine_image_painter_factory.h", |
231 "page_transition_types.cc", | 231 "page_transition_types.cc", |
232 "page_transition_types.h", | 232 "page_transition_types.h", |
233 "platform_window_defaults.cc", | 233 "platform_window_defaults.cc", |
234 "platform_window_defaults.h", | 234 "platform_window_defaults.h", |
235 "property_data.h", | 235 "property_data.h", |
236 "resource/resource_bundle.cc", | 236 "resource/resource_bundle.cc", |
237 "resource/resource_bundle.h", | 237 "resource/resource_bundle.h", |
238 "resource/resource_bundle_android.cc", | 238 "resource/resource_bundle_android.cc", |
| 239 "resource/resource_bundle_android.h", |
239 "resource/resource_bundle_auralinux.cc", | 240 "resource/resource_bundle_auralinux.cc", |
240 "resource/resource_bundle_ios.mm", | 241 "resource/resource_bundle_ios.mm", |
241 "resource/resource_bundle_mac.mm", | 242 "resource/resource_bundle_mac.mm", |
242 "resource/resource_bundle_win.cc", | 243 "resource/resource_bundle_win.cc", |
243 "resource/resource_bundle_win.h", | 244 "resource/resource_bundle_win.h", |
244 "resource/resource_data_dll_win.cc", | 245 "resource/resource_data_dll_win.cc", |
245 "resource/resource_data_dll_win.h", | 246 "resource/resource_data_dll_win.h", |
246 "template_expressions.cc", | 247 "template_expressions.cc", |
247 "template_expressions.h", | 248 "template_expressions.h", |
248 "theme_provider.cc", | 249 "theme_provider.cc", |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
633 } | 634 } |
634 } | 635 } |
635 | 636 |
636 static_library("test_support") { | 637 static_library("test_support") { |
637 testonly = true | 638 testonly = true |
638 sources = [ | 639 sources = [ |
639 "test/material_design_controller_test_api.cc", | 640 "test/material_design_controller_test_api.cc", |
640 "test/material_design_controller_test_api.h", | 641 "test/material_design_controller_test_api.h", |
641 "test/ui_controls.h", | 642 "test/ui_controls.h", |
642 "test/ui_controls_aura.cc", | 643 "test/ui_controls_aura.cc", |
| 644 "test/ui_controls_aura.h", |
643 "test/ui_controls_internal_win.cc", | 645 "test/ui_controls_internal_win.cc", |
644 "test/ui_controls_internal_win.h", | 646 "test/ui_controls_internal_win.h", |
645 "test/ui_controls_mac.mm", | 647 "test/ui_controls_mac.mm", |
646 "test/ui_controls_win.cc", | 648 "test/ui_controls_win.cc", |
647 "test/user_interactive_test_case.h", | 649 "test/user_interactive_test_case.h", |
648 ] | 650 ] |
649 | 651 |
650 if (!is_ios) { | 652 if (!is_ios) { |
651 sources += [ | 653 sources += [ |
652 "test/nswindow_fullscreen_notification_waiter.h", | 654 "test/nswindow_fullscreen_notification_waiter.h", |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 "ime/dummy_text_input_client.h", | 713 "ime/dummy_text_input_client.h", |
712 ] | 714 ] |
713 | 715 |
714 deps += [ | 716 deps += [ |
715 "//ui/base/ime", | 717 "//ui/base/ime", |
716 "//ui/events", | 718 "//ui/events", |
717 ] | 719 ] |
718 } | 720 } |
719 | 721 |
720 if (!use_aura) { | 722 if (!use_aura) { |
721 sources -= [ "test/ui_controls_aura.cc" ] | 723 sources -= [ |
| 724 "test/ui_controls_aura.cc", |
| 725 "test/ui_controls_aura.h", |
| 726 ] |
722 } else if (is_win) { | 727 } else if (is_win) { |
723 sources -= [ "test/ui_controls_win.cc" ] | 728 sources -= [ "test/ui_controls_win.cc" ] |
724 } | 729 } |
725 } | 730 } |
726 | 731 |
727 if (is_android) { | 732 if (is_android) { |
728 generate_jni("ui_base_jni_headers") { | 733 generate_jni("ui_base_jni_headers") { |
729 sources = [ | 734 sources = [ |
730 "../android/java/src/org/chromium/ui/base/Clipboard.java", | 735 "../android/java/src/org/chromium/ui/base/Clipboard.java", |
731 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java", | 736 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java", |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
988 if (is_mac) { | 993 if (is_mac) { |
989 mac_framework_bundle("ui_unittests_framework") { | 994 mac_framework_bundle("ui_unittests_framework") { |
990 testonly = true | 995 testonly = true |
991 deps = [ | 996 deps = [ |
992 "//ui/resources:ui_test_pak_bundle_data", | 997 "//ui/resources:ui_test_pak_bundle_data", |
993 ] | 998 ] |
994 info_plist = "test/framework-Info.plist" | 999 info_plist = "test/framework-Info.plist" |
995 output_name = "ui_unittests Framework" | 1000 output_name = "ui_unittests Framework" |
996 } | 1001 } |
997 } | 1002 } |
OLD | NEW |