• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2022 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build_overrides/build.gni")
6
7# This is the default build configuration when building PartitionAlloc
8# as a standalone library.
9# If embedders want to use PartitionAlloc, they need to create their own
10# //build_overrides/partition_alloc.gni and define their own PartitionAlloc
11# configuration.
12
13use_partition_alloc_as_malloc_default = false
14use_allocator_shim_default = false
15enable_backup_ref_ptr_support_default = false
16put_ref_count_in_previous_slot_default = true
17enable_backup_ref_ptr_slow_checks_default = false
18enable_dangling_raw_ptr_checks_default = false
19