diff options
author | mgiuca <mgiuca@chromium.org> | 2015-11-15 23:26:49 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-16 07:27:29 +0000 |
commit | 135eac6e75e9820b5d078689e3ba95e8b78c90c0 (patch) | |
tree | c458b0bfc1f7b2310833d92bece19bcbf82fddb1 /build | |
parent | 4a7834f53cd2d1e2a7d77f51f5e12cdcfa50634f (diff) | |
download | chromium_src-135eac6e75e9820b5d078689e3ba95e8b78c90c0.zip chromium_src-135eac6e75e9820b5d078689e3ba95e8b78c90c0.tar.gz chromium_src-135eac6e75e9820b5d078689e3ba95e8b78c90c0.tar.bz2 |
Added win_console_app compile-time flag.
On Windows, this builds with /SUBSYSTEM:CONSOLE instead of
/SUBSYSTEM:WINDOWS, which enables console logging (without having to use
Sawbuck or log to a file). The downside of this is that it pops open a
command line window, so it should only be used for development.
Works in GYP or GN. ASan builds automatically get this flag (which is
consistent with existing behaviour).
BUG=550745
Review URL: https://codereview.chromium.org/1429133002
Cr-Commit-Position: refs/heads/master@{#359807}
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 9f2f91a..df6ba20 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -1987,6 +1987,13 @@ ['asan==1 or syzyasan==1', { 'win_use_allocator_shim%': 0, }], + # The AddressSanitizer build should be a console program as it prints + # out stuff on stderr. + ['asan==1', { + 'win_console_app%': 1, + }, { + 'win_console_app%': 0, + }], ['syzyasan==1', { 'kasko%': 1, }], |