humanai / gyp

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

link_settings does not work for targets of type none #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have a target of type none
2. Attempt to place a link_settings section inside of it

Take a look at ffmpeg.gyp:
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/ffmpeg/ffmpeg.gyp
?revision=19579&view=markup

The settings do not get propagated to executables and shared libraries.  The 
current workaround is to place it inside of a direct_dependent_settings 
section, which will make the media lib pick up the link_settings, where it 
will then propagate to executables and shared libraries.

Original issue reported on code.google.com by scherkus@chromium.org on 30 Jun 2009 at 10:53

GoogleCodeExporter commented 9 years ago
Slight redefinition of the input.py semantics for handling 'none'.

Original comment by sgk@chromium.org on 6 Aug 2009 at 6:29

GoogleCodeExporter commented 9 years ago
I believe direct_dependent_settings is considered the Correct way to do this.

Original comment by evan@chromium.org on 14 Sep 2011 at 9:14