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