OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 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 import("//build/config/sanitizers/sanitizers.gni") | 5 import("//build/config/sanitizers/sanitizers.gni") |
6 | 6 |
7 declare_args() { | 7 declare_args() { |
8 # Enable the reporting of browser hangs with Kasko. | 8 # Enable the reporting of browser hangs with Kasko. |
9 # TODO(pmonette): ensure hang reporting is disabled for syzyasan builds. | 9 # TODO(pmonette): ensure hang reporting is disabled for syzyasan builds. |
10 enable_kasko_hang_reports = false | 10 enable_kasko_hang_reports = false |
11 | 11 |
12 # Enable the reporting of failed browser rendez-vous with Kasko. | 12 # Enable the reporting of failed browser rendez-vous with Kasko. |
13 # TODO(pmonette): ensure hang reporting is disabled for syzyasan builds. | 13 # TODO(pmonette): ensure hang reporting is disabled for syzyasan builds. |
14 enable_kasko_failed_rdv_reports = false | 14 enable_kasko_failed_rdv_reports = false |
15 } | 15 } |
16 | 16 |
17 # Enable the Kasko crash reporter. Enabled by default on syzyasan build. | 17 # Enable the Kasko crash reporter. Enabled by default on Syzyasan official |
18 enable_kasko = | 18 # build. |
19 is_syzyasan || enable_kasko_hang_reports || enable_kasko_failed_rdv_reports | 19 enable_kasko = (is_official_build && is_syzyasan) || |
| 20 enable_kasko_hang_reports || enable_kasko_failed_rdv_reports |
OLD | NEW |