partition_alloc.gni 581 B

123456789101112131415
  1. # Copyright (c) 2022 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. declare_args() {
  5. make_partition_alloc_standalone = false
  6. use_freeslot_bitmap = false
  7. }
  8. # TODO(): move partition allocator's own args defined by
  9. # //base/allocator/allocator.gni here. e.g. put_ref_count_in_previous_slot
  10. # (this changes partition alloc's behavior.)
  11. # On the otherhand, partition_aloc_as_malloc is related to allocator_shim.
  12. # Caller sides should init PA-E. e.g. PartitionAllocMallocInitOnce()