Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Unified Diff: webkit/webkit.gyp

Issue 219001: Incorporated initial WebGL implementation for Chrome, currently... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/api/src/GraphicsContext3D.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/webkit.gyp
===================================================================
--- webkit/webkit.gyp (revision 27386)
+++ webkit/webkit.gyp (working copy)
@@ -4,6 +4,7 @@
{
'includes': [
+ '../third_party/WebKit/WebKit/chromium/features.gypi',
'../third_party/WebKit/WebCore/WebCore.gypi',
],
'variables': {
@@ -237,6 +238,28 @@
}, { # else: OS!="win"
'sources/': [['exclude', '/win/']],
}],
+ ['"ENABLE_3D_CANVAS=1" in feature_defines', {
+ # Conditionally compile in GLEW and our GraphicsContext3D implementation.
+ 'sources+': [
+ 'api/src/GraphicsContext3D.cpp',
+ '../third_party/glew/src/glew.c'
+ ],
+ 'include_dirs+': [
+ '../third_party/glew/include'
+ ],
+ 'defines+': [
+ 'GLEW_STATIC=1',
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ 'link_settings': {
+ 'libraries': [
+ '-lopengl32.lib',
+ ]
+ },
+ }],
+ ],
+ }],
],
},
{
« no previous file with comments | « webkit/api/src/GraphicsContext3D.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698