| Index: components/crash/content/app/BUILD.gn
|
| diff --git a/components/crash/content/app/BUILD.gn b/components/crash/content/app/BUILD.gn
|
| index 8d871fe8b6572eea1a72a08d3bdab496012805c5..7662d852183b51aa843d3975deefc16cc4bb3bf5 100644
|
| --- a/components/crash/content/app/BUILD.gn
|
| +++ b/components/crash/content/app/BUILD.gn
|
| @@ -2,6 +2,7 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +assert(!is_ios)
|
| if (is_android) {
|
| import("//build/config/android/config.gni")
|
| }
|
| @@ -187,3 +188,34 @@ source_set("app_breakpad_mac_win_to_be_deleted") {
|
| }
|
| }
|
| }
|
| +
|
| +if (is_mac) {
|
| + source_set("breakpad_stubs") {
|
| + sources = [
|
| + "breakpad_mac.h",
|
| + "breakpad_mac_stubs.mm",
|
| + "crash_reporter_client.cc",
|
| + "crash_reporter_client.h",
|
| + ]
|
| + deps = [
|
| + "//base",
|
| + ]
|
| + }
|
| +}
|
| +
|
| +source_set("unit_tests") {
|
| + testonly = true
|
| + sources = [
|
| + "crash_keys_win_unittest.cc",
|
| + ]
|
| + deps = [
|
| + ":lib",
|
| + "//base",
|
| + "//testing/gmock",
|
| + "//testing/gtest",
|
| + ]
|
| +
|
| + if (is_win) {
|
| + deps += [ "//breakpad:client" ]
|
| + }
|
| +}
|
|
|