Index: extensions/shell/BUILD.gn |
diff --git a/extensions/shell/BUILD.gn b/extensions/shell/BUILD.gn |
index 084d3caf596e90542322b2680d10dff4ef782daa..a1d362a154696c6fa45b74c9d6781fdc60b716ea 100644 |
--- a/extensions/shell/BUILD.gn |
+++ b/extensions/shell/BUILD.gn |
@@ -152,7 +152,7 @@ source_set("app_shell_lib") { |
} |
} |
-if (!(is_chromeos && !use_ozone)) { |
+if (!(is_chromeos && !use_ozone) && (!is_win || link_chrome_on_windows)) { |
executable("app_shell") { |
# testonly because :app_shell_lib is testonly. See :app_shell_lib comment. |
testonly = true |