OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 '../ipc/ipc.gyp:ipc', | 7 '../ipc/ipc.gyp:ipc', |
8 ], | 8 ], |
9 'include_dirs': [ | 9 'include_dirs': [ |
10 '..', | 10 '..', |
11 '<(DEPTH)/third_party/khronos', | 11 '<(DEPTH)/third_party/khronos', |
12 ], | 12 ], |
13 'sources': [ | 13 'sources': [ |
14 'ipc/command_buffer_proxy.h', | 14 'ipc/command_buffer_proxy.h', |
15 'ipc/command_buffer_proxy.cc', | 15 'ipc/command_buffer_proxy.cc', |
16 'ipc/gpu_command_buffer_traits.cc', | 16 'ipc/gpu_command_buffer_traits.cc', |
17 'ipc/gpu_command_buffer_traits.h', | 17 'ipc/gpu_command_buffer_traits.h', |
18 ], | 18 ], |
| 19 'conditions': [ |
| 20 # This section applies to gpu_ipc_win64, used by the NaCl Win64 helper |
| 21 # (nacl64.exe). |
| 22 ['nacl_target==1', { |
| 23 # gpu_ipc_win64 must only link against the 64-bit ipc target. |
| 24 'dependencies!': [ |
| 25 '../ipc/ipc.gyp:ipc', |
| 26 ], |
| 27 # The NaCl Win64 build only needs the ParamTraits, so we exclude |
| 28 # command_buffer_proxy.*. |
| 29 'sources!': [ |
| 30 'ipc/command_buffer_proxy.h', |
| 31 'ipc/command_buffer_proxy.cc', |
| 32 ], |
| 33 }], |
| 34 ], |
19 } | 35 } |
OLD | NEW |