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