Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Side by Side Diff: third_party/kasko/BUILD.gn

Issue 1844023002: Capture a report on failed browser rendez-vous. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GYP fixup Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/chrome_watcher/kasko_util.cc ('k') | third_party/kasko/kasko.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/sanitizers/sanitizers.gni") 6 import("//third_party/kasko/kasko.gni")
7
8 declare_args() {
9 # Enable the Kasko crash reporter. Enabled by default on syzyasan build.
10 enable_kasko = is_syzyasan
11
12 # Enable the reporting of browser hangs with Kasko.
13 enable_kasko_hang_reports = false
14 }
15 7
16 # GYP version: target 'kasko_features' in third_party/kasko/kasko.gyp 8 # GYP version: target 'kasko_features' in third_party/kasko/kasko.gyp
17 buildflag_header("kasko_features") { 9 buildflag_header("kasko_features") {
18 header = "kasko_features.h" 10 header = "kasko_features.h"
19 flags = [ 11 flags = [
20 "ENABLE_KASKO=$enable_kasko", 12 "ENABLE_KASKO=$enable_kasko",
21 "ENABLE_KASKO_HANG_REPORTS=$enable_kasko_hang_reports", 13 "ENABLE_KASKO_HANG_REPORTS=$enable_kasko_hang_reports",
14 "ENABLE_KASKO_FAILED_RDV_REPORTS=$enable_kasko_failed_rdv_reports",
22 ] 15 ]
23 } 16 }
24 17
25 if (enable_kasko) { 18 if (enable_kasko) {
26 assert(is_win, "Kasko only support Windows.") 19 assert(is_win, "Kasko only support Windows.")
27 assert(target_cpu == "x86", "Kasko only support 32 bits.") 20 assert(target_cpu == "x86", "Kasko only support 32 bits.")
28 assert(is_chrome_branded, 21 assert(is_chrome_branded,
29 "The Kasko client is only initialized in Chrome-branded builds.") 22 "The Kasko client is only initialized in Chrome-branded builds.")
30 23
31 config("kasko_config") { 24 config("kasko_config") {
(...skipping 23 matching lines...) Expand all
55 ] 48 ]
56 public_configs = [ ":kasko_config" ] 49 public_configs = [ ":kasko_config" ]
57 } 50 }
58 } else { 51 } else {
59 group("kasko") { 52 group("kasko") {
60 public_deps = [ 53 public_deps = [
61 ":kasko_features", 54 ":kasko_features",
62 ] 55 ]
63 } 56 }
64 } 57 }
OLDNEW
« no previous file with comments | « chrome/chrome_watcher/kasko_util.cc ('k') | third_party/kasko/kasko.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698