Commit 5b595f68 authored by brettw's avatar brettw Committed by Commit bot

Disable more GN linking on Windows.

Bots are still too slow.

TBR=dpranke

Review URL: https://codereview.chromium.org/889203002

Cr-Commit-Position: refs/heads/master@{#314094}
parent ba683620
...@@ -71,7 +71,7 @@ component("blink") { ...@@ -71,7 +71,7 @@ component("blink") {
# GYP version: //cc/blink/cc_blink_tests.gyp:cc_blink_unittests # GYP version: //cc/blink/cc_blink_tests.gyp:cc_blink_unittests
# TODO(GYP): make linking work on the mac. # TODO(GYP): make linking work on the mac.
if (!is_mac) { if (!is_mac && (!is_win || link_chrome_on_windows)) {
test("cc_blink_unittests") { test("cc_blink_unittests") {
sources = [ sources = [
"web_animation_unittest.cc", "web_animation_unittest.cc",
......
...@@ -217,61 +217,63 @@ group("all_components") { ...@@ -217,61 +217,63 @@ group("all_components") {
# component (it's important to use a source_set instead of a static library or # component (it's important to use a source_set instead of a static library or
# no tests will run) and add a reference here. You can add more than one unit # no tests will run) and add a reference here. You can add more than one unit
# test target if convenient. # test target if convenient.
test("components_unittests") { if (!is_win || link_chrome_on_windows) {
sources = [ test("components_unittests") {
"test/run_all_unittests.cc", sources = [
] "test/run_all_unittests.cc",
]
# Add only ":unit_tests" dependencies here. If your tests have dependencies # Add only ":unit_tests" dependencies here. If your tests have dependencies
# (this would at least include the component itself), they should be on the # (this would at least include the component itself), they should be on the
# test source set and not here. # test source set and not here.
deps = [ deps = [
"//components/auto_login_parser:unit_tests", "//components/auto_login_parser:unit_tests",
"//components/autofill/content/browser:unit_tests", "//components/autofill/content/browser:unit_tests",
"//components/autofill/core/browser:unit_tests", "//components/autofill/core/browser:unit_tests",
"//components/autofill/core/common:unit_tests", "//components/autofill/core/common:unit_tests",
"//components/bookmarks/browser:unit_tests", "//components/bookmarks/browser:unit_tests",
"//components/captive_portal:unit_tests", "//components/captive_portal:unit_tests",
"//components/cloud_devices/common:unit_tests", "//components/cloud_devices/common:unit_tests",
"//components/content_settings/core/browser:unit_tests", "//components/content_settings/core/browser:unit_tests",
"//components/content_settings/core/common:unit_tests", "//components/content_settings/core/common:unit_tests",
"//components/crx_file:unit_tests", "//components/crx_file:unit_tests",
"//components/data_reduction_proxy/core/browser:unit_tests", "//components/data_reduction_proxy/core/browser:unit_tests",
"//components/data_reduction_proxy/core/common:unit_tests", "//components/data_reduction_proxy/core/common:unit_tests",
"//components/dom_distiller/core:unit_tests", "//components/dom_distiller/core:unit_tests",
"//components/domain_reliability:unit_tests", "//components/domain_reliability:unit_tests",
"//components/favicon_base:unit_tests", "//components/favicon_base:unit_tests",
"//components/google/core/browser:unit_tests", "//components/google/core/browser:unit_tests",
"//components/invalidation:unittests", "//components/invalidation:unittests",
"//components/login:unit_tests", "//components/login:unit_tests",
"//components/metrics:unit_tests", "//components/metrics:unit_tests",
"//components/omnibox:unit_tests", "//components/omnibox:unit_tests",
"//components/ownership:unit_tests", "//components/ownership:unit_tests",
"//components/packed_ct_ev_whitelist:unit_tests", "//components/packed_ct_ev_whitelist:unit_tests",
"//components/proximity_auth:unit_tests", "//components/proximity_auth:unit_tests",
"//components/update_client:unit_tests", "//components/update_client:unit_tests",
"//components/variations:unit_tests", "//components/variations:unit_tests",
"//components/web_resource:unit_tests", "//components/web_resource:unit_tests",
"//components/webdata/common:unit_tests", "//components/webdata/common:unit_tests",
# These are the deps required by the code in this target. # These are the deps required by the code in this target.
"//base", "//base",
"//base/test:test_support", "//base/test:test_support",
"//content/test:test_support", "//content/test:test_support",
"//ui/base", "//ui/base",
] ]
# TODO(GYP) need this target. # TODO(GYP) need this target.
#'breakpad/app/crash_keys_win_unittest.cc', #'breakpad/app/crash_keys_win_unittest.cc',
# Precache tests need these defines. # Precache tests need these defines.
#configs += [ "//components/precache/core:precache_config" ] #configs += [ "//components/precache/core:precache_config" ]
if (toolkit_views) { if (toolkit_views) {
# TODO(GYP) enable this as above. # TODO(GYP) enable this as above.
#deps += [ "//components/constrained_window:unit_tests" ] #deps += [ "//components/constrained_window:unit_tests" ]
} }
if (is_win) { if (is_win) {
deps += [ "//components/browser_watcher:unit_tests" ] deps += [ "//components/browser_watcher:unit_tests" ]
}
} }
} }
...@@ -246,7 +246,7 @@ if (!is_ios) { ...@@ -246,7 +246,7 @@ if (!is_ios) {
} # !is_ios } # !is_ios
# TODO(GYP) enable content_browsertests on Mac when it links. # TODO(GYP) enable content_browsertests on Mac when it links.
if (!is_mac) { if (!is_mac && (!is_win || link_chrome_on_windows)) {
test("content_browsertests") { test("content_browsertests") {
sources = sources =
rebase_path(content_tests_gypi_values.content_browsertests_sources, rebase_path(content_tests_gypi_values.content_browsertests_sources,
...@@ -429,7 +429,7 @@ if (!is_mac) { ...@@ -429,7 +429,7 @@ if (!is_mac) {
} }
} }
if (!is_mac) { # TODO(GYP) enable on Mac once it links. if (!is_mac && (!is_win || link_chrome_on_windows)) { # TODO(GYP) enable on Mac once it links.
test("content_unittests") { test("content_unittests") {
sources = rebase_path(content_tests_gypi_values.content_unittests_sources, sources = rebase_path(content_tests_gypi_values.content_unittests_sources,
".", ".",
...@@ -622,7 +622,7 @@ if (!is_mac) { # TODO(GYP) enable on Mac once it links. ...@@ -622,7 +622,7 @@ if (!is_mac) { # TODO(GYP) enable on Mac once it links.
} }
} }
if (!is_mac) { # TODO(GYP) enable on Mac once it links. if (!is_mac && (!is_win || link_chrome_on_windows)) { # TODO(GYP) enable on Mac once it links.
test("content_perftests") { test("content_perftests") {
sources = [ sources = [
"../browser/renderer_host/input/input_router_impl_perftest.cc", "../browser/renderer_host/input/input_router_impl_perftest.cc",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment