# Copyright 2019 The Chromium Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
import("//build/config/allocator.gni") | |
declare_args() { | |
# Is GWP-ASan malloc/PartitionAlloc hooking enabled for chrome/ on a given | |
# platform. | |
enable_gwp_asan_malloc = (is_win || is_mac) && use_allocator_shim | |
enable_gwp_asan_partitionalloc = (is_win || is_mac) && use_partition_alloc | |
} |