| # Copyright 2024 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 |
| public_deps = [ |
| ":fakes", |
| ":fidl_bound_server", |
| ":fidl_test_base_default", |
| ":scoped_background_loop", |
| ] |
| } |
| |
| source_set("fakes") { |
| testonly = true |
| public = [ |
| "fake_activity_governor.h", |
| "fake_element_control.h", |
| "fake_topology.h", |
| ] |
| public_deps = [ |
| ":fidl_test_base_default", |
| "//sdk/fidl/fuchsia.power.broker:fuchsia.power.broker_cpp", |
| "//sdk/fidl/fuchsia.power.system:fuchsia.power.system_cpp", |
| "//sdk/lib/async:async-cpp", |
| ] |
| } |
| |
| source_set("fidl_bound_server") { |
| testonly = true |
| public = [ "fidl_bound_server.h" ] |
| public_deps = [ "//sdk/lib/fidl/hlcpp" ] |
| } |
| |
| source_set("fidl_test_base_default") { |
| testonly = true |
| public = [ "fidl_test_base_default.h" ] |
| public_deps = [ "//sdk/lib/fidl/hlcpp" ] |
| } |
| |
| source_set("scoped_background_loop") { |
| public = [ "scoped_background_loop.h" ] |
| public_deps = [ |
| "//sdk/lib/async", |
| "//sdk/lib/async:async-cpp", |
| "//sdk/lib/async-loop:async-loop-cpp", |
| "//sdk/lib/async-loop:async-loop-default", |
| ] |
| } |