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