| # Copyright 2018 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| visibility = [ |
| "//src/developer/forensics/feedback/*", |
| "//src/developer/forensics/last_reboot/*", |
| ] |
| |
| ############################################################################### |
| # SOURCES |
| ############################################################################### |
| source_set("last_reboot_info_provider") { |
| sources = [ |
| "last_reboot_info_provider.cc", |
| "last_reboot_info_provider.h", |
| ] |
| |
| public_deps = [ |
| "//sdk/fidl/fuchsia.feedback:fuchsia.feedback_hlcpp", |
| "//src/developer/forensics/feedback/reboot_log", |
| ] |
| |
| deps = [ "//sdk/lib/syslog/cpp" ] |
| } |
| |
| source_set("reporter") { |
| sources = [ |
| "reporter.cc", |
| "reporter.h", |
| ] |
| |
| public_deps = [ |
| "//sdk/fidl/fuchsia.feedback:fuchsia.feedback_hlcpp", |
| "//sdk/fidl/fuchsia.metrics:fuchsia.metrics_hlcpp", |
| "//sdk/lib/fit-promise", |
| "//sdk/lib/sys/cpp", |
| "//src/developer/forensics/feedback/reboot_log", |
| "//src/developer/forensics/utils:errors", |
| "//src/developer/forensics/utils/cobalt", |
| "//src/developer/forensics/utils/redact", |
| ] |
| |
| deps = [ |
| "//sdk/lib/syslog/cpp", |
| "//src/lib/files", |
| "//src/lib/fsl", |
| "//src/lib/fxl", |
| "//zircon/system/ulib/async:async-cpp", |
| "//zircon/system/ulib/zx", |
| ] |
| } |