blob: c9bbd8df304971e7c0133833f15b20c5e0aeec67 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- base/allocator/partition_allocator/partition_alloc.gni.orig 2025-04-22 20:15:27 UTC
+++ base/allocator/partition_allocator/partition_alloc.gni
@@ -89,7 +89,7 @@ use_large_empty_slot_span_ring = true
# TODO(crbug.com/329199197): Clean this up when experiments are complete.
use_large_empty_slot_span_ring = true
-has_memory_tagging = current_cpu == "arm64" && is_clang && !is_asan &&
+has_memory_tagging = current_cpu == "arm64" && is_clang && !is_asan && !is_bsd &&
!is_hwasan && (is_linux || is_android)
declare_args() {
@@ -348,7 +348,7 @@ declare_args() {
declare_args() {
# Shadow metadata is still under development and only supports Linux
# for now.
- enable_shadow_metadata = is_linux && has_64_bit_pointers
+ enable_shadow_metadata = !is_bsd && is_linux && has_64_bit_pointers
}
declare_args() {
@@ -491,7 +491,7 @@ is_pkeys_available =
# dependencies that use partition_allocator are compiled in AOSP against a
# version of glibc that does not include pkeys syscall numbers.
is_pkeys_available =
- (is_linux || is_chromeos) && current_cpu == "x64" && !is_cronet_build
+ !is_bsd && (is_linux || is_chromeos) && current_cpu == "x64" && !is_cronet_build
declare_args() {
enable_pkeys = is_pkeys_available
}
|