Index: third_party/tcmalloc/tcmalloc.gyp |
diff --git a/third_party/tcmalloc/tcmalloc.gyp b/third_party/tcmalloc/tcmalloc.gyp |
index b6d07f33472fc16d3e8e35386b1c6cb5f9d98bde..86aad51f26e277114bbbe27d94280d9c1a7c103a 100644 |
--- a/third_party/tcmalloc/tcmalloc.gyp |
+++ b/third_party/tcmalloc/tcmalloc.gyp |
@@ -235,25 +235,31 @@ |
}], |
], |
}, |
- { |
- 'target_name': 'libcmt', |
- 'type': 'none', |
- 'actions': [ |
+ ], |
+ 'conditions': [ |
+ ['OS=="win"', { |
+ 'targets': [ |
{ |
- 'action_name': 'libcmt', |
- 'inputs': [ |
- 'prep_libc.sh', |
- ], |
- 'outputs': [ |
- '<(SHARED_INTERMEDIATE_DIR)/tcmalloc/libcmt.lib', |
- ], |
- 'action': [ |
- './prep_libc.sh', |
- '$(VCInstallDir)lib', |
- '<(SHARED_INTERMEDIATE_DIR)/tcmalloc', |
+ 'target_name': 'libcmt', |
+ 'type': 'none', |
+ 'actions': [ |
+ { |
+ 'action_name': 'libcmt', |
+ 'inputs': [ |
+ 'prep_libc.sh', |
+ ], |
+ 'outputs': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/tcmalloc/libcmt.lib', |
+ ], |
+ 'action': [ |
+ './prep_libc.sh', |
+ '$(VCInstallDir)lib', |
+ '<(SHARED_INTERMEDIATE_DIR)/tcmalloc', |
+ ], |
+ }, |
], |
}, |
], |
- }, |
+ }], |
], |
} |