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

Unified Diff: gpu/gpu.gyp

Issue 1220883008: Add command_buffer_gles2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify by exporting the egl functions Created 5 years, 4 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
Index: gpu/gpu.gyp
diff --git a/gpu/gpu.gyp b/gpu/gpu.gyp
index 225d5fabfa98486704915b2d8163c50c73d4b522..4e4ea1b4908055234c54b3e7feb8f2746e417ac9 100644
--- a/gpu/gpu.gyp
+++ b/gpu/gpu.gyp
@@ -415,6 +415,43 @@
'command_buffer/service/gles2_cmd_decoder_mock.cc',
],
},
+ {
+ # GN version: //gpu:command_buffer_gles2
+ 'target_name': 'command_buffer_gles2',
+ 'type': 'shared_library',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../gpu/gpu.gyp:command_buffer_service',
+ '../ui/gfx/gfx.gyp:gfx_geometry',
+ '../ui/gl/gl.gyp:gl',
+ 'gles2_c_lib',
+ 'gles2_implementation',
+ ],
+ 'sources': [
+ # Note: sources list duplicated in GN build.
+ # TODO(hendrikw): Move egl out of gles2_conform_support.
+ 'gles2_conform_support/egl/config.cc',
+ 'gles2_conform_support/egl/config.h',
+ 'gles2_conform_support/egl/display.cc',
+ 'gles2_conform_support/egl/display.h',
+ 'gles2_conform_support/egl/egl.cc',
+ 'gles2_conform_support/egl/surface.cc',
+ 'gles2_conform_support/egl/surface.h',
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ 'defines': [
+ 'EGLAPIENTRY=',
+ 'EGLAPI=__declspec(dllexport)',
+ ],
+ }, { # OS!="win"
+ 'defines': [
+ 'EGLAPIENTRY=',
+ 'EGLAPI=__attribute__((visibility(\"default\")))'
+ ],
+ }, ],
+ ],
+ }
],
'conditions': [
['component=="static_library"', {
« gpu/gles2_conform_support/egl/egl.cc ('K') | « gpu/gles2_conform_support/egl/egl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698