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

Side by Side Diff: components/crash/content/app/BUILD.gn

Issue 2250263002: Fix ASAN canary crashes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ananta and scottmg to owners for main_loader_dll_win.cc and chrome_crash_reporter_client_win.cc Created 4 years, 4 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_elf/chrome_elf_main.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 assert(!is_ios) 5 assert(!is_ios)
6 if (is_android) { 6 if (is_android) {
7 import("//build/config/android/config.gni") 7 import("//build/config/android/config.gni")
8 } 8 }
9 9
10 static_library("lib") { 10 static_library("lib") {
(...skipping 16 matching lines...) Expand all
27 } 27 }
28 28
29 # GYP version: components/crash.gypi:crash_component 29 # GYP version: components/crash.gypi:crash_component
30 static_library("app") { 30 static_library("app") {
31 sources = [ 31 sources = [
32 "crash_switches.cc", 32 "crash_switches.cc",
33 "crash_switches.h", 33 "crash_switches.h",
34 "crashpad.h", 34 "crashpad.h",
35 "crashpad_mac.mm", 35 "crashpad_mac.mm",
36 "crashpad_win.cc", 36 "crashpad_win.cc",
37 "run_as_crashpad_handler_win.cc",
38 "run_as_crashpad_handler_win.h",
39 ] 37 ]
40 38
41 if (is_mac || is_win) { 39 if (is_mac || is_win) {
42 sources += [ "crashpad.cc" ] 40 sources += [ "crashpad.cc" ]
43 } 41 }
44 42
45 defines = [ "CRASH_IMPLEMENTATION" ] 43 defines = [ "CRASH_IMPLEMENTATION" ]
46 44
47 public_deps = [ 45 public_deps = [
48 ":app_non_mac_win", 46 ":app_non_mac_win",
49 ":lib", 47 ":lib",
50 "//third_party/kasko", 48 "//third_party/kasko",
51 ] 49 ]
52 deps = [ 50 deps = [
53 "//base", 51 "//base",
54 ] 52 ]
55 53
56 if (is_mac || is_win) { 54 if (is_mac || is_win) {
57 deps += [ 55 deps += [
58 "//third_party/crashpad/crashpad/client", 56 "//third_party/crashpad/crashpad/client",
59 "//third_party/crashpad/crashpad/snapshot:snapshot_api", 57 "//third_party/crashpad/crashpad/snapshot:snapshot_api",
60 ] 58 ]
61 } 59 }
62 if (is_win) { 60 if (is_win) {
63 deps += [ "//third_party/crashpad/crashpad/handler:handler_lib" ] 61 deps += [ "//third_party/crashpad/crashpad/handler:handler_lib" ]
64 } 62 }
65 } 63 }
66 64
65 if (is_win) {
66 static_library("run_as_crashpad_handler") {
67 sources = [
68 "crash_switches.cc",
69 "crash_switches.h",
70 "run_as_crashpad_handler_win.cc",
71 "run_as_crashpad_handler_win.h",
72 ]
73
74 deps = [
75 "//base",
76 "//third_party/crashpad/crashpad/handler:handler_lib",
77 ]
78 }
79 }
80
67 # TODO(mark): https://crbug.com/466890: merge this target with 81 # TODO(mark): https://crbug.com/466890: merge this target with
68 # crash_component. 82 # crash_component.
69 # 83 #
70 # This is a temporary base target that is depended on by both 84 # This is a temporary base target that is depended on by both
71 # crash_component and crash_component_breakpad_mac_to_be_deleted. It 85 # crash_component and crash_component_breakpad_mac_to_be_deleted. It
72 # provides everything common to both of those targets. For a short period, 86 # provides everything common to both of those targets. For a short period,
73 # there are two Mac crash component implementations. The new one uses a 87 # there are two Mac crash component implementations. The new one uses a
74 # Crashpad implementation and is used by Chrome. The old one uses a 88 # Crashpad implementation and is used by Chrome. The old one uses a
75 # Breakpad implementation and is used by content_shell. Consumers should 89 # Breakpad implementation and is used by content_shell. Consumers should
76 # depend on the desired target. All three targets behave identically on 90 # depend on the desired target. All three targets behave identically on
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 ":lib", 221 ":lib",
208 "//base", 222 "//base",
209 "//testing/gmock", 223 "//testing/gmock",
210 "//testing/gtest", 224 "//testing/gtest",
211 ] 225 ]
212 226
213 if (is_win) { 227 if (is_win) {
214 deps += [ "//breakpad:client" ] 228 deps += [ "//breakpad:client" ]
215 } 229 }
216 } 230 }
OLDNEW
« no previous file with comments | « chrome_elf/chrome_elf_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698