| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 if (is_win) { | 59 if (is_win) { |
| 60 deps += [ "//third_party/crashpad/crashpad/handler:handler_lib" ] | 60 deps += [ "//third_party/crashpad/crashpad/handler:handler_lib" ] |
| 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", | |
| 70 "fallback_crash_handler_launcher_win.h", | |
| 71 "run_as_crashpad_handler_win.cc", | 69 "run_as_crashpad_handler_win.cc", |
| 72 "run_as_crashpad_handler_win.h", | 70 "run_as_crashpad_handler_win.h", |
| 73 ] | 71 ] |
| 74 | 72 |
| 75 deps = [ | 73 deps = [ |
| 76 "//base", | 74 "//base", |
| 77 "//third_party/crashpad/crashpad/handler:handler_lib", | 75 "//third_party/crashpad/crashpad/handler:handler_lib", |
| 78 ] | 76 ] |
| 79 } | 77 } |
| 80 } | 78 } |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 deps = [ | 206 deps = [ |
| 209 "//base", | 207 "//base", |
| 210 ] | 208 ] |
| 211 } | 209 } |
| 212 } | 210 } |
| 213 | 211 |
| 214 source_set("unit_tests") { | 212 source_set("unit_tests") { |
| 215 testonly = true | 213 testonly = true |
| 216 sources = [ | 214 sources = [ |
| 217 "crash_keys_win_unittest.cc", | 215 "crash_keys_win_unittest.cc", |
| 218 "fallback_crash_handler_launcher_win_unittest.cc", | |
| 219 ] | 216 ] |
| 220 deps = [ | 217 deps = [ |
| 221 ":lib", | 218 ":lib", |
| 222 "//base", | 219 "//base", |
| 223 "//base/test:test_support", | |
| 224 "//testing/gmock", | 220 "//testing/gmock", |
| 225 "//testing/gtest", | 221 "//testing/gtest", |
| 226 ] | 222 ] |
| 227 | 223 |
| 228 if (is_win) { | 224 if (is_win) { |
| 229 deps += [ | 225 deps += [ "//breakpad:client" ] |
| 230 ":run_as_crashpad_handler", | |
| 231 "//breakpad:client", | |
| 232 ] | |
| 233 } | 226 } |
| 234 } | 227 } |
| OLD | NEW |