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