wangyu5 / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

source .c/.cc files which are both inputs to actions and sources fail on all generators without error #175

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently on all 3 generators this will fail to do what the user might 
intuitively expect, without error:
  'sources': [
    'foo.c',
  ],
  'actions': [
    {
       'inputs': ['foo.c'],
      ...
   }
  ]

foo.c will be used as an input to the action, but will not be compiled.
This may be correct/desirable, but no error is issued.

Original issue reported on code.google.com by bradnelson@google.com on 1 Feb 2011 at 1:55