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 3 # found in the LICENSE file. 4 5 { 6 'dependencies': [ 7 '../ipc/ipc.gyp:ipc', 8 '../third_party/khronos/khronos.gyp:khronos_headers', 9 ], 10 'include_dirs': [ 11 '..', 12 ], 13 'sources': [ 14 'ipc/command_buffer_proxy.h', 15 'ipc/command_buffer_proxy.cc', 16 'ipc/gpu_command_buffer_traits.cc', 17 'ipc/gpu_command_buffer_traits.h', 18 ], 19 'conditions': [ 20 # This section applies to gpu_ipc_win64, used by the NaCl Win64 helper 21 # (nacl64.exe). 22 ['nacl_win64_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 ], 35 } 36