| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { |
| 7 'conditions': [ |
| 8 ['inside_chromium_build==0', { |
| 9 'webkit_src_dir': '../../../../..', |
| 10 },{ |
| 11 'webkit_src_dir': '../../third_party/WebKit', |
| 12 }], |
| 13 ], |
| 14 }, |
| 6 'targets': [ | 15 'targets': [ |
| 7 { | 16 { |
| 8 'target_name': 'webkit_gpu', | 17 'target_name': 'webkit_gpu', |
| 9 'type': 'static_library', | 18 'type': '<(component)', |
| 10 'variables': { 'enable_wexit_time_destructors': 1, }, | 19 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 11 'dependencies': [ | 20 'dependencies': [ |
| 12 '<(DEPTH)/base/base.gyp:base', | 21 '<(DEPTH)/base/base.gyp:base', |
| 13 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 22 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
| 14 '<(DEPTH)/gpu/command_buffer/command_buffer.gyp:gles2_utils', | 23 '<(DEPTH)/gpu/command_buffer/command_buffer.gyp:gles2_utils', |
| 15 '<(DEPTH)/gpu/gpu.gyp:command_buffer_service', | 24 '<(DEPTH)/gpu/gpu.gyp:command_buffer_service', |
| 16 '<(DEPTH)/gpu/gpu.gyp:command_buffer_client', | 25 '<(DEPTH)/gpu/gpu.gyp:command_buffer_client', |
| 17 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib', | 26 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib', |
| 18 '<(DEPTH)/gpu/gpu.gyp:gles2_implementation', | 27 '<(DEPTH)/gpu/gpu.gyp:gles2_implementation', |
| 28 '<(DEPTH)/skia/skia.gyp:skia', |
| 19 '<(DEPTH)/third_party/angle/src/build_angle.gyp:translator_glsl', | 29 '<(DEPTH)/third_party/angle/src/build_angle.gyp:translator_glsl', |
| 20 '<(DEPTH)/ui/gl/gl.gyp:gl', | 30 '<(DEPTH)/ui/gl/gl.gyp:gl', |
| 21 ], | 31 '<(DEPTH)/ui/ui.gyp:ui', |
| 22 'include_dirs': [ | 32 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', |
| 23 '<(DEPTH)/skia/config', | |
| 24 ], | 33 ], |
| 25 'sources': [ | 34 'sources': [ |
| 26 # This list contains all .h and .cc in gpu except for test code. | 35 # This list contains all .h and .cc in gpu except for test code. |
| 36 'gl_bindings_skia_cmd_buffer.cc', |
| 37 'gl_bindings_skia_cmd_buffer.h', |
| 27 'webgraphicscontext3d_in_process_command_buffer_impl.cc', | 38 'webgraphicscontext3d_in_process_command_buffer_impl.cc', |
| 28 'webgraphicscontext3d_in_process_command_buffer_impl.h', | 39 'webgraphicscontext3d_in_process_command_buffer_impl.h', |
| 29 'webgraphicscontext3d_in_process_impl.cc', | 40 'webgraphicscontext3d_in_process_impl.cc', |
| 30 'webgraphicscontext3d_in_process_impl.h', | 41 'webgraphicscontext3d_in_process_impl.h', |
| 31 'webkit_gpu.gypi', | 42 'webkit_gpu.gypi', |
| 32 ], | 43 ], |
| 33 'conditions': [ | 44 'conditions': [ |
| 34 ['inside_chromium_build==0', { | 45 ['inside_chromium_build==0', { |
| 35 'dependencies': [ | 46 'dependencies': [ |
| 36 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', | 47 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', |
| 37 ], | 48 ], |
| 38 }], | 49 }], |
| 39 ], | 50 ], |
| 51 'defines': [ |
| 52 'WEBKIT_GPU_IMPLEMENTATION', |
| 53 ], |
| 40 }, | 54 }, |
| 41 ], | 55 ], |
| 42 } | 56 } |
| OLD | NEW |