diff options
author | Vladimir Vukicevic <vladimir@pobox.com> | 2016-09-28 13:37:31 -0700 |
---|---|---|
committer | Vladimir Vukicevic <vladimir@pobox.com> | 2016-09-28 13:37:31 -0700 |
commit | da8f06b0f9da13cdd3331528d620792e5672eb73 (patch) | |
tree | 31d6fc6cab44378d44873fd019d2e1b13a9ce9ee /python/servo/build_commands.py | |
parent | a082501173918d6a5808881f84556cb78391b9b2 (diff) | |
download | servo-da8f06b0f9da13cdd3331528d620792e5672eb73.tar.gz servo-da8f06b0f9da13cdd3331528d620792e5672eb73.zip |
Use default console subsystem on Windows for dev builds
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r-- | python/servo/build_commands.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index 5277adf66d0..29efd935353 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -259,9 +259,11 @@ class MachCommands(CommandBase): servo_exe_dir) if "msvc" in (target or host_triple()): msvc_x64 = "64" if "x86_64" in (target or host_triple()) else "" - # on msvc builds, use editbin to change the subsystem to windows - call(["editbin", "/nologo", "/subsystem:windows", path.join(servo_exe_dir, "servo.exe")], - verbose=verbose) + # on msvc builds, use editbin to change the subsystem to windows, but only + # on release builds -- on debug builds, it hides log output + if not dev: + call(["editbin", "/nologo", "/subsystem:windows", path.join(servo_exe_dir, "servo.exe")], + verbose=verbose) # on msvc, we need to copy in some DLLs in to the servo.exe dir for ssl_lib in ["ssleay32md.dll", "libeay32md.dll"]: shutil.copy(path.join(env['OPENSSL_LIB_DIR'], "../bin" + msvc_x64, ssl_lib), |