console_app.gni (681B)
1 # Copyright 2016 The Chromium Authors 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 import("//chromium/build/config/sanitizers/sanitizers.gni") 6 7 declare_args() { 8 # If true, builds as a console app (rather than a windowed app), which allows 9 # logging to be printed to the user. This will cause a terminal window to pop 10 # up when the executable is not run from the command line, so should only be 11 # used for development. Only has an effect on Windows builds. 12 win_console_app = false 13 } 14 15 if (is_win && is_asan) { 16 # AddressSanitizer build should be a console app since it writes to stderr. 17 win_console_app = true 18 }