Index: content/shell/BUILD.gn |
diff --git a/content/shell/BUILD.gn b/content/shell/BUILD.gn |
index 7903e6ab181c2d63521ecb6d39bff32b14a9a597..c1282aa27873d1052ff0a09fdc6f51d5e061270d 100644 |
--- a/content/shell/BUILD.gn |
+++ b/content/shell/BUILD.gn |
@@ -481,7 +481,7 @@ repack("pak") { |
# TODO(GYP): Figure out what this should be on android |
# and make linking this work on the Mac. |
-if (!is_android && !is_mac) { |
+if (!is_android && !is_mac && (!is_win || link_chrome_on_windows)) { |
executable("content_shell") { |
testonly = true |
@@ -520,4 +520,7 @@ if (!is_android && !is_mac) { |
] |
} |
} |
+} else { |
+ group("content_shell") { |
+ } |
} |