summaryrefslogtreecommitdiffstats
path: root/ui/gfx/gl/gl.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/gl/gl.gyp')
-rw-r--r--ui/gfx/gl/gl.gyp6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/gfx/gl/gl.gyp b/ui/gfx/gl/gl.gyp
index 8e799ce..af328fe 100644
--- a/ui/gfx/gl/gl.gyp
+++ b/ui/gfx/gl/gl.gyp
@@ -10,7 +10,7 @@
'targets': [
{
'target_name': 'gl',
- 'type': 'static_library',
+ 'type': '<(component)',
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/skia/skia.gyp:skia',
@@ -19,6 +19,9 @@
'variables': {
'gl_binding_output_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gl',
},
+ 'defines': [
+ 'GL_IMPLEMENTATION',
+ ],
'include_dirs': [
'<(DEPTH)/third_party/swiftshader/include',
'<(DEPTH)/third_party/mesa/MesaLib/include',
@@ -43,6 +46,7 @@
'gl_context_stub.cc',
'gl_context_stub.h',
'gl_context_win.cc',
+ 'gl_export.h',
'gl_implementation.cc',
'gl_implementation.h',
'gl_implementation_linux.cc',