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/gfx/ipc/geometry/gfx_ipc_geometry.gyp:gfx_ipc_geometry', | |
11 'command_buffer/command_buffer.gyp:gles2_utils', | |
12 ], | |
13 'include_dirs': [ | |
14 '..', | |
15 ], | |
16 'sources': [ | |
17 'ipc/common/gpu_command_buffer_traits.cc', | |
18 'ipc/common/gpu_command_buffer_traits.h', | |
19 'ipc/common/memory_stats.cc', | |
20 'ipc/common/memory_stats.h', | |
21 'ipc/common/surface_handle.h', | |
22 ], | |
23 'conditions': [ | |
24 # This section applies to gpu_ipc_win64, used by the NaCl Win64 helper | |
25 # (nacl64.exe). | |
26 ['nacl_win64_target==1', { | |
27 # gpu_ipc_win64 must only link against the 64-bit ipc target. | |
28 'dependencies!': [ | |
29 '../base/base.gyp:base', | |
30 '../ipc/ipc.gyp:ipc', | |
31 '../ui/gfx/ipc/geometry/gfx_ipc_geometry.gyp:gfx_ipc_geometry', | |
32 'command_buffer/command_buffer.gyp:gles2_utils', | |
33 ], | |
34 }], | |
35 ['OS=="android"', { | |
36 'sources': [ | |
37 'ipc/common/android/surface_texture_manager.cc', | |
38 'ipc/common/android/surface_texture_manager.h', | |
39 'ipc/common/android/surface_texture_peer.cc', | |
40 'ipc/common/android/surface_texture_peer.h', | |
41 ] | |
42 }] | |
43 ], | |
44 } | |
OLD | NEW |