Index: media/media.gyp |
diff --git a/media/media.gyp b/media/media.gyp |
index f844f12596cf4fbfcd1f5da4d9893b11364b1f1c..a346f3612237337434b404e58fe6659e3f9ae7ee 100644 |
--- a/media/media.gyp |
+++ b/media/media.gyp |
@@ -348,6 +348,43 @@ |
], |
}, |
{ |
+ 'target_name': 'shader_bench', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ 'media', |
+ '../app/app.gyp:app_base', |
+ '../gpu/gpu.gyp:*', |
+ ], |
+ 'sources': [ |
+ 'tools/shader_bench/shader_bench.cc', |
+ 'tools/shader_bench/gl_painter.cc', |
+ 'tools/shader_bench/gl_painter.h', |
+ 'tools/shader_bench/painter.cc', |
+ 'tools/shader_bench/painter.h', |
+ 'tools/shader_bench/window.cc', |
+ 'tools/shader_bench/window.h', |
+ ], |
+ 'conditions': [ |
+ ['OS=="linux"', { |
+ 'dependencies': [ |
+ '../build/linux/system.gyp:gtk', |
+ ], |
+ 'sources': [ |
+ 'tools/shader_bench/window_linux.cc', |
+ ], |
+ }], |
+ ['OS=="win"', { |
+ 'dependencies': [ |
+ '../third_party/angle/src/build_angle.gyp:libEGL', |
+ '../third_party/angle/src/build_angle.gyp:libGLESv2', |
+ ], |
+ 'sources': [ |
+ 'tools/shader_bench/window_win.cc', |
+ ], |
+ }], |
+ ] |
+ }, |
+ { |
'target_name': 'ffmpeg_tests', |
'type': 'executable', |
'dependencies': [ |