1# Copyright (c) 2016 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
5declare_args() {
6  # Enables DCHECKs to be built-in, but to default to being non-fatal/log-only.
7  # DCHECKS can then be set as fatal/non-fatal via the DCheckIsFatal feature.
8  # See crbug.com/596231 for details on how this is used.
9  dcheck_is_configurable = false
10}
11
12declare_args() {
13  # Set to true to enable dcheck in Release builds.
14  dcheck_always_on = dcheck_is_configurable
15}
16