| # 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("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", |
| "//src/developer/forensics/testing/stubs:cobalt", |
| "//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/syslog/cpp", |
| "//src/storage/memfs", |
| "//zircon/system/ulib/async-loop", |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/async-loop:async-loop-default", |
| ] |
| } |
| |
| source_set("gmatchers") { |
| testonly = true |
| |
| visibility += [ "//src/developer/exception_broker/tests/*" ] |
| |
| sources = [ "gmatchers.h" ] |
| |
| public_deps = [ |
| "//src/lib/fsl", |
| "//third_party/googletest:gmock", |
| "//third_party/googletest:gtest", |
| ] |
| } |
| |
| source_set("gpretty_printers") { |
| testonly = true |
| |
| visibility += [ "//src/developer/exception_broker/tests/*" ] |
| |
| sources = [ "gpretty_printers.h" ] |
| |
| public_deps = [ |
| "//sdk/fidl/fuchsia.feedback", |
| "//sdk/fidl/fuchsia.mem", |
| "//sdk/lib/fit-promise", |
| "//sdk/lib/syslog/cpp", |
| "//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", |
| "//zircon/system/ulib/zx", |
| ] |
| } |