From 36f668c8bb821dc622ceef89f905f2a3290879d5 Mon Sep 17 00:00:00 2001 From: Byoungchan Lee Date: Mon, 5 Dec 2022 08:53:33 +0900 Subject: [PATCH] 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 Reviewed-by: Mirko Bonadei Cr-Commit-Position: refs/heads/main@{#38834} --- build_overrides/partition_alloc.gni | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/build_overrides/partition_alloc.gni b/build_overrides/partition_alloc.gni index 4173928515..044036879a 100644 --- a/build_overrides/partition_alloc.gni +++ b/build_overrides/partition_alloc.gni @@ -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")