Libraries without '-l' treated as relative paths.

The following have the same effect on Windows:
'msvs_settings': { 'VCLinkerTool': { 'AdditionalDependencies': [ 'windowscodecs.lib', ],},},
'link_settings': {'libraries': ['-lwindowscodecs.lib',],},

But this one is different:
'link_settings': {'libraries': ['windowscodecs.lib',],},

since this last one will attempt to find the library at
third_party\skia\gyp\windowscodecs.lib
or a place like this, instead of looking in the library paths.

This also fixes capitalization of the affected libraries.

R=bsalomon@google.com

Review URL: https://codereview.chromium.org/99463002

git-svn-id: http://skia.googlecode.com/svn/trunk@12434 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bungeman@google.com 2013-12-02 19:54:33 +00:00
parent 5c37189ffe
commit 24339aa211
2 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@
],
'link_settings': {
'libraries': [
'windowscodecs.lib',
'-lwindowscodecs.lib',
],
},
},{ #else if skia_os != win

View File

@ -25,8 +25,8 @@
[ 'skia_os == "win"', {
'link_settings': {
'libraries': [
'T2Embed.lib',
'FontSub.lib',
'-lt2embed.lib',
'-lfontsub.lib',
],
},
},{ #else if 'skia_os != "win"'