Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / gpu / blink / gpu_blink.gyp
blob06a7c122e3745d24af2687a175cdf97239a25a16
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
3 # found in the LICENSE file.
6   'conditions': [
7     ['OS != "ios"', {
8       'targets': [
9         {
10           # GN version: //gpu/blink
11           'target_name': 'gpu_blink',
12           'type': '<(component)',
13           'variables': {
14             'chromium_code': 1,
15             'enable_wexit_time_destructors': 1,
16           },
17           'dependencies': [
18             '<(DEPTH)/base/base.gyp:base',
19             '<(DEPTH)/cc/cc.gyp:cc',
20             '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
21             '<(DEPTH)/gpu/command_buffer/command_buffer.gyp:gles2_utils',
22             '<(DEPTH)/gpu/gpu.gyp:command_buffer_service',
23             '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib',
24             '<(DEPTH)/gpu/gpu.gyp:gles2_implementation',
25             '<(DEPTH)/gpu/gpu.gyp:gl_in_process_context',
26             '<(DEPTH)/gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings',
27             '<(DEPTH)/skia/skia.gyp:skia',
28             '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink_minimal',
29             '<(angle_path)/src/angle.gyp:translator',
30             '<(DEPTH)/ui/gl/gl.gyp:gl',
31             '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
32             '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
33           ],
34           'sources': [
35             'gpu_blink_export.h',
36             'webgraphicscontext3d_impl.cc',
37             'webgraphicscontext3d_impl.h',
38             'webgraphicscontext3d_in_process_command_buffer_impl.cc',
39             'webgraphicscontext3d_in_process_command_buffer_impl.h',
40           ],
41           'defines': [
42             'GPU_BLINK_IMPLEMENTATION',
43           ],
44           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
45           'msvs_disabled_warnings': [ 4267, ],
46         },
47       ],
48     }],
49   ],