| # Copyright 2023 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("crash_client") { |
| sources = [ |
| "client.cc", |
| "client.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//components/allocation_recorder/internal", |
| "//components/crash/core/common:crash_key", |
| "//third_party/crashpad/crashpad/client:common", |
| ] |
| |
| if (is_android) { |
| deps += [ "//components/crash/core/app" ] |
| } |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ "client_unittest.cc" ] |
| deps = [ |
| ":crash_client", |
| "//components/allocation_recorder/internal", |
| "//components/crash/core/common:crash_buildflags", |
| "//testing/gtest", |
| "//third_party/crashpad/crashpad/client", |
| ] |
| } |