| OLD | NEW |
| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 } | 61 } |
| 62 } | 62 } |
| 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", |
| 72 "fallback_crash_handler_win.h", |
| 71 "run_as_crashpad_handler_win.cc", | 73 "run_as_crashpad_handler_win.cc", |
| 72 "run_as_crashpad_handler_win.h", | 74 "run_as_crashpad_handler_win.h", |
| 73 ] | 75 ] |
| 74 | 76 |
| 75 deps = [ | 77 deps = [ |
| 76 "//base", | 78 "//base", |
| 79 "//third_party/crashpad/crashpad/client", |
| 77 "//third_party/crashpad/crashpad/handler:handler_lib", | 80 "//third_party/crashpad/crashpad/handler:handler_lib", |
| 81 "//third_party/crashpad/crashpad/minidump", |
| 78 ] | 82 ] |
| 79 } | 83 } |
| 80 } | 84 } |
| 81 | 85 |
| 82 # TODO(mark): https://crbug.com/466890: merge this target with | 86 # TODO(mark): https://crbug.com/466890: merge this target with |
| 83 # crash_component. | 87 # crash_component. |
| 84 # | 88 # |
| 85 # This is a temporary base target that is depended on by both | 89 # This is a temporary base target that is depended on by both |
| 86 # crash_component and crash_component_breakpad_mac_to_be_deleted. It | 90 # crash_component and crash_component_breakpad_mac_to_be_deleted. It |
| 87 # provides everything common to both of those targets. For a short period, | 91 # provides everything common to both of those targets. For a short period, |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 "//base", | 213 "//base", |
| 210 ] | 214 ] |
| 211 } | 215 } |
| 212 } | 216 } |
| 213 | 217 |
| 214 source_set("unit_tests") { | 218 source_set("unit_tests") { |
| 215 testonly = true | 219 testonly = true |
| 216 sources = [ | 220 sources = [ |
| 217 "crash_keys_win_unittest.cc", | 221 "crash_keys_win_unittest.cc", |
| 218 "fallback_crash_handler_launcher_win_unittest.cc", | 222 "fallback_crash_handler_launcher_win_unittest.cc", |
| 223 "fallback_crash_handler_win_unittest.cc", |
| 219 ] | 224 ] |
| 220 deps = [ | 225 deps = [ |
| 221 ":lib", | 226 ":lib", |
| 222 "//base", | 227 "//base", |
| 223 "//base/test:test_support", | 228 "//base/test:test_support", |
| 224 "//testing/gmock", | 229 "//testing/gmock", |
| 225 "//testing/gtest", | 230 "//testing/gtest", |
| 226 ] | 231 ] |
| 227 | 232 |
| 228 if (is_win) { | 233 if (is_win) { |
| 229 deps += [ | 234 deps += [ |
| 230 ":run_as_crashpad_handler", | 235 ":run_as_crashpad_handler", |
| 231 "//breakpad:client", | 236 "//breakpad:client", |
| 237 "//third_party/crashpad/crashpad/client:client", |
| 238 "//third_party/crashpad/crashpad/compat", |
| 239 "//third_party/crashpad/crashpad/snapshot:snapshot", |
| 240 "//third_party/crashpad/crashpad/util", |
| 232 ] | 241 ] |
| 233 } | 242 } |
| 234 } | 243 } |
| OLD | NEW |