diff options
Diffstat (limited to 'files/build_overrides')
-rw-r--r-- | files/build_overrides/build.gni | 3 | ||||
-rw-r--r-- | files/build_overrides/partition_alloc.gni | 17 |
2 files changed, 20 insertions, 0 deletions
diff --git a/files/build_overrides/build.gni b/files/build_overrides/build.gni index c8490313..d9d01d51 100644 --- a/files/build_overrides/build.gni +++ b/files/build_overrides/build.gni @@ -13,6 +13,9 @@ build_with_chromium = false # Some non-Chromium builds don't support building java targets. enable_java_templates = true +# Enables assertions on safety checks in libc++. +enable_safe_libcxx = true + # Allow using custom suppressions files (currently not used by libyuv). asan_suppressions_file = "//build/sanitizers/asan_suppressions.cc" lsan_suppressions_file = "//build/sanitizers/lsan_suppressions.cc" diff --git a/files/build_overrides/partition_alloc.gni b/files/build_overrides/partition_alloc.gni new file mode 100644 index 00000000..dcf8ac2d --- /dev/null +++ b/files/build_overrides/partition_alloc.gni @@ -0,0 +1,17 @@ +# Copyright 2022 The LibYuv Project Authors. All rights reserved. +# +# Use of this source code is governed by a BSD-style license +# that can be found in the LICENSE file in the root of the source +# tree. An additional intellectual property rights grant can be found +# in the file PATENTS. All contributing project authors may +# be found in the AUTHORS file in the root of the source tree. + +# 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 |