| # 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", |
| "mock_cobalt", |
| ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ "mock_cobalt:tests" ] |
| } |
| |
| 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:fuchsia.metrics_hlcpp", |
| ] |
| } |
| |
| source_set("fake_clock_lib") { |
| testonly = true |
| sources = [ "fake_clock.h" ] |
| |
| public_deps = [ "//src/cobalt/bin/utils:clock" ] |
| } |
| |
| 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" ] |
| } |