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

Issue 2262001: Fix Linux coverage which doesn't like a gyp 'inputs' to contain non-files.... (Closed)

Created:
10 years, 7 months ago by John Grabowski
Modified:
9 years, 6 months ago
Reviewers:
viettrungluu
CC:
chromium-reviews
Visibility:
Public.

Description

Fix Linux coverage which doesn't like a gyp 'inputs' to contain non-files. Tested on Linux and Mac. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=48255

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M chrome/chrome_tests.gypi View 1 2 3 4 5 1 chunk +17 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
John Grabowski
10 years, 7 months ago (2010-05-26 04:04:52 UTC) #1
viettrungluu
http://codereview.chromium.org/2262001/diff/2001/3001 File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/2262001/diff/2001/3001#newcode2387 chrome/chrome_tests.gypi:2387: '../ipc/ipc.gyp:ipc_tests', You broke the indentation here. http://codereview.chromium.org/2262001/diff/2001/3001#newcode2424 chrome/chrome_tests.gypi:2424: # ...
10 years, 7 months ago (2010-05-26 04:14:50 UTC) #2
John Grabowski
http://codereview.chromium.org/2262001/diff/2001/3001 File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/2262001/diff/2001/3001#newcode2387 chrome/chrome_tests.gypi:2387: '../ipc/ipc.gyp:ipc_tests', On 2010/05/26 04:14:50, viettrungluu wrote: > You broke ...
10 years, 7 months ago (2010-05-26 04:20:34 UTC) #3
viettrungluu
10 years, 7 months ago (2010-05-26 04:31:44 UTC) #4
Okay, LGTM with a bit more explanation in the comments. In any case, running
coverage is better than not running coverage.

On 2010/05/26 04:20:34, John Grabowski wrote:
> http://codereview.chromium.org/2262001/diff/2001/3001
> File chrome/chrome_tests.gypi (right):
> 
> http://codereview.chromium.org/2262001/diff/2001/3001#newcode2387
> chrome/chrome_tests.gypi:2387: '../ipc/ipc.gyp:ipc_tests',
> On 2010/05/26 04:14:50, viettrungluu wrote:
> > You broke the indentation here.
> 
> fixed
> 
> http://codereview.chromium.org/2262001/diff/2001/3001#newcode2424
> chrome/chrome_tests.gypi:2424: # Technically I want inputs to be the list of
> On 2010/05/26 04:14:50, viettrungluu wrote:
> > Could you label this with TODO(jrg), so we know who "I" is (and who to ask
> when
> > there are any questions)?
> 
> done
> 
> http://codereview.chromium.org/2262001/diff/2001/3001#newcode2429
> chrome/chrome_tests.gypi:2429: 'inputs': [ 'chrome/chrome_tests.gypi' ],
> On 2010/05/26 04:14:50, viettrungluu wrote:
> > Will this really make this run? (It seems to me that it would only be run
each
> > time chrome_tests.gypi is touched.)
> > 
> > If the objective is to make it run, could you give it a nonexistent file as
> > 'outputs'? (The documentation says: "If any output is missing or is outdated
> > relative to any input, the custom action will be invoked.")
> 
> Nope.  For Linux/Make, a non-existent file as input causes a make error.  That
> is the reason why Linux coverage is broken right now.

Powered by Google App Engine
This is Rietveld 408576698