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