summaryrefslogtreecommitdiffstats
path: root/o3d/plugin
diff options
context:
space:
mode:
authorapatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-25 18:58:34 +0000
committerapatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-25 18:58:34 +0000
commit4a2a30ea291ad9386468e46faf86f2c9a355e16a (patch)
tree3d41ca2d30b3dc135ff99d17471f3d25beb4482a /o3d/plugin
parentf58c8cc4dd6d74524a668880929c95b63c6588af (diff)
downloadchromium_src-4a2a30ea291ad9386468e46faf86f2c9a355e16a.zip
chromium_src-4a2a30ea291ad9386468e46faf86f2c9a355e16a.tar.gz
chromium_src-4a2a30ea291ad9386468e46faf86f2c9a355e16a.tar.bz2
Dynamically loads d3d9 and d3dx9 dlls on Windows.
It's so chrome.exe does not have to load these dlls even when there's no 3D going on. TEST=none BUG=none Review URL: http://codereview.chromium.org/237004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27224 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/plugin')
-rw-r--r--o3d/plugin/plugin.gyp12
1 files changed, 10 insertions, 2 deletions
diff --git a/o3d/plugin/plugin.gyp b/o3d/plugin/plugin.gyp
index 22894b1..397dceb 100644
--- a/o3d/plugin/plugin.gyp
+++ b/o3d/plugin/plugin.gyp
@@ -214,17 +214,25 @@
},
},
],
- ['OS == "win" and (renderer == "d3d9" or cb_service == "d3d9")',
+ ['OS == "win" and renderer == "d3d9"',
{
'link_settings': {
'libraries': [
- '"$(DXSDK_DIR)/Lib/x86/DxErr.lib"',
'"$(DXSDK_DIR)/Lib/x86/d3dx9.lib"',
'-ld3d9.lib',
],
},
},
],
+ ['OS == "win" and (renderer == "d3d9" or cb_service == "d3d9")',
+ {
+ 'link_settings': {
+ 'libraries': [
+ '"$(DXSDK_DIR)/Lib/x86/DxErr.lib"',
+ ],
+ },
+ },
+ ],
],
},
],