| # Copyright 2019 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/*" ] | |
| ############################################################################### | |
| # SOURCES | |
| ############################################################################### | |
| source_set("backoff") { | |
| testonly = true | |
| sources = [ "backoff.h" ] | |
| public_deps = [ "//src/lib/backoff" ] | |
| } | |
| source_set("unit_test_fixture") { | |
| testonly = true | |
| sources = [ "unit_test_fixture.h" ] | |
| public_deps = [ | |
| "//sdk/lib/inspect/testing/cpp", | |
| "//sdk/lib/sys/cpp", | |
| "//sdk/lib/sys/cpp/testing:unit", | |
| "//sdk/lib/syslog/cpp", | |
| "//sdk/lib/vfs/cpp", | |
| "//src/developer/forensics/testing/stubs:cobalt", | |
| "//src/developer/forensics/testing/stubs:fidl_server", | |
| "//src/developer/forensics/utils/cobalt", | |
| "//src/lib/testing/loop_fixture", | |
| "//third_party/googletest:gtest", | |
| "//zircon/system/ulib/zx", | |
| ] | |
| } | |
| source_set("scoped_memfs_manager") { | |
| testonly = true | |
| sources = [ "scoped_memfs_manager.h" ] | |
| public_deps = [ | |
| "//sdk/lib/fdio", | |
| "//sdk/lib/syslog/cpp", | |
| "//src/lib/files", | |
| "//src/sys/test_runners:tmp_storage", | |
| ] | |
| } | |
| source_set("gmatchers") { | |
| testonly = true | |
| sources = [ "gmatchers.h" ] | |
| public_deps = [ | |
| "//src/developer/forensics/feedback/attachments", | |
| "//src/developer/forensics/utils:errors", | |
| "//third_party/googletest:gmock", | |
| "//third_party/googletest:gtest", | |
| ] | |
| } | |
| source_set("gpretty_printers") { | |
| testonly = true | |
| sources = [ "gpretty_printers.h" ] | |
| public_deps = [ | |
| "//sdk/fidl/fuchsia.feedback:fuchsia.feedback_hlcpp", | |
| "//sdk/fidl/fuchsia.mem:fuchsia.mem_hlcpp", | |
| "//sdk/lib/fit-promise", | |
| "//sdk/lib/syslog/cpp", | |
| "//src/developer/forensics/crash_reports:filing_result", | |
| "//src/developer/forensics/crash_reports:item_location", | |
| "//src/developer/forensics/crash_reports:product", | |
| "//src/developer/forensics/feedback:stop_signals", | |
| "//src/developer/forensics/feedback/attachments", | |
| "//src/developer/forensics/utils:errors", | |
| "//src/developer/forensics/utils/cobalt", | |
| "//src/lib/fostr", | |
| "//src/lib/fostr/fidl/fuchsia.mem", | |
| "//src/lib/fsl", | |
| "//zircon/system/ulib/zx", | |
| ] | |
| } | |
| source_set("gtest_with_syslog_main") { | |
| testonly = true | |
| sources = [ "gtest_with_syslog_main.cc" ] | |
| public_deps = [ | |
| "//sdk/lib/syslog/cpp", | |
| "//src/lib/fxl/test:test_settings", | |
| "//third_party/googletest:gtest", | |
| ] | |
| } | |
| source_set("log_message") { | |
| testonly = true | |
| sources = [ | |
| "log_message.cc", | |
| "log_message.h", | |
| ] | |
| public_deps = [ | |
| "//sdk/fidl/fuchsia.logger:fuchsia.logger_cpp", | |
| "//zircon/system/ulib/zx", | |
| ] | |
| } |