diff options
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index a77a13c..1cc8cca 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -176,6 +176,9 @@ # Strip the binary after dumping symbols. 'linux_strip_binary%': 0, + # Enable TCMalloc. + 'linux_use_tcmalloc%': 0, + # Set to select the Title Case versions of strings in GRD files. 'use_titlecase_in_grd_files%': 0, @@ -709,6 +712,9 @@ }] ], }], + ['linux_use_tcmalloc==1', { + 'defines': ['LINUX_USE_TCMALLOC'], + }], ], }, }], |