| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'includes': [ | 6 'includes': [ |
| 7 '../../build/common.gypi', | 7 '../../build/common.gypi', |
| 8 ], | 8 ], |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 'link_settings': { | 228 'link_settings': { |
| 229 'ldflags': [ | 229 'ldflags': [ |
| 230 # Don't let linker rip this symbol out, otherwise the heap&cpu | 230 # Don't let linker rip this symbol out, otherwise the heap&cpu |
| 231 # profilers will not initialize properly on startup. | 231 # profilers will not initialize properly on startup. |
| 232 '-Wl,-uIsHeapProfilerRunning,-uProfilerStart', | 232 '-Wl,-uIsHeapProfilerRunning,-uProfilerStart', |
| 233 ], | 233 ], |
| 234 }, | 234 }, |
| 235 }], | 235 }], |
| 236 ], | 236 ], |
| 237 }, | 237 }, |
| 238 { | 238 ], |
| 239 'target_name': 'libcmt', | 239 'conditions': [ |
| 240 'type': 'none', | 240 ['OS=="win"', { |
| 241 'actions': [ | 241 'targets': [ |
| 242 { | 242 { |
| 243 'action_name': 'libcmt', | 243 'target_name': 'libcmt', |
| 244 'inputs': [ | 244 'type': 'none', |
| 245 'prep_libc.sh', | 245 'actions': [ |
| 246 ], | 246 { |
| 247 'outputs': [ | 247 'action_name': 'libcmt', |
| 248 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc/libcmt.lib', | 248 'inputs': [ |
| 249 ], | 249 'prep_libc.sh', |
| 250 'action': [ | 250 ], |
| 251 './prep_libc.sh', | 251 'outputs': [ |
| 252 '$(VCInstallDir)lib', | 252 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc/libcmt.lib', |
| 253 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc', | 253 ], |
| 254 'action': [ |
| 255 './prep_libc.sh', |
| 256 '$(VCInstallDir)lib', |
| 257 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc', |
| 258 ], |
| 259 }, |
| 254 ], | 260 ], |
| 255 }, | 261 }, |
| 256 ], | 262 ], |
| 257 }, | 263 }], |
| 258 ], | 264 ], |
| 259 } | 265 } |
| OLD | NEW |