blob: 488806e131e7d025fe398c5ac22aa94ab365ecb9 [file] [log] [blame]
Arthur Sonzogni8b28afe2023-10-12 16:06:04 +00001# Copyright 2023 The Dawn Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# This is the default build configuration when building PartitionAlloc
16# as a standalone library.
17use_partition_alloc_as_malloc_default = false
18use_allocator_shim_default = false
19enable_backup_ref_ptr_support_default = false
20put_ref_count_in_previous_slot_default = true
21enable_backup_ref_ptr_slow_checks_default = false
22enable_dangling_raw_ptr_checks_default = false
23
24# This is the default build configuration for pointers/raw_ptr*.
25raw_ptr_zero_on_construct_default = true
26raw_ptr_zero_on_move_default = true
27raw_ptr_zero_on_destruct_default = false