OLD | NEW |
1 # Copyright (c) 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 declare_args() { | 5 declare_args() { |
6 # Set to true to enable dcheck in Release builds. | 6 # Set to true to enable dcheck in Release builds. |
7 dcheck_always_on = false | 7 # TODO(596231): Default to enabled on Windows Official builds. |
| 8 dcheck_always_on = is_official_build && is_win |
| 9 |
| 10 # Set to true to have the first failed dcheck cause a dump to be |
| 11 # uploaded, without crashing. Implies dcheck_always_on, but does not |
| 12 # actually enable logging of dcheck failures. |
| 13 # TODO(596231): Default to enabled on Windows Official builds. |
| 14 dump_on_first_dcheck = is_official_build && is_win |
8 } | 15 } |
OLD | NEW |