Index: content/test/BUILD.gn |
diff --git a/content/test/BUILD.gn b/content/test/BUILD.gn |
index 4cf33a43d374c555975c4f3e05fb4ac86c6111e0..e91d0d5238005e7d14058963fb957c0742001cc7 100644 |
--- a/content/test/BUILD.gn |
+++ b/content/test/BUILD.gn |
@@ -246,7 +246,7 @@ if (!is_ios) { |
} # !is_ios |
# 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") { |
sources = |
rebase_path(content_tests_gypi_values.content_browsertests_sources, |
@@ -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") { |
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. |
} |
} |
-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") { |
sources = [ |
"../browser/renderer_host/input/input_router_impl_perftest.cc", |