summaryrefslogtreecommitdiff
path: root/chromium/base/allocator/allocator.gni
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/allocator/allocator.gni')
-rw-r--r--chromium/base/allocator/allocator.gni6
1 files changed, 5 insertions, 1 deletions
diff --git a/chromium/base/allocator/allocator.gni b/chromium/base/allocator/allocator.gni
index 148e37d9106..8e23e49c162 100644
--- a/chromium/base/allocator/allocator.gni
+++ b/chromium/base/allocator/allocator.gni
@@ -33,7 +33,11 @@ declare_args() {
use_allocator_shim = _default_use_allocator_shim
}
-assert(use_allocator == "none" || use_allocator == "tcmalloc")
+assert(use_allocator == "none" || use_allocator == "tcmalloc" ||
+ use_allocator == "partition")
+
+# Don't ship this configuration, not ready yet.
+assert(!(use_allocator == "partition" && is_official_build))
assert(!is_win || use_allocator == "none", "Tcmalloc doesn't work on Windows.")
assert(!is_mac || use_allocator == "none", "Tcmalloc doesn't work on macOS.")