blob: 8e57a721344645a37905018bb1a81ee8cc38ec0e [file] [log] [blame]
# 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.
import("//third_party/protobuf/proto_library.gni")
if (is_win) {
proto_library("stability_report_proto") {
sources = [ "stability_report.proto" ]
}
# This target links into the crashpad handler which lives in chrome_elf.dll
# on Windows.
static_library("stability_report") {
sources = [
"user_stream_data_source.cc",
"user_stream_data_source.h",
]
deps = [
":stability_report_proto",
"//base",
"//third_party/crashpad/crashpad/handler",
"//third_party/crashpad/crashpad/minidump",
"//third_party/crashpad/crashpad/snapshot",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "user_stream_data_source_unittest.cc" ]
deps = [
":stability_report",
":stability_report_proto",
"//base",
"//testing/gtest",
"//third_party/crashpad/crashpad/minidump",
"//third_party/crashpad/crashpad/snapshot:test_support",
]
}
}