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

Side by Side Diff: chrome/test/BUILD.gn

Issue 2354633002: Add //chrome/browser/ui to "gn check". (Closed)
Patch Set: cast_shell_android and chromeos_ozone Created 4 years, 3 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/browser/ui/startup/startup_browser_creator_impl.cc ('k') | components/arc/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/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/common/features.gni") 10 import("//chrome/common/features.gni")
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 if (is_chrome_branded) { 678 if (is_chrome_branded) {
679 sources -= [ 679 sources -= [
680 # These tests are failing on official cros bots. crbug.com/431450. 680 # These tests are failing on official cros bots. crbug.com/431450.
681 "../browser/ui/views/bookmarks/bookmark_bar_view_test.cc", 681 "../browser/ui/views/bookmarks/bookmark_bar_view_test.cc",
682 ] 682 ]
683 } 683 }
684 } 684 }
685 685
686 if (is_win) { 686 if (is_win) {
687 sources += [ 687 sources += [
688 "../app/chrome_dll.rc",
689 "../browser/downgrade/user_data_downgrade_browsertest.cc", 688 "../browser/downgrade/user_data_downgrade_browsertest.cc",
690 "//ui/resources/cursors/aliasb.cur", 689 "//ui/resources/cursors/aliasb.cur",
691 "//ui/resources/cursors/cell.cur", 690 "//ui/resources/cursors/cell.cur",
692 "//ui/resources/cursors/col_resize.cur", 691 "//ui/resources/cursors/col_resize.cur",
693 "//ui/resources/cursors/copy.cur", 692 "//ui/resources/cursors/copy.cur",
694 "//ui/resources/cursors/none.cur", 693 "//ui/resources/cursors/none.cur",
695 "//ui/resources/cursors/row_resize.cur", 694 "//ui/resources/cursors/row_resize.cur",
696 "//ui/resources/cursors/vertical_text.cur", 695 "//ui/resources/cursors/vertical_text.cur",
697 "//ui/resources/cursors/zoom_in.cur", 696 "//ui/resources/cursors/zoom_in.cur",
698 "//ui/resources/cursors/zoom_out.cur", 697 "//ui/resources/cursors/zoom_out.cur",
699 "data/resource.rc", 698 "data/resource.rc",
700 ] 699 ]
701 deps += [ 700 deps += [
702 "//chrome:other_version", 701 "//chrome:other_version",
702 "//chrome/app:chrome_dll_resources",
703 "//chrome/install_static:install_static_util", 703 "//chrome/install_static:install_static_util",
704 "//third_party/isimpledom", 704 "//third_party/isimpledom",
705 "//third_party/wtl", 705 "//third_party/wtl",
706 "//ui/resources", 706 "//ui/resources",
707 ] 707 ]
708 708
709 configs -= [ "//build/config/win:default_incremental_linking" ] 709 configs -= [ "//build/config/win:default_incremental_linking" ]
710 configs += 710 configs +=
711 [ "//build/config/win:default_large_module_incremental_linking" ] 711 [ "//build/config/win:default_large_module_incremental_linking" ]
712 712
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
1229 ] 1229 ]
1230 1230
1231 data_deps = [] 1231 data_deps = []
1232 1232
1233 data = [] 1233 data = []
1234 1234
1235 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 1235 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
1236 1236
1237 if (is_win) { 1237 if (is_win) {
1238 data += [ "$root_out_dir/chrome_200_percent.pak" ] 1238 data += [ "$root_out_dir/chrome_200_percent.pak" ]
1239 deps += [ "//chrome/app:chrome_dll_resources" ]
1239 } 1240 }
1240 if (is_chromeos) { 1241 if (is_chromeos) {
1241 data += [ 1242 data += [
1242 # TODO(GYP): figure out which of these things are 1243 # TODO(GYP): figure out which of these things are
1243 # actually needed and also which should be pulled in via 1244 # actually needed and also which should be pulled in via
1244 # data or data_deps and through which dependencies. 1245 # data or data_deps and through which dependencies.
1245 "//chrome/browser/chromeos/login/test/https_forwarder.py", 1246 "//chrome/browser/chromeos/login/test/https_forwarder.py",
1246 "//chrome/browser/resources/chromeos/wallpaper_manager/", 1247 "//chrome/browser/resources/chromeos/wallpaper_manager/",
1247 "//chromeos/test/data/", 1248 "//chromeos/test/data/",
1248 "//components/chrome_apps/webstore_widget/cws_widget/", 1249 "//components/chrome_apps/webstore_widget/cws_widget/",
(...skipping 30 matching lines...) Expand all
1279 "//v8:v8_external_startup_data_assets", 1280 "//v8:v8_external_startup_data_assets",
1280 ] 1281 ]
1281 1282
1282 enable_multidex = true 1283 enable_multidex = true
1283 } else { 1284 } else {
1284 sources += [ 1285 sources += [
1285 # The list of sources which is only used by chrome browser tests on 1286 # The list of sources which is only used by chrome browser tests on
1286 # desktop platforms. 1287 # desktop platforms.
1287 "../../apps/app_restore_service_browsertest.cc", 1288 "../../apps/app_restore_service_browsertest.cc",
1288 "../../apps/load_and_launch_browsertest.cc", 1289 "../../apps/load_and_launch_browsertest.cc",
1289 "../app/chrome_dll.rc",
1290 "../app/chrome_dll_resource.h",
1291 "../app/chrome_version.rc.version", 1290 "../app/chrome_version.rc.version",
1292 "../browser/accessibility/browser_accessibility_state_browsertest.cc", 1291 "../browser/accessibility/browser_accessibility_state_browsertest.cc",
1293 "../browser/app_controller_mac_browsertest.mm", 1292 "../browser/app_controller_mac_browsertest.mm",
1294 "../browser/apps/app_browsertest.cc", 1293 "../browser/apps/app_browsertest.cc",
1295 "../browser/apps/app_shim/app_shim_host_manager_browsertest_mac.mm", 1294 "../browser/apps/app_shim/app_shim_host_manager_browsertest_mac.mm",
1296 "../browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc", 1295 "../browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc",
1297 "../browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.h", 1296 "../browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.h",
1298 "../browser/apps/app_speech_recognition_browsertest.cc", 1297 "../browser/apps/app_speech_recognition_browsertest.cc",
1299 "../browser/apps/app_url_redirector_browsertest.cc", 1298 "../browser/apps/app_url_redirector_browsertest.cc",
1300 "../browser/apps/app_window_browsertest.cc", 1299 "../browser/apps/app_window_browsertest.cc",
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after
2390 } 2389 }
2391 if (is_win) { 2390 if (is_win) {
2392 deps += [ 2391 deps += [
2393 "//chrome:other_version", 2392 "//chrome:other_version",
2394 "//chrome/app:command_ids", 2393 "//chrome/app:command_ids",
2395 "//third_party/wtl", 2394 "//third_party/wtl",
2396 "//ui/resources", 2395 "//ui/resources",
2397 ] 2396 ]
2398 } else { 2397 } else {
2399 sources -= [ 2398 sources -= [
2400 "../app/chrome_dll_resource.h",
2401 "../app/chrome_version.rc.version", 2399 "../app/chrome_version.rc.version",
2402 "../browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc ", 2400 "../browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc ",
2403 ] 2401 ]
2404 } 2402 }
2405 if (!is_chromeos && use_ash) { 2403 if (!is_chromeos && use_ash) {
2406 sources -= [ 2404 sources -= [
2407 # On Windows and Linux, we currently don't support enough of the 2405 # On Windows and Linux, we currently don't support enough of the
2408 # ash environment to run these unit tests. 2406 # ash environment to run these unit tests.
2409 # 2407 #
2410 # TODO: enable these on windows and linux. 2408 # TODO: enable these on windows and linux.
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
2660 "../browser/extensions/api/display_source/display_source_wifi_display_ apitest.cc", 2658 "../browser/extensions/api/display_source/display_source_wifi_display_ apitest.cc",
2661 ] 2659 ]
2662 } 2660 }
2663 } 2661 }
2664 } 2662 }
2665 } 2663 }
2666 2664
2667 if (!is_android) { 2665 if (!is_android) {
2668 test("sync_integration_tests") { 2666 test("sync_integration_tests") {
2669 sources = [ 2667 sources = [
2670 "../app/chrome_dll.rc",
2671 "../app/chrome_dll_resource.h",
2672 "../app/chrome_version.rc.version", 2668 "../app/chrome_version.rc.version",
2673 "../browser/sync/test/integration/enable_disable_test.cc", 2669 "../browser/sync/test/integration/enable_disable_test.cc",
2674 "../browser/sync/test/integration/migration_test.cc", 2670 "../browser/sync/test/integration/migration_test.cc",
2675 "../browser/sync/test/integration/single_client_app_list_sync_test.cc", 2671 "../browser/sync/test/integration/single_client_app_list_sync_test.cc",
2676 "../browser/sync/test/integration/single_client_apps_sync_test.cc", 2672 "../browser/sync/test/integration/single_client_apps_sync_test.cc",
2677 "../browser/sync/test/integration/single_client_arc_package_sync_test.cc", 2673 "../browser/sync/test/integration/single_client_arc_package_sync_test.cc",
2678 "../browser/sync/test/integration/single_client_bookmarks_sync_test.cc", 2674 "../browser/sync/test/integration/single_client_bookmarks_sync_test.cc",
2679 "../browser/sync/test/integration/single_client_dictionary_sync_test.cc", 2675 "../browser/sync/test/integration/single_client_dictionary_sync_test.cc",
2680 "../browser/sync/test/integration/single_client_directory_sync_test.cc", 2676 "../browser/sync/test/integration/single_client_directory_sync_test.cc",
2681 "../browser/sync/test/integration/single_client_extensions_sync_test.cc", 2677 "../browser/sync/test/integration/single_client_extensions_sync_test.cc",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
2735 2731
2736 deps = [ 2732 deps = [
2737 ":browser_tests_runner", 2733 ":browser_tests_runner",
2738 ":sync_integration_test_support", 2734 ":sync_integration_test_support",
2739 ":test_support", 2735 ":test_support",
2740 ":test_support_ui", 2736 ":test_support_ui",
2741 "//chrome:packed_extra_resources", 2737 "//chrome:packed_extra_resources",
2742 "//chrome:packed_resources", 2738 "//chrome:packed_resources",
2743 "//chrome:resources", 2739 "//chrome:resources",
2744 "//chrome:strings", 2740 "//chrome:strings",
2741 "//chrome/app:chrome_dll_resources",
2745 "//chrome/app:command_ids", 2742 "//chrome/app:command_ids",
2746 "//chrome/common", 2743 "//chrome/common",
2747 "//chrome/renderer", 2744 "//chrome/renderer",
2748 "//components/sync", 2745 "//components/sync",
2749 "//crypto:platform", 2746 "//crypto:platform",
2750 "//testing/gmock", 2747 "//testing/gmock",
2751 "//testing/gtest", 2748 "//testing/gtest",
2752 "//third_party/WebKit/public:blink", 2749 "//third_party/WebKit/public:blink",
2753 "//third_party/icu", 2750 "//third_party/icu",
2754 "//third_party/leveldatabase", 2751 "//third_party/leveldatabase",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
2808 "../browser/sync/test/integration/two_client_app_list_sync_test.cc", 2805 "../browser/sync/test/integration/two_client_app_list_sync_test.cc",
2809 ] 2806 ]
2810 } 2807 }
2811 if (!enable_supervised_users) { 2808 if (!enable_supervised_users) {
2812 sources -= [ "../browser/sync/test/integration/single_client_supervised_us er_settings_sync_test.cc" ] 2809 sources -= [ "../browser/sync/test/integration/single_client_supervised_us er_settings_sync_test.cc" ]
2813 } 2810 }
2814 } 2811 }
2815 2812
2816 test("sync_performance_tests") { 2813 test("sync_performance_tests") {
2817 sources = [ 2814 sources = [
2818 "../app/chrome_dll.rc",
2819 "../app/chrome_dll_resource.h",
2820 "../app/chrome_version.rc.version", 2815 "../app/chrome_version.rc.version",
2821 "../browser/sync/test/integration/performance/autofill_sync_perf_test.cc", 2816 "../browser/sync/test/integration/performance/autofill_sync_perf_test.cc",
2822 "../browser/sync/test/integration/performance/bookmarks_sync_perf_test.cc" , 2817 "../browser/sync/test/integration/performance/bookmarks_sync_perf_test.cc" ,
2823 "../browser/sync/test/integration/performance/dictionary_sync_perf_test.cc ", 2818 "../browser/sync/test/integration/performance/dictionary_sync_perf_test.cc ",
2824 "../browser/sync/test/integration/performance/extensions_sync_perf_test.cc ", 2819 "../browser/sync/test/integration/performance/extensions_sync_perf_test.cc ",
2825 "../browser/sync/test/integration/performance/passwords_sync_perf_test.cc" , 2820 "../browser/sync/test/integration/performance/passwords_sync_perf_test.cc" ,
2826 "../browser/sync/test/integration/performance/sessions_sync_perf_test.cc", 2821 "../browser/sync/test/integration/performance/sessions_sync_perf_test.cc",
2827 "../browser/sync/test/integration/performance/sync_timing_helper.cc", 2822 "../browser/sync/test/integration/performance/sync_timing_helper.cc",
2828 "../browser/sync/test/integration/performance/sync_timing_helper.h", 2823 "../browser/sync/test/integration/performance/sync_timing_helper.h",
2829 "../browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc ", 2824 "../browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc ",
2830 "base/browser_perf_tests_main.cc", 2825 "base/browser_perf_tests_main.cc",
2831 "data/resource.rc", 2826 "data/resource.rc",
2832 ] 2827 ]
2833 2828
2834 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 2829 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
2835 2830
2836 deps = [ 2831 deps = [
2837 ":sync_integration_test_support", 2832 ":sync_integration_test_support",
2838 ":test_support_ui", 2833 ":test_support_ui",
2834 "//chrome/app:chrome_dll_resources",
2839 "//chrome/app:command_ids", 2835 "//chrome/app:command_ids",
2840 "//components/sync", 2836 "//components/sync",
2841 "//crypto:platform", 2837 "//crypto:platform",
2842 "//testing/gmock", 2838 "//testing/gmock",
2843 "//testing/gtest", 2839 "//testing/gtest",
2844 ] 2840 ]
2845 2841
2846 if (is_mac) { 2842 if (is_mac) {
2847 # Dictionary sync is disabled on Mac. 2843 # Dictionary sync is disabled on Mac.
2848 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync _perf_test.cc" ] 2844 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync _perf_test.cc" ]
(...skipping 1759 matching lines...) Expand 10 before | Expand all | Expand 10 after
4608 } 4604 }
4609 if (is_win) { 4605 if (is_win) {
4610 if (!is_component_build) { 4606 if (!is_component_build) {
4611 # The PDB gets too large for incremental linking. 4607 # The PDB gets too large for incremental linking.
4612 configs -= [ "//build/config/win:default_incremental_linking" ] 4608 configs -= [ "//build/config/win:default_incremental_linking" ]
4613 configs += 4609 configs +=
4614 [ "//build/config/win:default_large_module_incremental_linking" ] 4610 [ "//build/config/win:default_large_module_incremental_linking" ]
4615 } 4611 }
4616 4612
4617 sources += [ 4613 sources += [
4618 "../app/chrome_dll.rc",
4619 "../browser/ui/input_method/input_method_engine_unittest.cc", 4614 "../browser/ui/input_method/input_method_engine_unittest.cc",
4620 "../test/data/resource.rc", 4615 "../test/data/resource.rc",
4621 ] 4616 ]
4622 deps += [ 4617 deps += [
4623 "//chrome:other_version", 4618 "//chrome:other_version",
4619 "//chrome/app:chrome_dll_resources",
4624 "//chrome/install_static:install_static_util", 4620 "//chrome/install_static:install_static_util",
4625 "//chrome/installer/util:strings", 4621 "//chrome/installer/util:strings",
4626 "//chrome_elf:blacklist_test_dll_1", 4622 "//chrome_elf:blacklist_test_dll_1",
4627 "//third_party/iaccessible2", 4623 "//third_party/iaccessible2",
4628 "//third_party/isimpledom", 4624 "//third_party/isimpledom",
4629 "//third_party/wtl", 4625 "//third_party/wtl",
4630 "//ui/resources", 4626 "//ui/resources",
4631 ] 4627 ]
4632 data_deps += [ 4628 data_deps += [
4633 "//chrome/browser/safe_browsing/incident_reporting/verifier_test:verifier_ test_dll_1", 4629 "//chrome/browser/safe_browsing/incident_reporting/verifier_test:verifier_ test_dll_1",
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
4880 "//components/crash/core/common", 4876 "//components/crash/core/common",
4881 "//components/flags_ui:switches", 4877 "//components/flags_ui:switches",
4882 "//third_party/kasko:kasko_features", 4878 "//third_party/kasko:kasko_features",
4883 ] 4879 ]
4884 } 4880 }
4885 } 4881 }
4886 4882
4887 if (!is_android && !is_ios && !is_chromecast) { 4883 if (!is_android && !is_ios && !is_chromecast) {
4888 test("performance_browser_tests") { 4884 test("performance_browser_tests") {
4889 sources = [ 4885 sources = [
4890 "../app/chrome_dll.rc",
4891 "../app/chrome_dll_resource.h",
4892 "../app/chrome_version.rc.version", 4886 "../app/chrome_version.rc.version",
4893 "../browser/extensions/api/cast_streaming/performance_test.cc", 4887 "../browser/extensions/api/cast_streaming/performance_test.cc",
4894 "../browser/extensions/api/tab_capture/tab_capture_performancetest.cc", 4888 "../browser/extensions/api/tab_capture/tab_capture_performancetest.cc",
4895 "../browser/extensions/browsertest_util.cc", 4889 "../browser/extensions/browsertest_util.cc",
4896 "../browser/extensions/extension_apitest.cc", 4890 "../browser/extensions/extension_apitest.cc",
4897 "../browser/extensions/extension_browsertest.cc", 4891 "../browser/extensions/extension_browsertest.cc",
4898 "../browser/extensions/extension_test_notification_observer.cc", 4892 "../browser/extensions/extension_test_notification_observer.cc",
4899 "../browser/extensions/updater/extension_cache_fake.cc", 4893 "../browser/extensions/updater/extension_cache_fake.cc",
4900 "../browser/extensions/updater/extension_cache_fake.h", 4894 "../browser/extensions/updater/extension_cache_fake.h",
4901 "base/browser_perf_tests_main.cc", 4895 "base/browser_perf_tests_main.cc",
4902 "base/chrome_render_view_test.cc", 4896 "base/chrome_render_view_test.cc",
4903 "base/chrome_render_view_test.h", 4897 "base/chrome_render_view_test.h",
4904 "perf/mach_ports_performancetest.cc", 4898 "perf/mach_ports_performancetest.cc",
4905 "perf/url_parse_perftest.cc", 4899 "perf/url_parse_perftest.cc",
4906 ] 4900 ]
4907 4901
4908 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 4902 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
4909 4903
4910 deps = [ 4904 deps = [
4911 ":test_support", 4905 ":test_support",
4912 ":test_support_ui", 4906 ":test_support_ui",
4913 "//base", 4907 "//base",
4914 "//base:i18n", 4908 "//base:i18n",
4915 "//base/test:test_support", 4909 "//base/test:test_support",
4910 "//chrome/app:chrome_dll_resources",
4916 "//chrome/browser", 4911 "//chrome/browser",
4917 "//chrome/renderer", 4912 "//chrome/renderer",
4918 "//components/about_handler", 4913 "//components/about_handler",
4919 "//components/autofill/content/renderer:test_support", 4914 "//components/autofill/content/renderer:test_support",
4920 "//content/test:test_support", 4915 "//content/test:test_support",
4921 "//media/cast:test_support", 4916 "//media/cast:test_support",
4922 "//testing/gmock", 4917 "//testing/gmock",
4923 "//testing/gtest", 4918 "//testing/gtest",
4924 "//testing/perf", 4919 "//testing/perf",
4925 ] 4920 ]
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
5006 "touch_hud", 5001 "touch_hud",
5007 "ui", 5002 "ui",
5008 ] 5003 ]
5009 5004
5010 if (is_linux && !is_android) { 5005 if (is_linux && !is_android) {
5011 deps += [ "//components/font_service:manifest" ] 5006 deps += [ "//components/font_service:manifest" ]
5012 packaged_services += [ "font_service" ] 5007 packaged_services += [ "font_service" ]
5013 } 5008 }
5014 } 5009 }
5015 } 5010 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator_impl.cc ('k') | components/arc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698