| # 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. |
| |
| group("testing") { |
| testonly = true |
| deps = [ |
| ":fake_clock_lib", |
| ":fake_logger_lib", |
| "mock_cobalt", |
| ] |
| } |
| |
| source_set("fake_logger_lib") { |
| testonly = true |
| sources = [ |
| "fake_logger.cc", |
| "fake_logger.h", |
| ] |
| |
| public_deps = [ |
| ":log_method", |
| "//sdk/fidl/fuchsia.cobalt", |
| ] |
| } |
| |
| source_set("stub_metric_event_logger_lib") { |
| testonly = true |
| sources = [ |
| "stub_metric_event_logger.cc", |
| "stub_metric_event_logger.h", |
| ] |
| |
| public_deps = [ |
| ":log_metric_method", |
| "//sdk/fidl/fuchsia.metrics", |
| ] |
| } |
| |
| source_set("fake_clock_lib") { |
| testonly = true |
| sources = [ "fake_clock.h" ] |
| |
| public_deps = [ "//src/cobalt/bin/utils:clock" ] |
| } |
| |
| source_set("log_method") { |
| testonly = true |
| sources = [ "log_method.h" ] |
| } |
| |
| source_set("log_metric_method") { |
| testonly = true |
| sources = [ |
| "log_metric_method.cc", |
| "log_metric_method.h", |
| ] |
| } |
| |
| source_set("fake_http_loader") { |
| testonly = true |
| sources = [ "fake_http_loader.h" ] |
| deps = [ "//src/lib/callback" ] |
| } |