OLD | NEW |
| (Empty) |
1 # Copyright (c) 2016 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 'dependencies': [ | |
7 '../base/base.gyp:base', | |
8 '../ipc/ipc.gyp:ipc', | |
9 '../third_party/khronos/khronos.gyp:khronos_headers', | |
10 '../ui/base/ui_base.gyp:ui_base', | |
11 '../ui/events/events.gyp:events_base', | |
12 '../ui/events/events.gyp:events_ipc', | |
13 '../ui/gfx/gfx.gyp:gfx_geometry', | |
14 '../ui/gfx/ipc/geometry/gfx_ipc_geometry.gyp:gfx_ipc_geometry', | |
15 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', | |
16 '../ui/gl/gl.gyp:gl', | |
17 '../ui/gl/init/gl_init.gyp:gl_init', | |
18 '../url/url.gyp:url_lib', | |
19 '../url/ipc/url_ipc.gyp:url_ipc', | |
20 ], | |
21 'include_dirs': [ | |
22 '..', | |
23 ], | |
24 'sources': [ | |
25 'ipc/client/command_buffer_proxy_impl.cc', | |
26 'ipc/client/command_buffer_proxy_impl.h', | |
27 'ipc/client/gpu_channel_host.cc', | |
28 'ipc/client/gpu_channel_host.h', | |
29 'ipc/client/gpu_memory_buffer_impl.cc', | |
30 'ipc/client/gpu_memory_buffer_impl.h', | |
31 'ipc/client/gpu_memory_buffer_impl_shared_memory.cc', | |
32 'ipc/client/gpu_memory_buffer_impl_shared_memory.h', | |
33 ], | |
34 'conditions': [ | |
35 # This section applies to gpu_ipc_win64, used by the NaCl Win64 helper | |
36 # (nacl64.exe). | |
37 ['nacl_win64_target==1', { | |
38 # gpu_ipc_win64 must only link against the 64-bit ipc target. | |
39 'dependencies!': [ | |
40 '../base/base.gyp:base', | |
41 '../ipc/ipc.gyp:ipc', | |
42 ], | |
43 }], | |
44 ['OS == "android"', { | |
45 'sources+': [ | |
46 'ipc/client/gpu_memory_buffer_impl_surface_texture.cc', | |
47 'ipc/client/gpu_memory_buffer_impl_surface_texture.h', | |
48 'ipc/client/android/in_process_surface_texture_manager.cc', | |
49 'ipc/client/android/in_process_surface_texture_manager.h', | |
50 ], | |
51 }], | |
52 ['OS == "mac"', { | |
53 'sources+': [ | |
54 'ipc/client/gpu_memory_buffer_impl_io_surface.cc', | |
55 'ipc/client/gpu_memory_buffer_impl_io_surface.h', | |
56 'ipc/client/gpu_process_hosted_ca_layer_tree_params.cc', | |
57 'ipc/client/gpu_process_hosted_ca_layer_tree_params.h', | |
58 ], | |
59 }], | |
60 ['use_ozone == 1', { | |
61 'sources+': [ | |
62 'ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc', | |
63 'ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h', | |
64 ], | |
65 'dependencies': [ | |
66 '../ui/ozone/ozone.gyp:ozone_platform', | |
67 ], | |
68 }], | |
69 ], | |
70 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
71 'msvs_disabled_warnings': [4267, ], | |
72 } | |
OLD | NEW |