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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//chrome/chrome_tests.gni") | 10 import("//chrome/chrome_tests.gni") |
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 ] | 641 ] |
642 } | 642 } |
643 } # enable_notifications | 643 } # enable_notifications |
644 | 644 |
645 if (!use_aura || is_chromeos) { | 645 if (!use_aura || is_chromeos) { |
646 sources -= | 646 sources -= |
647 [ "../../ui/views/corewm/desktop_capture_controller_unittest.cc" ] | 647 [ "../../ui/views/corewm/desktop_capture_controller_unittest.cc" ] |
648 } | 648 } |
649 } | 649 } |
650 | 650 |
| 651 test("performance_interactive_ui_tests") { |
| 652 sources = [ |
| 653 "//chrome/browser/omnibox_performance_browsertest.cc", |
| 654 "//chrome/test/base/interactive_test_utils.cc", |
| 655 "//chrome/test/base/interactive_test_utils.h", |
| 656 "//chrome/test/base/interactive_test_utils_aura.cc", |
| 657 "//chrome/test/base/interactive_test_utils_aura.h", |
| 658 "//chrome/test/base/interactive_test_utils_common_views.cc", |
| 659 "//chrome/test/base/interactive_test_utils_mac.mm", |
| 660 "//chrome/test/base/interactive_test_utils_win.cc", |
| 661 "//chrome/test/base/performance_interactive_ui_tests_main.cc", |
| 662 ] |
| 663 if (!use_aura) { |
| 664 sources -= [ |
| 665 "//chrome/test/base/interactive_test_utils_aura.cc", |
| 666 "//chrome/test/base/interactive_test_utils_aura.h", |
| 667 ] |
| 668 } |
| 669 |
| 670 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 671 ldflags = [] |
| 672 data_deps = [] |
| 673 |
| 674 deps = [ |
| 675 ":test_support", |
| 676 ":test_support_ui", |
| 677 "//chrome:strings", |
| 678 "//chrome/browser", |
| 679 "//testing/gtest", |
| 680 "//testing/perf", |
| 681 "//ui/base:test_support", |
| 682 ] |
| 683 |
| 684 if (toolkit_views) { |
| 685 deps += [ "//ui/views:test_support" ] |
| 686 } |
| 687 |
| 688 if (is_win) { |
| 689 deps += [ "//third_party/wtl" ] |
| 690 } |
| 691 |
| 692 if (is_mac) { |
| 693 # TODO(mark): We really want this for all non-static library targets, but |
| 694 # when we tried to pull it up to the common.gypi level, it broke other |
| 695 # things like the ui and startup tests. *shrug* |
| 696 ldflags += [ "-Wl,-ObjC" ] |
| 697 |
| 698 if (mac_views_browser) { |
| 699 sources += [ "//chrome/test/base/interactive_test_utils_views.cc" ] |
| 700 } else { |
| 701 sources += [ "//chrome/test/base/interactive_test_utils_cocoa.mm" ] |
| 702 } |
| 703 } else { # Non-Mac. |
| 704 sources += [ "//chrome/test/base/interactive_test_utils_views.cc" ] |
| 705 } |
| 706 |
| 707 if (use_x11) { |
| 708 configs += [ "//build/config/linux:xtst" ] |
| 709 data_deps += [ "//tools/xdisplaycheck" ] |
| 710 } |
| 711 } |
| 712 |
651 if (enable_app_list && use_ash) { | 713 if (enable_app_list && use_ash) { |
652 static_library("test_support_applist_ash") { | 714 static_library("test_support_applist_ash") { |
653 defines = [] | 715 defines = [] |
654 testonly = true | 716 testonly = true |
655 | 717 |
656 sources = rebase_path( | 718 sources = rebase_path( |
657 chrome_tests_gypi_values.chrome_browser_app_list_ash_test_support_
sources, | 719 chrome_tests_gypi_values.chrome_browser_app_list_ash_test_support_
sources, |
658 ".", | 720 ".", |
659 "//chrome") | 721 "//chrome") |
660 | 722 |
(...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1803 # 3) anything tests directly depend on | 1865 # 3) anything tests directly depend on |
1804 "//chrome:resources", | 1866 "//chrome:resources", |
1805 "//chrome:strings", | 1867 "//chrome:strings", |
1806 "//components/component_updater:test_support", | 1868 "//components/component_updater:test_support", |
1807 "//components/safe_browsing_db:test_database_manager", | 1869 "//components/safe_browsing_db:test_database_manager", |
1808 "//components/subresource_filter/core/browser:test_support", | 1870 "//components/subresource_filter/core/browser:test_support", |
1809 "//components/version_info:generate_version_info", | 1871 "//components/version_info:generate_version_info", |
1810 "//courgette:courgette_lib", | 1872 "//courgette:courgette_lib", |
1811 "//google_apis", | 1873 "//google_apis", |
1812 "//skia", | 1874 "//skia", |
| 1875 "//testing/perf:perf", |
1813 "//third_party/cacheinvalidation", | 1876 "//third_party/cacheinvalidation", |
1814 "//third_party/icu", | 1877 "//third_party/icu", |
1815 "//third_party/libxml", | 1878 "//third_party/libxml", |
1816 "//ui/base:test_support", | 1879 "//ui/base:test_support", |
1817 "//ui/display:test_support", | 1880 "//ui/display:test_support", |
1818 "//ui/gfx:test_support", | 1881 "//ui/gfx:test_support", |
1819 "//ui/resources", | 1882 "//ui/resources", |
1820 ] | 1883 ] |
1821 data_deps = [] | 1884 data_deps = [] |
1822 | 1885 |
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2462 if (is_android) { | 2525 if (is_android) { |
2463 android_library("unit_tests_java") { | 2526 android_library("unit_tests_java") { |
2464 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] | 2527 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] |
2465 deps = [ | 2528 deps = [ |
2466 "//base:base_java", | 2529 "//base:base_java", |
2467 "//chrome/android:chrome_java", | 2530 "//chrome/android:chrome_java", |
2468 "//content/public/android:content_java", | 2531 "//content/public/android:content_java", |
2469 ] | 2532 ] |
2470 } | 2533 } |
2471 } | 2534 } |
OLD | NEW |