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

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

Issue 2638433002: Integrate fallback crash handling in chrome (Closed)
Patch Set: Fix signedness comparison goof. Created 3 years, 11 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
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 if (is_win) { 64 if (is_win) {
65 static_library("run_as_crashpad_handler") { 65 static_library("run_as_crashpad_handler") {
66 sources = [ 66 sources = [
67 "crash_switches.cc", 67 "crash_switches.cc",
68 "crash_switches.h", 68 "crash_switches.h",
69 "fallback_crash_handler_launcher_win.cc", 69 "fallback_crash_handler_launcher_win.cc",
70 "fallback_crash_handler_launcher_win.h", 70 "fallback_crash_handler_launcher_win.h",
71 "fallback_crash_handler_win.cc", 71 "fallback_crash_handler_win.cc",
72 "fallback_crash_handler_win.h", 72 "fallback_crash_handler_win.h",
73 "fallback_crash_handling_win.cc",
74 "fallback_crash_handling_win.h",
73 "run_as_crashpad_handler_win.cc", 75 "run_as_crashpad_handler_win.cc",
74 "run_as_crashpad_handler_win.h", 76 "run_as_crashpad_handler_win.h",
75 ] 77 ]
76 78
77 deps = [ 79 deps = [
78 "//base", 80 "//base",
81 "//chrome/install_static:install_static_util",
brettw 2017/08/24 23:35:46 This is a layering violation. Can you please fix i
Sigurður Ásgeirsson 2017/08/25 20:20:55 Done.
79 "//third_party/crashpad/crashpad/client", 82 "//third_party/crashpad/crashpad/client",
80 "//third_party/crashpad/crashpad/handler:handler_lib", 83 "//third_party/crashpad/crashpad/handler:handler_lib",
81 "//third_party/crashpad/crashpad/minidump", 84 "//third_party/crashpad/crashpad/minidump",
82 ] 85 ]
83 } 86 }
84 } 87 }
85 88
86 # TODO(mark): https://crbug.com/466890: merge this target with 89 # TODO(mark): https://crbug.com/466890: merge this target with
87 # crash_component. 90 # crash_component.
88 # 91 #
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 ] 217 ]
215 } 218 }
216 } 219 }
217 220
218 source_set("unit_tests") { 221 source_set("unit_tests") {
219 testonly = true 222 testonly = true
220 sources = [ 223 sources = [
221 "crash_keys_win_unittest.cc", 224 "crash_keys_win_unittest.cc",
222 "fallback_crash_handler_launcher_win_unittest.cc", 225 "fallback_crash_handler_launcher_win_unittest.cc",
223 "fallback_crash_handler_win_unittest.cc", 226 "fallback_crash_handler_win_unittest.cc",
227 "fallback_crash_handling_win_unittest.cc",
224 ] 228 ]
225 deps = [ 229 deps = [
226 ":lib", 230 ":lib",
227 "//base", 231 "//base",
228 "//base/test:test_support", 232 "//base/test:test_support",
229 "//testing/gmock", 233 "//testing/gmock",
230 "//testing/gtest", 234 "//testing/gtest",
231 ] 235 ]
232 236
233 if (is_win) { 237 if (is_win) {
234 deps += [ 238 deps += [
235 ":run_as_crashpad_handler", 239 ":run_as_crashpad_handler",
236 "//breakpad:client", 240 "//breakpad:client",
237 "//third_party/crashpad/crashpad/client:client", 241 "//third_party/crashpad/crashpad/client:client",
238 "//third_party/crashpad/crashpad/compat", 242 "//third_party/crashpad/crashpad/compat",
239 "//third_party/crashpad/crashpad/snapshot:snapshot", 243 "//third_party/crashpad/crashpad/snapshot:snapshot",
240 "//third_party/crashpad/crashpad/util", 244 "//third_party/crashpad/crashpad/util",
241 ] 245 ]
242 } 246 }
243 } 247 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698