tcmalloc: enable doubly-linked lists and disable huge allocations via build file

Moves the macro defines for enabling doubly-linked free lists and for disabling
huge allocations in tcmalloc to the build file. This makes it easier to uprev
tcmalloc from gperftools where these features are implemeneted, but not enabled
by default.


Change-Id: Ie84407583227baeddeef6bcf5eb9a825dbc6ddd2
Commit-Queue: Gabriel Marin <>
Reviewed-by: Will Harris <>
Cr-Original-Commit-Position: refs/heads/master@{#585623}
Cr-Mirrored-Commit: 767d2055806b926dcace19e1f8825977ba464808
2 files changed
tree: 880ec313c655c5bc7dcb15395d98965f4e56de3f
  1. src/