OLD | NEW |
| (Empty) |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'conditions': [ | |
8 ['inside_chromium_build==0', { | |
9 'webkit_src_dir': '../../../../..', | |
10 },{ | |
11 'webkit_src_dir': '../../third_party/WebKit', | |
12 }], | |
13 ], | |
14 }, | |
15 'targets': [ | |
16 { | |
17 'target_name': 'webkit_gpu', | |
18 'type': '<(component)', | |
19 'variables': { 'enable_wexit_time_destructors': 1, }, | |
20 'dependencies': [ | |
21 '<(DEPTH)/base/base.gyp:base', | |
22 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | |
23 '<(DEPTH)/gpu/command_buffer/command_buffer.gyp:gles2_utils', | |
24 '<(DEPTH)/gpu/gpu.gyp:command_buffer_service', | |
25 '<(DEPTH)/gpu/gpu.gyp:command_buffer_client', | |
26 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib', | |
27 '<(DEPTH)/gpu/gpu.gyp:gles2_implementation', | |
28 '<(DEPTH)/skia/skia.gyp:skia', | |
29 '<(DEPTH)/third_party/angle/src/build_angle.gyp:translator_glsl', | |
30 '<(DEPTH)/ui/gl/gl.gyp:gl', | |
31 '<(DEPTH)/ui/ui.gyp:ui', | |
32 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', | |
33 ], | |
34 'sources': [ | |
35 # This list contains all .h and .cc in gpu except for test code. | |
36 'gl_bindings_skia_cmd_buffer.cc', | |
37 'gl_bindings_skia_cmd_buffer.h', | |
38 'grcontext_for_webgraphicscontext3d.cc', | |
39 'grcontext_for_webgraphicscontext3d.h', | |
40 'webgraphicscontext3d_in_process_command_buffer_impl.cc', | |
41 'webgraphicscontext3d_in_process_command_buffer_impl.h', | |
42 'webgraphicscontext3d_in_process_impl.cc', | |
43 'webgraphicscontext3d_in_process_impl.h', | |
44 'webkit_gpu.gypi', | |
45 ], | |
46 'conditions': [ | |
47 ['inside_chromium_build==0', { | |
48 'dependencies': [ | |
49 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', | |
50 ], | |
51 }], | |
52 ], | |
53 'defines': [ | |
54 'WEBKIT_GPU_IMPLEMENTATION', | |
55 ], | |
56 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
57 'msvs_disabled_warnings': [ 4267, ], | |
58 }, | |
59 ], | |
60 } | |
OLD | NEW |