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

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

Issue 2086403002: Remove the Kasko based out of process browser hang instrumentation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 4 years, 5 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/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//third_party/kasko/kasko.gni") 7 import("//third_party/kasko/kasko.gni")
8 8
9 # GYP version: target 'kasko_features' in third_party/kasko/kasko.gyp 9 # GYP version: target 'kasko_features' in third_party/kasko/kasko.gyp
10 buildflag_header("kasko_features") { 10 buildflag_header("kasko_features") {
11 header = "kasko_features.h" 11 header = "kasko_features.h"
12 flags = [ 12 flags = [ "ENABLE_KASKO=$enable_kasko" ]
13 "ENABLE_KASKO=$enable_kasko",
14 "ENABLE_KASKO_HANG_REPORTS=$enable_kasko_hang_reports",
15 "ENABLE_KASKO_FAILED_RDV_REPORTS=$enable_kasko_failed_rdv_reports",
16 ]
17 } 13 }
18 14
19 if (enable_kasko) { 15 if (enable_kasko) {
20 assert(is_win, "Kasko only support Windows.") 16 assert(is_win, "Kasko only support Windows.")
21 assert(target_cpu == "x86", "Kasko only support 32 bits.") 17 assert(target_cpu == "x86", "Kasko only support 32 bits.")
22 assert(is_chrome_branded, 18 assert(is_chrome_branded,
23 "The Kasko client is only initialized in Chrome-branded builds.") 19 "The Kasko client is only initialized in Chrome-branded builds.")
24 20
25 config("kasko_config") { 21 config("kasko_config") {
26 visibility = [ ":*" ] 22 visibility = [ ":*" ]
(...skipping 22 matching lines...) Expand all
49 ] 45 ]
50 public_configs = [ ":kasko_config" ] 46 public_configs = [ ":kasko_config" ]
51 } 47 }
52 } else { 48 } else {
53 group("kasko") { 49 group("kasko") {
54 public_deps = [ 50 public_deps = [
55 ":kasko_features", 51 ":kasko_features",
56 ] 52 ]
57 } 53 }
58 } 54 }
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