OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'conditions': [ |
| 7 # TODO(stuartmorgan): All dependencies from code built on iOS to |
| 8 # webkit/ should be removed, at which point this condition can be |
| 9 # removed. |
| 10 ['OS != "ios"', { |
| 11 'variables': { |
| 12 'conditions': [ |
| 13 ['inside_chromium_build==0', { |
| 14 'webkit_src_dir': '../../../../..', |
| 15 },{ |
| 16 'webkit_src_dir': '../../third_party/WebKit', |
| 17 }], |
| 18 ], |
| 19 }, |
| 20 'targets': [ |
| 21 { |
| 22 'target_name': 'webkit_gpu', |
| 23 'type': '<(component)', |
| 24 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 25 'dependencies': [ |
| 26 '<(DEPTH)/base/base.gyp:base', |
| 27 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.g
yp:dynamic_annotations', |
| 28 '<(DEPTH)/gpu/command_buffer/command_buffer.gyp:gles2_utils', |
| 29 '<(DEPTH)/gpu/gpu.gyp:command_buffer_service', |
| 30 '<(DEPTH)/gpu/gpu.gyp:command_buffer_client', |
| 31 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib', |
| 32 '<(DEPTH)/gpu/gpu.gyp:gles2_implementation', |
| 33 '<(DEPTH)/skia/skia.gyp:skia', |
| 34 '<(DEPTH)/third_party/angle/src/build_angle.gyp:translator_glsl', |
| 35 '<(DEPTH)/ui/gl/gl.gyp:gl', |
| 36 '<(DEPTH)/ui/ui.gyp:ui', |
| 37 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', |
| 38 ], |
| 39 'sources': [ |
| 40 # This list contains all .h and .cc in gpu except for test code. |
| 41 'context_provider_in_process.cc', |
| 42 'context_provider_in_process.h', |
| 43 'gl_bindings_skia_cmd_buffer.cc', |
| 44 'gl_bindings_skia_cmd_buffer.h', |
| 45 'grcontext_for_webgraphicscontext3d.cc', |
| 46 'grcontext_for_webgraphicscontext3d.h', |
| 47 'test_context_provider_factory.cc', |
| 48 'test_context_provider_factory.h', |
| 49 'webgraphicscontext3d_in_process_command_buffer_impl.cc', |
| 50 'webgraphicscontext3d_in_process_command_buffer_impl.h', |
| 51 'webgraphicscontext3d_in_process_impl.cc', |
| 52 'webgraphicscontext3d_in_process_impl.h', |
| 53 ], |
| 54 'conditions': [ |
| 55 ['inside_chromium_build==0', { |
| 56 'dependencies': [ |
| 57 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_heade
rs', |
| 58 ], |
| 59 }], |
| 60 ], |
| 61 'defines': [ |
| 62 'WEBKIT_GPU_IMPLEMENTATION', |
| 63 ], |
| 64 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 65 'msvs_disabled_warnings': [ 4267, ], |
| 66 }, |
| 67 ], |
| 68 }], |
| 69 ], |
| 70 } |
OLD | NEW |