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

Issue 9969078: ninja windows: suppress 'Creating library...' output (Closed)

Created:
8 years, 8 months ago by scottmg
Modified:
8 years, 8 months ago
Reviewers:
Nico
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

ninja windows: suppress 'Creating library...' output A common noisy message that messes with one-line-ninja-overprinting style. R=thakis@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=1299

Patch Set 1 #

Total comments: 2

Patch Set 2 : fixes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -3 lines) Patch
M pylib/gyp/generator/ninja.py View 1 2 chunks +5 lines, -3 lines 0 comments Download
M pylib/gyp/win_tool.py View 1 2 chunks +14 lines, -0 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
scottmg
8 years, 8 months ago (2012-04-03 22:08:25 UTC) #1
Nico
lgtm Oh, does ninja do overwriting output on windows already? cool :-) http://chromiumcodereview.appspot.com/9969078/diff/1/pylib/gyp/generator/ninja.py File pylib/gyp/generator/ninja.py ...
8 years, 8 months ago (2012-04-03 23:00:38 UTC) #2
scottmg
On 2012/04/03 23:00:38, Nico wrote: > lgtm > > Oh, does ninja do overwriting output ...
8 years, 8 months ago (2012-04-03 23:09:43 UTC) #3
Nico
http://chromiumcodereview.appspot.com/9969078/diff/4002/pylib/gyp/win_tool.py File pylib/gyp/win_tool.py (right): http://chromiumcodereview.appspot.com/9969078/diff/4002/pylib/gyp/win_tool.py#newcode62 pylib/gyp/win_tool.py:62: for line in out.splitlines(): You can just iterate over ...
8 years, 8 months ago (2012-04-03 23:13:12 UTC) #4
scottmg
8 years, 8 months ago (2012-04-03 23:29:41 UTC) #5
On 2012/04/03 23:13:12, Nico wrote:
> http://chromiumcodereview.appspot.com/9969078/diff/4002/pylib/gyp/win_tool.py
> File pylib/gyp/win_tool.py (right):
> 
>
http://chromiumcodereview.appspot.com/9969078/diff/4002/pylib/gyp/win_tool.py...
> pylib/gyp/win_tool.py:62: for line in out.splitlines():
> You can just iterate over popen.stdout, which will yield the output in line
form
> i think. (and when you're done reading, popen.returncode is ready.) at least
> that works on posix.

Indeed, just like magic. I hastily committed already, so fix here: 
https://chromiumcodereview.appspot.com/9959128

Powered by Google App Engine
This is Rietveld 408576698