| 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/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 include_js_tests = !(is_asan || is_msan || is_tsan) |
| 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 Loading... |
| 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 (include_js_tests) { |
| 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 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1723 ":sync_integration_test_support", | 1728 ":sync_integration_test_support", |
| 1724 ":test_support_ui", | 1729 ":test_support_ui", |
| 1725 "//base:i18n", | 1730 "//base:i18n", |
| 1726 "//base/test:test_support", | 1731 "//base/test:test_support", |
| 1727 "//chrome:browser_tests_pak", | 1732 "//chrome:browser_tests_pak", |
| 1728 "//chrome:packed_resources", | 1733 "//chrome:packed_resources", |
| 1729 "//chrome:resources", | 1734 "//chrome:resources", |
| 1730 "//chrome:strings", | 1735 "//chrome:strings", |
| 1731 "//chrome/browser", | 1736 "//chrome/browser", |
| 1732 "//chrome/renderer", | 1737 "//chrome/renderer", |
| 1733 "//chrome/test/data/webui:browser_tests_js_webui", | |
| 1734 "//chrome/test/media_router:media_router_browsertests", | 1738 "//chrome/test/media_router:media_router_browsertests", |
| 1735 "//components/autofill/content/browser:risk_proto", | 1739 "//components/autofill/content/browser:risk_proto", |
| 1736 "//components/autofill/content/renderer:test_support", | 1740 "//components/autofill/content/renderer:test_support", |
| 1737 "//components/captive_portal:test_support", | 1741 "//components/captive_portal:test_support", |
| 1738 "//components/dom_distiller/content/browser", | 1742 "//components/dom_distiller/content/browser", |
| 1739 "//components/dom_distiller/content/renderer", | 1743 "//components/dom_distiller/content/renderer", |
| 1740 "//components/dom_distiller/core:test_support", | 1744 "//components/dom_distiller/core:test_support", |
| 1741 "//components/guest_view/browser:test_support", | 1745 "//components/guest_view/browser:test_support", |
| 1742 "//components/policy:chrome_settings_proto", | 1746 "//components/policy:chrome_settings_proto", |
| 1743 "//components/resources", | 1747 "//components/resources", |
| (...skipping 29 matching lines...) Expand all Loading... |
| 1773 "//third_party/webrtc_overrides", | 1777 "//third_party/webrtc_overrides", |
| 1774 "//third_party/widevine/cdm:headers", | 1778 "//third_party/widevine/cdm:headers", |
| 1775 "//ui/accessibility:test_support", | 1779 "//ui/accessibility:test_support", |
| 1776 "//ui/base:test_support", | 1780 "//ui/base:test_support", |
| 1777 "//ui/compositor:test_support", | 1781 "//ui/compositor:test_support", |
| 1778 "//ui/resources", | 1782 "//ui/resources", |
| 1779 "//ui/web_dialogs:test_support", | 1783 "//ui/web_dialogs:test_support", |
| 1780 "//v8", | 1784 "//v8", |
| 1781 ] | 1785 ] |
| 1782 | 1786 |
| 1787 if (include_js_tests) { |
| 1788 deps += [ "//chrome/test/data/webui:browser_tests_js_webui" ] |
| 1789 } |
| 1790 |
| 1783 # Runtime dependencies | 1791 # Runtime dependencies |
| 1784 data_deps += [ | 1792 data_deps += [ |
| 1785 "//ppapi:ppapi_tests", | 1793 "//ppapi:ppapi_tests", |
| 1786 "//ppapi:power_saver_test_plugin", | 1794 "//ppapi:power_saver_test_plugin", |
| 1787 "//remoting/webapp:browser_test_resources", | 1795 "//remoting/webapp:browser_test_resources", |
| 1788 "//remoting/webapp:unit_tests", | 1796 "//remoting/webapp:unit_tests", |
| 1789 "//third_party/mesa:osmesa", | 1797 "//third_party/mesa:osmesa", |
| 1790 "//third_party/widevine/cdm:widevine_test_license_server", | 1798 "//third_party/widevine/cdm:widevine_test_license_server", |
| 1791 ] | 1799 ] |
| 1792 | 1800 |
| (...skipping 1863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3656 "../browser/ui/webui/media_router/media_cast_mode_unittest.cc", | 3664 "../browser/ui/webui/media_router/media_cast_mode_unittest.cc", |
| 3657 "../browser/ui/webui/media_router/media_router_dialog_controller_impl_unit
test.cc", | 3665 "../browser/ui/webui/media_router/media_router_dialog_controller_impl_unit
test.cc", |
| 3658 "../browser/ui/webui/media_router/media_router_ui_unittest.cc", | 3666 "../browser/ui/webui/media_router/media_router_ui_unittest.cc", |
| 3659 "../browser/ui/webui/media_router/media_router_web_ui_test.cc", | 3667 "../browser/ui/webui/media_router/media_router_web_ui_test.cc", |
| 3660 "../browser/ui/webui/media_router/media_router_web_ui_test.h", | 3668 "../browser/ui/webui/media_router/media_router_web_ui_test.h", |
| 3661 "../browser/ui/webui/media_router/media_router_webui_message_handler_unitt
est.cc", | 3669 "../browser/ui/webui/media_router/media_router_webui_message_handler_unitt
est.cc", |
| 3662 "../browser/ui/webui/media_router/query_result_manager_unittest.cc", | 3670 "../browser/ui/webui/media_router/query_result_manager_unittest.cc", |
| 3663 "../common/media_router/mojo/media_router_struct_traits_unittest.cc", | 3671 "../common/media_router/mojo/media_router_struct_traits_unittest.cc", |
| 3664 "../utility/media_router/dial_device_description_parser_impl_unittest.cc", | 3672 "../utility/media_router/dial_device_description_parser_impl_unittest.cc", |
| 3665 ] | 3673 ] |
| 3666 deps += [ | 3674 deps += [ "//components/bubble:test_support" ] |
| 3667 "//chrome/test/data/webui:unit_tests_js", | 3675 |
| 3668 "//components/bubble:test_support", | 3676 if (include_js_tests) { |
| 3669 ] | 3677 deps += [ "//chrome/test/data/webui:unit_tests_js" ] |
| 3678 } |
| 3679 |
| 3670 data += [ | 3680 data += [ |
| 3671 "$root_out_dir/test_data/chrome/browser/resources/print_preview/", | 3681 "$root_out_dir/test_data/chrome/browser/resources/print_preview/", |
| 3672 "$root_out_dir/test_data/chrome/renderer/resources/extensions/", | 3682 "$root_out_dir/test_data/chrome/renderer/resources/extensions/", |
| 3673 "$root_out_dir/test_data/ui/webui/", | 3683 "$root_out_dir/test_data/ui/webui/", |
| 3674 ] | 3684 ] |
| 3675 } | 3685 } |
| 3676 | 3686 |
| 3677 if (is_desktop_linux && enable_native_notifications) { | 3687 if (is_desktop_linux && enable_native_notifications) { |
| 3678 sources += [ "../browser/notifications/notification_platform_bridge_linux_un
ittest.cc" ] | 3688 sources += [ "../browser/notifications/notification_platform_bridge_linux_un
ittest.cc" ] |
| 3679 } | 3689 } |
| (...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5042 } | 5052 } |
| 5043 | 5053 |
| 5044 if (is_win) { | 5054 if (is_win) { |
| 5045 loadable_module("conflicts_dll") { | 5055 loadable_module("conflicts_dll") { |
| 5046 testonly = true | 5056 testonly = true |
| 5047 sources = [ | 5057 sources = [ |
| 5048 "conflicts/conflicts_dll.cc", | 5058 "conflicts/conflicts_dll.cc", |
| 5049 ] | 5059 ] |
| 5050 } | 5060 } |
| 5051 } | 5061 } |
| OLD | NEW |