diff options
author | hendrikw <hendrikw@chromium.org> | 2015-09-02 20:06:05 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-03 03:06:50 +0000 |
commit | a89ffff5113b3feb0c905f7ddc50da84a4ed577b (patch) | |
tree | c3b781ed6a98ac9913b823705e98f4fcdf82863e /gpu/gpu.gyp | |
parent | e3066b3c9eeceae9d68cea0e5967e2bcc10d6137 (diff) | |
download | chromium_src-a89ffff5113b3feb0c905f7ddc50da84a4ed577b.zip chromium_src-a89ffff5113b3feb0c905f7ddc50da84a4ed577b.tar.gz chromium_src-a89ffff5113b3feb0c905f7ddc50da84a4ed577b.tar.bz2 |
Add command_buffer_gles2
This is a very simple library that exposes some egl-like functions that
can be used by skia to use the command buffer as a backend for their
tests
Committed: https://crrev.com/604b615373e4e9f873db37cef9c6416176fc35f3
Cr-Commit-Position: refs/heads/master@{#346251}
Committed: https://crrev.com/efa3a446183fbbff2034a03989f12543d0713e39
Cr-Commit-Position: refs/heads/master@{#346840}
Committed: https://crrev.com/d65c55dac3f47e9a237579eb6f5fe31e19ca4704
Cr-Commit-Position: refs/heads/master@{#347013}
Review URL: https://codereview.chromium.org/1220883008
Cr-Commit-Position: refs/heads/master@{#347103}
Diffstat (limited to 'gpu/gpu.gyp')
-rw-r--r-- | gpu/gpu.gyp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gpu/gpu.gyp b/gpu/gpu.gyp index 650db2a..25cc26d 100644 --- a/gpu/gpu.gyp +++ b/gpu/gpu.gyp @@ -416,6 +416,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"', { |