diff options
-rw-r--r-- | remoting/remoting.gyp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp index c04515d..1c4a1d0 100644 --- a/remoting/remoting.gyp +++ b/remoting/remoting.gyp @@ -589,6 +589,13 @@ 'sources': [ 'host/keygen_main.cc', ], + 'conditions': [ + ['OS=="linux" and linux_use_tcmalloc==1', { + 'dependencies': [ + '../base/allocator/allocator.gyp:allocator', + ], + }], + ], }, # end of target 'remoting_host_keygen' { @@ -731,6 +738,13 @@ 'host/setup/native_messaging_writer.cc', 'host/setup/native_messaging_writer.h', ], + 'conditions': [ + ['OS=="linux" and linux_use_tcmalloc==1', { + 'dependencies': [ + '../base/allocator/allocator.gyp:allocator', + ], + }], + ], }, # end of target 'remoting_native_messaging_host' ], # end of 'targets' }], # 'enable_remoting_host==1' @@ -870,6 +884,11 @@ }], # mac_breakpad==1 ], # conditions }], # OS=mac + ['OS=="linux" and linux_use_tcmalloc==1', { + 'dependencies': [ + '../base/allocator/allocator.gyp:allocator', + ], + }], # OS=linux ], # end of 'conditions' }, # end of target 'remoting_me2me_host' @@ -924,6 +943,13 @@ 'sources': [ 'host/setup/start_host.cc', ], + 'conditions': [ + ['linux_use_tcmalloc==1', { + 'dependencies': [ + '../base/allocator/allocator.gyp:allocator', + ], + }], + ], }, # end of target 'remoting_start_host' ], # end of 'targets' }], # 'OS=="linux"' |