Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(949)

Unified Diff: chrome/app/chrome_exe_main_win.cc

Issue 311413003: Add a win_force_console=1 GYP flag that makes chrome.exe and nacl64.exe console applications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/app/chrome_exe_main_win.cc
diff --git a/chrome/app/chrome_exe_main_win.cc b/chrome/app/chrome_exe_main_win.cc
index b43dacd59683e8b65f8f0f7dc6a5ef1e800a651d..fe986dd3dc9f1b46ba9f32629e66cd239f0c8900 100644
--- a/chrome/app/chrome_exe_main_win.cc
+++ b/chrome/app/chrome_exe_main_win.cc
@@ -79,11 +79,9 @@ bool AttemptFastNotify(const CommandLine& command_line) {
} // namespace
-#if !defined(ADDRESS_SANITIZER)
+#if !defined(FORCE_CONSOLE_SUBSYSTEM)
int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE prev, wchar_t*, int) {
#else
-// The AddressSanitizer build should be a console program as it prints out stuff
-// on stderr.
int main() {
HINSTANCE instance = GetModuleHandle(NULL);
#endif
« build/common.gypi ('K') | « build/common.gypi ('k') | chrome/chrome_dll.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698