1 // Copyright 2020 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef UI_ACCESSIBILITY_AX_COMMON_H_
6 #define UI_ACCESSIBILITY_AX_COMMON_H_
7 
8 #if (!defined(NDEBUG) || defined(ADDRESS_SANITIZER) ||            \
9      defined(LEAK_SANITIZER) || defined(MEMORY_SANITIZER) ||      \
10      defined(THREAD_SANITIZER) || defined(UNDEFINED_SANITIZER) || \
11      DCHECK_IS_ON()) &&                                           \
12     !defined(OS_IOS)
13 // Enable fast fails on clusterfuzz and other builds used to debug Chrome,
14 // in order to help narrow down illegal states more quickly.
15 #define AX_FAIL_FAST_BUILD
16 #endif
17 
18 #endif  // UI_ACCESSIBILITY_AX_COMMON_H_
19