| Index: webkit/gpu/webkit_gpu.gypi
|
| diff --git a/webkit/gpu/webkit_gpu.gypi b/webkit/gpu/webkit_gpu.gypi
|
| index 85e1846d84c4ee2d54cbdbe9e82dcef587829774..acffd283f07d10860892d6cfc53f92f1ee306dcc 100644
|
| --- a/webkit/gpu/webkit_gpu.gypi
|
| +++ b/webkit/gpu/webkit_gpu.gypi
|
| @@ -3,10 +3,19 @@
|
| # found in the LICENSE file.
|
|
|
| {
|
| + 'variables': {
|
| + 'conditions': [
|
| + ['inside_chromium_build==0', {
|
| + 'webkit_src_dir': '../../../../..',
|
| + },{
|
| + 'webkit_src_dir': '../../third_party/WebKit',
|
| + }],
|
| + ],
|
| + },
|
| 'targets': [
|
| {
|
| 'target_name': 'webkit_gpu',
|
| - 'type': 'static_library',
|
| + 'type': '<(component)',
|
| 'variables': { 'enable_wexit_time_destructors': 1, },
|
| 'dependencies': [
|
| '<(DEPTH)/base/base.gyp:base',
|
| @@ -16,14 +25,16 @@
|
| '<(DEPTH)/gpu/gpu.gyp:command_buffer_client',
|
| '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib',
|
| '<(DEPTH)/gpu/gpu.gyp:gles2_implementation',
|
| + '<(DEPTH)/skia/skia.gyp:skia',
|
| '<(DEPTH)/third_party/angle/src/build_angle.gyp:translator_glsl',
|
| '<(DEPTH)/ui/gl/gl.gyp:gl',
|
| - ],
|
| - 'include_dirs': [
|
| - '<(DEPTH)/skia/config',
|
| + '<(DEPTH)/ui/ui.gyp:ui',
|
| + '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit',
|
| ],
|
| 'sources': [
|
| # This list contains all .h and .cc in gpu except for test code.
|
| + 'gl_bindings_skia_cmd_buffer.cc',
|
| + 'gl_bindings_skia_cmd_buffer.h',
|
| 'webgraphicscontext3d_in_process_command_buffer_impl.cc',
|
| 'webgraphicscontext3d_in_process_command_buffer_impl.h',
|
| 'webgraphicscontext3d_in_process_impl.cc',
|
| @@ -37,6 +48,9 @@
|
| ],
|
| }],
|
| ],
|
| + 'defines': [
|
| + 'WEBKIT_GPU_IMPLEMENTATION',
|
| + ],
|
| },
|
| ],
|
| }
|
|
|