Use default values provided by PartitionAlloc instead of hard-coded ones

https://crrev.com/c/2738677 added a variable to
base/allocator/partition_allocator/build_overrides/partition_alloc.gni
and this change prevents chromium roll.

Instead of adding a variable to WebRTC's partition_alloc.gni,
import that file. This will avoid repeating these operations in the
future.

Bug: None
Change-Id: I8ad2e8900d5ca7828cf415ecf7933c8eb1d5160a
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/286201
Commit-Queue: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38834}
This commit is contained in:
Byoungchan Lee 2022-12-05 08:53:33 +09:00 committed by WebRTC LUCI CQ
parent 53f3049588
commit 36f668c8bb
1 changed files with 2 additions and 7 deletions

View File

@ -8,10 +8,5 @@
# Use default values for PartitionAlloc as standalone library from
# base/allocator/partition_allocator/build_overrides/partition_alloc.gni
use_partition_alloc_as_malloc_default = false
use_allocator_shim_default = false
enable_backup_ref_ptr_support_default = false
enable_mte_checked_ptr_support_default = false
put_ref_count_in_previous_slot_default = false
enable_backup_ref_ptr_slow_checks_default = false
enable_dangling_raw_ptr_checks_default = false
import(
"//base/allocator/partition_allocator/build_overrides/partition_alloc.gni")