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

Issue 10387156: msvs: error out on actions w/o inputs (Closed)

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

Description

msvs: error out on actions w/o inputs r1378 broke on ninja, not because of command line too long, but because there was no inputs specified in the actions. Add inputs block to the actions in previously added test, make msvs error out in the same way as other generators. Add verification to input.py. R=thakis@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=1379

Patch Set 1 #

Patch Set 2 : add input to many-actions, make msvs error out on action w/o inputs #

Patch Set 3 : add verification in input.py #

Patch Set 4 : make sure there's an inputs block specified #

Total comments: 3

Patch Set 5 : empty inputs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -2 lines) Patch
M pylib/gyp/generator/msvs.py View 1 1 chunk +1 line, -1 line 0 comments Download
M pylib/gyp/input.py View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M test/many-actions/many-actions.gyp View 1 2 3 4 200 chunks +200 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
scottmg
8 years, 7 months ago (2012-05-16 18:45:30 UTC) #1
Nico
Hm. make, xcode, and ninja currently all choke on actions without inputs. Maybe easier to ...
8 years, 7 months ago (2012-05-16 18:48:38 UTC) #2
scottmg
https://chromiumcodereview.appspot.com/10387156/diff/7001/pylib/gyp/input.py File pylib/gyp/input.py (right): https://chromiumcodereview.appspot.com/10387156/diff/7001/pylib/gyp/input.py#newcode2273 pylib/gyp/input.py:2273: inputs = action.get('inputs', None) This wasn't doing anything at ...
8 years, 7 months ago (2012-05-16 19:21:22 UTC) #3
Nico
On 2012/05/16 19:21:22, scottmg wrote: > https://chromiumcodereview.appspot.com/10387156/diff/7001/pylib/gyp/input.py > File pylib/gyp/input.py (right): > > https://chromiumcodereview.appspot.com/10387156/diff/7001/pylib/gyp/input.py#newcode2273 > ...
8 years, 7 months ago (2012-05-16 19:31:30 UTC) #4
Nico
lgtm https://chromiumcodereview.appspot.com/10387156/diff/7001/test/many-actions/many-actions.gyp File test/many-actions/many-actions.gyp (right): https://chromiumcodereview.appspot.com/10387156/diff/7001/test/many-actions/many-actions.gyp#newcode1807 test/many-actions/many-actions.gyp:1807: 'inputs': ['input'], Just [] might be enough
8 years, 7 months ago (2012-05-16 19:32:52 UTC) #5
scottmg
8 years, 7 months ago (2012-05-16 19:35:34 UTC) #6
https://chromiumcodereview.appspot.com/10387156/diff/7001/test/many-actions/m...
File test/many-actions/many-actions.gyp (right):

https://chromiumcodereview.appspot.com/10387156/diff/7001/test/many-actions/m...
test/many-actions/many-actions.gyp:1807: 'inputs': ['input'],
On 2012/05/16 19:32:52, Nico wrote:
> Just [] might be enough

Done.

Powered by Google App Engine
This is Rietveld 408576698