| 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 'targets': [ | |
| 12 { | |
| 13 # GN version: //webkit/common/gpu | |
| 14 'target_name': 'webkit_gpu', | |
| 15 'type': '<(component)', | |
| 16 'variables': { | |
| 17 'chromium_code': 1, | |
| 18 'enable_wexit_time_destructors': 1, | |
| 19 }, | |
| 20 'dependencies': [ | |
| 21 '<(DEPTH)/base/base.gyp:base', | |
| 22 '<(DEPTH)/cc/cc.gyp:cc', | |
| 23 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.g
yp:dynamic_annotations', | |
| 24 '<(DEPTH)/gpu/blink/gpu_blink.gyp:gpu_blink', | |
| 25 '<(DEPTH)/gpu/command_buffer/command_buffer.gyp:gles2_utils', | |
| 26 '<(DEPTH)/gpu/gpu.gyp:command_buffer_service', | |
| 27 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib', | |
| 28 '<(DEPTH)/gpu/gpu.gyp:gles2_implementation', | |
| 29 '<(DEPTH)/gpu/gpu.gyp:gl_in_process_context', | |
| 30 '<(DEPTH)/gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings', | |
| 31 '<(DEPTH)/skia/skia.gyp:skia', | |
| 32 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink_minimal', | |
| 33 '<(angle_path)/src/angle.gyp:translator', | |
| 34 '<(DEPTH)/ui/gl/gl.gyp:gl', | |
| 35 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | |
| 36 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | |
| 37 ], | |
| 38 'sources': [ | |
| 39 # This list contains all .h and .cc in gpu except for test code. | |
| 40 'context_provider_in_process.cc', | |
| 41 'context_provider_in_process.h', | |
| 42 'grcontext_for_webgraphicscontext3d.cc', | |
| 43 'grcontext_for_webgraphicscontext3d.h', | |
| 44 ], | |
| 45 'defines': [ | |
| 46 'WEBKIT_GPU_IMPLEMENTATION', | |
| 47 ], | |
| 48 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 49 'msvs_disabled_warnings': [ 4267, ], | |
| 50 }, | |
| 51 ], | |
| 52 }], | |
| 53 ], | |
| 54 } | |
| OLD | NEW |