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