Index: gpu/gpu_ipc.gypi |
diff --git a/gpu/gpu_ipc.gypi b/gpu/gpu_ipc.gypi |
index 33845f232f09f266eaf7453632977ae1b0038e09..8bf0ac1c85beac52dc02880c47e9c6b3fb502390 100644 |
--- a/gpu/gpu_ipc.gypi |
+++ b/gpu/gpu_ipc.gypi |
@@ -16,4 +16,20 @@ |
'ipc/gpu_command_buffer_traits.cc', |
'ipc/gpu_command_buffer_traits.h', |
], |
+ 'conditions': [ |
+ # This section applies to gpu_ipc_win64, used by the NaCl Win64 helper |
+ # (nacl64.exe). |
+ ['nacl_win64_target==1', { |
+ # gpu_ipc_win64 must only link against the 64-bit ipc target. |
+ 'dependencies!': [ |
+ '../ipc/ipc.gyp:ipc', |
+ ], |
+ # The NaCl Win64 build only needs the ParamTraits, so we exclude |
+ # command_buffer_proxy.*. |
+ 'sources!': [ |
+ 'ipc/command_buffer_proxy.h', |
+ 'ipc/command_buffer_proxy.cc', |
+ ], |
+ }], |
+ ], |
} |