OLD | NEW |
1 # Copyright 2014 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 # GYP version: gpu/blink/gpu_blink.gyp:gpu_blink | 5 # GYP version: gpu/blink/gpu_blink.gyp:gpu_blink |
6 component("blink") { | 6 component("blink") { |
7 output_name = "gpu_blink" | 7 output_name = "gpu_blink" |
8 | 8 |
9 sources = [ | 9 sources = [ |
10 "gpu_blink_export.h", | 10 "gpu_blink_export.h", |
11 "webgraphicscontext3d_impl.cc", | 11 "webgraphicscontext3d_impl.cc", |
12 "webgraphicscontext3d_impl.h", | 12 "webgraphicscontext3d_impl.h", |
13 "webgraphicscontext3d_in_process_command_buffer_impl.cc", | 13 "webgraphicscontext3d_in_process_command_buffer_impl.cc", |
14 "webgraphicscontext3d_in_process_command_buffer_impl.h", | 14 "webgraphicscontext3d_in_process_command_buffer_impl.h", |
15 ] | 15 ] |
16 | 16 |
| 17 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 18 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 19 |
17 defines = [ "GPU_BLINK_IMPLEMENTATION" ] | 20 defines = [ "GPU_BLINK_IMPLEMENTATION" ] |
18 | 21 |
19 deps = [ | 22 deps = [ |
20 "//base", | 23 "//base", |
21 "//base/third_party/dynamic_annotations", | 24 "//base/third_party/dynamic_annotations", |
22 "//cc", | 25 "//cc", |
23 "//gpu/command_buffer/common", | 26 "//gpu/command_buffer/common", |
24 "//gpu/command_buffer/service", | 27 "//gpu/command_buffer/service", |
25 "//gpu/command_buffer/client:gles2_c_lib", | 28 "//gpu/command_buffer/client:gles2_c_lib", |
26 "//gpu/command_buffer/client:gles2_implementation", | 29 "//gpu/command_buffer/client:gles2_implementation", |
27 "//gpu/command_buffer/client:gl_in_process_context", | 30 "//gpu/command_buffer/client:gl_in_process_context", |
28 "//gpu/skia_bindings", | 31 "//gpu/skia_bindings", |
29 "//skia", | 32 "//skia", |
30 "//third_party/WebKit/public:blink_minimal", | 33 "//third_party/WebKit/public:blink_minimal", |
31 "//third_party/angle:translator", | 34 "//third_party/angle:translator", |
32 "//ui/gl", | 35 "//ui/gl", |
33 "//ui/gfx", | 36 "//ui/gfx", |
34 "//ui/gfx/geometry", | 37 "//ui/gfx/geometry", |
35 ] | 38 ] |
36 | |
37 if (is_win) { | |
38 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
39 cflags = [ "/wd4267" ] | |
40 } | |
41 } | 39 } |
OLD | NEW |