Added support to GLEW for dynamically looking up the core WGL entry

points to avoid the need to link against opengl32.lib. Added
_ATL_NO_OPENGL #define in build/common.gypi to prevent link directive
from forcibly pulling in opengl32.lib for any Chrome code using ATL.

Once upstream code in WebKit is changed to use the new wglew entry
points and remove opengl32.lib from the link line, chrome.dll will no
longer depend on opengl32.dll.

BUG=45586
TEST=ran WebGL with --in-process-webgl

Review URL: http://codereview.chromium.org/2856022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@51277 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
kbr@google.com 2010-06-30 18:52:27 +00:00
Родитель 0ea2c7a91f
Коммит 505b2f369b
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -1232,6 +1232,7 @@
'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS',
'WIN32_LEAN_AND_MEAN',
'_SECURE_ATL',
'_ATL_NO_OPENGL',
'_HAS_TR1=0',
],
'conditions': [