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 | |
20 defines = [ "GPU_BLINK_IMPLEMENTATION" ] | 17 defines = [ "GPU_BLINK_IMPLEMENTATION" ] |
21 | 18 |
22 deps = [ | 19 deps = [ |
23 "//base", | 20 "//base", |
24 "//base/third_party/dynamic_annotations", | 21 "//base/third_party/dynamic_annotations", |
25 "//cc", | 22 "//cc", |
26 "//gpu/command_buffer/common", | 23 "//gpu/command_buffer/common", |
27 "//gpu/command_buffer/service", | 24 "//gpu/command_buffer/service", |
28 "//gpu/command_buffer/client:gles2_c_lib", | 25 "//gpu/command_buffer/client:gles2_c_lib", |
29 "//gpu/command_buffer/client:gles2_implementation", | 26 "//gpu/command_buffer/client:gles2_implementation", |
30 "//gpu/command_buffer/client:gl_in_process_context", | 27 "//gpu/command_buffer/client:gl_in_process_context", |
31 "//gpu/skia_bindings", | 28 "//gpu/skia_bindings", |
32 "//skia", | 29 "//skia", |
33 "//third_party/WebKit/public:blink_minimal", | 30 "//third_party/WebKit/public:blink_minimal", |
34 "//third_party/angle:translator", | 31 "//third_party/angle:translator", |
35 "//ui/gl", | 32 "//ui/gl", |
36 "//ui/gfx", | 33 "//ui/gfx", |
37 "//ui/gfx/geometry", | 34 "//ui/gfx/geometry", |
38 ] | 35 ] |
| 36 |
| 37 if (is_win) { |
| 38 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 39 cflags = [ "/wd4267" ] |
| 40 } |
39 } | 41 } |
OLD | NEW |