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.

BUG=724399,b:70905156

Change-Id: Ie84407583227baeddeef6bcf5eb9a825dbc6ddd2
Reviewed-on: https://chromium-review.googlesource.com/1187381
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#585623}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 767d2055806b926dcace19e1f8825977ba464808
2 files changed
tree: 880ec313c655c5bc7dcb15395d98965f4e56de3f
  1. src/