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