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

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

Issue 2865723002: Reland of: WebUI: Disable all JS tests in MSAN, ASAN, and TSAN bots. (Closed)
Patch Set: Resolve conflict Created 3 years, 7 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 | « no previous file | chrome/test/data/webui/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")
11 import("//chrome/chrome_repack_locales.gni") 11 import("//chrome/chrome_repack_locales.gni")
12 import("//components/os_crypt/features.gni") 12 import("//components/os_crypt/features.gni")
13 import("//components/spellcheck/spellcheck_build_features.gni") 13 import("//components/spellcheck/spellcheck_build_features.gni")
14 import("//extensions/features/features.gni") 14 import("//extensions/features/features.gni")
15 import("//media/media_options.gni") 15 import("//media/media_options.gni")
16 import("//ppapi/features/features.gni") 16 import("//ppapi/features/features.gni")
17 import("//remoting/remoting_enable.gni") 17 import("//remoting/remoting_enable.gni")
18 import("//rlz/features/features.gni") 18 import("//rlz/features/features.gni")
19 import("//services/service_manager/public/service_manifest.gni") 19 import("//services/service_manager/public/service_manifest.gni")
20 import("//services/catalog/public/tools/catalog.gni") 20 import("//services/catalog/public/tools/catalog.gni")
21 import("//testing/test.gni") 21 import("//testing/test.gni")
22 import("//ui/base/ui_features.gni") 22 import("//ui/base/ui_features.gni")
23 import("//v8/gni/v8.gni") 23 import("//v8/gni/v8.gni")
24 24
25 if (is_android) { 25 if (is_android) {
26 import("//build/config/android/rules.gni") 26 import("//build/config/android/rules.gni")
27 } else {
28 skip_js_tests = is_asan || is_msan || is_tsan
Dan Beam 2017/05/10 00:02:29 can we invert this to include_js_tests = !(is_asa
dpapad 2017/05/10 00:06:38 Done.
27 } 29 }
28 30
29 # This target exists to reference other test executables to bring these files 31 # This target exists to reference other test executables to bring these files
30 # into the build. 32 # into the build.
31 group("test") { 33 group("test") {
32 testonly = true 34 testonly = true
33 } 35 }
34 36
35 # Use a static library here because many test binaries depend on this but don't 37 # Use a static library here because many test binaries depend on this but don't
36 # require many files from it. This makes linking more efficient. 38 # require many files from it. This makes linking more efficient.
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 466
465 deps = [ 467 deps = [
466 ":test_support", 468 ":test_support",
467 ":test_support_ui", 469 ":test_support_ui",
468 "//chrome:packed_resources", 470 "//chrome:packed_resources",
469 "//chrome:resources", 471 "//chrome:resources",
470 "//chrome:strings", 472 "//chrome:strings",
471 "//chrome/browser", 473 "//chrome/browser",
472 "//chrome/browser/devtools", 474 "//chrome/browser/devtools",
473 "//chrome/renderer", 475 "//chrome/renderer",
474 "//chrome/test/data/webui:interactive_ui_tests_js_webui",
475 "//components/resources", 476 "//components/resources",
476 "//components/sync", 477 "//components/sync",
477 "//components/sync:test_support_model", 478 "//components/sync:test_support_model",
478 "//content/app/resources", 479 "//content/app/resources",
479 "//content/test:test_support", 480 "//content/test:test_support",
480 "//crypto:platform", 481 "//crypto:platform",
481 "//crypto:test_support", 482 "//crypto:test_support",
482 "//extensions/features", 483 "//extensions/features",
483 "//google_apis:test_support", 484 "//google_apis:test_support",
484 "//net", 485 "//net",
485 "//net:net_resources", 486 "//net:net_resources",
486 "//net:test_support", 487 "//net:test_support",
487 "//skia", 488 "//skia",
488 "//testing/gmock", 489 "//testing/gmock",
489 "//testing/gtest", 490 "//testing/gtest",
490 "//third_party/hunspell", 491 "//third_party/hunspell",
491 "//third_party/icu", 492 "//third_party/icu",
492 "//third_party/libpng", 493 "//third_party/libpng",
493 "//third_party/zlib", 494 "//third_party/zlib",
494 "//ui/base:test_support", 495 "//ui/base:test_support",
495 "//ui/resources:ui_test_pak", 496 "//ui/resources:ui_test_pak",
496 "//ui/web_dialogs:test_support", 497 "//ui/web_dialogs:test_support",
497 ] 498 ]
498 499
500 if (!skip_js_tests) {
Dan Beam 2017/05/10 00:02:29 if (include_js_tests) {
dpapad 2017/05/10 00:06:38 Done.
501 deps += [ "//chrome/test/data/webui:interactive_ui_tests_js_webui" ]
502 }
503
499 # TODO(rockot) bug 505926: The chrome_extensions_interactive_uitests target 504 # TODO(rockot) bug 505926: The chrome_extensions_interactive_uitests target
500 # should be deleted and this line removed. See the 505 # should be deleted and this line removed. See the
501 # chrome_extensions_interactive_uitests target for more. 506 # chrome_extensions_interactive_uitests target for more.
502 deps += [ "//extensions:chrome_extensions_interactive_uitests" ] 507 deps += [ "//extensions:chrome_extensions_interactive_uitests" ]
503 508
504 # Runtime dependencies 509 # Runtime dependencies
505 data_deps += [ 510 data_deps += [
506 "//ppapi:ppapi_tests", 511 "//ppapi:ppapi_tests",
507 "//third_party/mesa:osmesa", 512 "//third_party/mesa:osmesa",
508 ] 513 ]
(...skipping 1213 matching lines...) Expand 10 before | Expand all | Expand 10 after
1722 ":sync_integration_test_support", 1727 ":sync_integration_test_support",
1723 ":test_support_ui", 1728 ":test_support_ui",
1724 "//base:i18n", 1729 "//base:i18n",
1725 "//base/test:test_support", 1730 "//base/test:test_support",
1726 "//chrome:browser_tests_pak", 1731 "//chrome:browser_tests_pak",
1727 "//chrome:packed_resources", 1732 "//chrome:packed_resources",
1728 "//chrome:resources", 1733 "//chrome:resources",
1729 "//chrome:strings", 1734 "//chrome:strings",
1730 "//chrome/browser", 1735 "//chrome/browser",
1731 "//chrome/renderer", 1736 "//chrome/renderer",
1732 "//chrome/test/data/webui:browser_tests_js_webui",
1733 "//chrome/test/media_router:media_router_browsertests", 1737 "//chrome/test/media_router:media_router_browsertests",
1734 "//components/autofill/content/browser:risk_proto", 1738 "//components/autofill/content/browser:risk_proto",
1735 "//components/autofill/content/renderer:test_support", 1739 "//components/autofill/content/renderer:test_support",
1736 "//components/captive_portal:test_support", 1740 "//components/captive_portal:test_support",
1737 "//components/dom_distiller/content/browser", 1741 "//components/dom_distiller/content/browser",
1738 "//components/dom_distiller/content/renderer", 1742 "//components/dom_distiller/content/renderer",
1739 "//components/dom_distiller/core:test_support", 1743 "//components/dom_distiller/core:test_support",
1740 "//components/guest_view/browser:test_support", 1744 "//components/guest_view/browser:test_support",
1741 "//components/policy:chrome_settings_proto", 1745 "//components/policy:chrome_settings_proto",
1742 "//components/resources", 1746 "//components/resources",
(...skipping 29 matching lines...) Expand all
1772 "//third_party/webrtc_overrides", 1776 "//third_party/webrtc_overrides",
1773 "//third_party/widevine/cdm:headers", 1777 "//third_party/widevine/cdm:headers",
1774 "//ui/accessibility:test_support", 1778 "//ui/accessibility:test_support",
1775 "//ui/base:test_support", 1779 "//ui/base:test_support",
1776 "//ui/compositor:test_support", 1780 "//ui/compositor:test_support",
1777 "//ui/resources", 1781 "//ui/resources",
1778 "//ui/web_dialogs:test_support", 1782 "//ui/web_dialogs:test_support",
1779 "//v8", 1783 "//v8",
1780 ] 1784 ]
1781 1785
1786 if (!skip_js_tests) {
1787 deps += [ "//chrome/test/data/webui:browser_tests_js_webui" ]
1788 }
1789
1782 # Runtime dependencies 1790 # Runtime dependencies
1783 data_deps += [ 1791 data_deps += [
1784 "//ppapi:ppapi_tests", 1792 "//ppapi:ppapi_tests",
1785 "//ppapi:power_saver_test_plugin", 1793 "//ppapi:power_saver_test_plugin",
1786 "//remoting/webapp:browser_test_resources", 1794 "//remoting/webapp:browser_test_resources",
1787 "//remoting/webapp:unit_tests", 1795 "//remoting/webapp:unit_tests",
1788 "//third_party/mesa:osmesa", 1796 "//third_party/mesa:osmesa",
1789 "//third_party/widevine/cdm:widevine_test_license_server", 1797 "//third_party/widevine/cdm:widevine_test_license_server",
1790 ] 1798 ]
1791 1799
(...skipping 1861 matching lines...) Expand 10 before | Expand all | Expand 10 after
3653 "../browser/ui/webui/media_router/media_cast_mode_unittest.cc", 3661 "../browser/ui/webui/media_router/media_cast_mode_unittest.cc",
3654 "../browser/ui/webui/media_router/media_router_dialog_controller_impl_unit test.cc", 3662 "../browser/ui/webui/media_router/media_router_dialog_controller_impl_unit test.cc",
3655 "../browser/ui/webui/media_router/media_router_ui_unittest.cc", 3663 "../browser/ui/webui/media_router/media_router_ui_unittest.cc",
3656 "../browser/ui/webui/media_router/media_router_web_ui_test.cc", 3664 "../browser/ui/webui/media_router/media_router_web_ui_test.cc",
3657 "../browser/ui/webui/media_router/media_router_web_ui_test.h", 3665 "../browser/ui/webui/media_router/media_router_web_ui_test.h",
3658 "../browser/ui/webui/media_router/media_router_webui_message_handler_unitt est.cc", 3666 "../browser/ui/webui/media_router/media_router_webui_message_handler_unitt est.cc",
3659 "../browser/ui/webui/media_router/query_result_manager_unittest.cc", 3667 "../browser/ui/webui/media_router/query_result_manager_unittest.cc",
3660 "../common/media_router/mojo/media_router_struct_traits_unittest.cc", 3668 "../common/media_router/mojo/media_router_struct_traits_unittest.cc",
3661 "../utility/media_router/dial_device_description_parser_impl_unittest.cc", 3669 "../utility/media_router/dial_device_description_parser_impl_unittest.cc",
3662 ] 3670 ]
3663 deps += [ 3671 deps += [ "//components/bubble:test_support" ]
3664 "//chrome/test/data/webui:unit_tests_js", 3672
3665 "//components/bubble:test_support", 3673 if (!skip_js_tests) {
3666 ] 3674 deps += [ "//chrome/test/data/webui:unit_tests_js" ]
3675 }
3676
3667 data += [ 3677 data += [
3668 "$root_out_dir/test_data/chrome/browser/resources/print_preview/", 3678 "$root_out_dir/test_data/chrome/browser/resources/print_preview/",
3669 "$root_out_dir/test_data/chrome/renderer/resources/extensions/", 3679 "$root_out_dir/test_data/chrome/renderer/resources/extensions/",
3670 "$root_out_dir/test_data/ui/webui/", 3680 "$root_out_dir/test_data/ui/webui/",
3671 ] 3681 ]
3672 } 3682 }
3673 3683
3674 if (is_desktop_linux && enable_native_notifications) { 3684 if (is_desktop_linux && enable_native_notifications) {
3675 sources += [ "../browser/notifications/notification_platform_bridge_linux_un ittest.cc" ] 3685 sources += [ "../browser/notifications/notification_platform_bridge_linux_un ittest.cc" ]
3676 } 3686 }
(...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after
5039 } 5049 }
5040 5050
5041 if (is_win) { 5051 if (is_win) {
5042 loadable_module("conflicts_dll") { 5052 loadable_module("conflicts_dll") {
5043 testonly = true 5053 testonly = true
5044 sources = [ 5054 sources = [
5045 "conflicts/conflicts_dll.cc", 5055 "conflicts/conflicts_dll.cc",
5046 ] 5056 ]
5047 } 5057 }
5048 } 5058 }
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/webui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698