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