summaryrefslogtreecommitdiffstats
path: root/third_party/tcmalloc/tcmalloc.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/tcmalloc/tcmalloc.gyp')
-rw-r--r--third_party/tcmalloc/tcmalloc.gyp19
1 files changed, 19 insertions, 0 deletions
diff --git a/third_party/tcmalloc/tcmalloc.gyp b/third_party/tcmalloc/tcmalloc.gyp
index 8a11bf6..6649956 100644
--- a/third_party/tcmalloc/tcmalloc.gyp
+++ b/third_party/tcmalloc/tcmalloc.gyp
@@ -246,6 +246,25 @@
}],
],
},
+ {
+ 'target_name': 'tcmalloc_unittests',
+ 'type': 'executable',
+ 'dependencies': [
+ 'tcmalloc',
+ '../../testing/gtest.gyp:gtest',
+ ],
+ 'include_dirs': [
+ '.',
+ 'tcmalloc/src/base',
+ 'tcmalloc/src',
+ '../..',
+ ],
+ 'msvs_guid': 'E99DA267-BE90-4F45-1294-6919DB2C9999',
+ 'sources': [
+ 'unittest_utils.cc',
+ 'tcmalloc_unittests.cc',
+ ],
+ },
],
'conditions': [
['OS=="win"', {