KageKirin / gyp

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

Can't exclude a non-existing dependency. #424

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Trying to work around a dependency cycle which presumably happens between two 
universal dependencies (on which every other target depends), 'foo' and 'bar', 
I'm adding the following filter to 'foo':

 'dependencies!': [
   'bar',
 ]

But GYP barks at me:

gyp: Found bar.gyp:bar#target in dependencies! of foo.gyp:foo#target, but not 
in dependencies

I can imagine the reason behind this, but such behavior is different from other 
exclusion lists and causes code duplication (all the conditions under which 
this dependency has been added need to be applied to the exclusion list).

Is it ok to remove this check (only for dependencies!, not any other list)?

Original issue reported on code.google.com by gli...@chromium.org on 7 May 2014 at 2:03