| # Copyright 2017 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. |
| |
| import("//peridot/build/tests_package.gni") |
| |
| source_set("entity_provider_runner") { |
| sources = [ |
| "entity_provider_controller.cc", |
| "entity_provider_controller.h", |
| "entity_provider_launcher.cc", |
| "entity_provider_launcher.h", |
| "entity_provider_runner.cc", |
| "entity_provider_runner.h", |
| ] |
| |
| deps = [ |
| "//garnet/public/fidl/fuchsia.sys", |
| "//garnet/public/lib/component/cpp", |
| "//garnet/public/lib/fidl/cpp", |
| "//garnet/public/lib/fsl", |
| "//garnet/public/lib/fxl", |
| "//peridot/lib/fidl:json_xdr", |
| "//peridot/lib/util", |
| "//peridot/public/fidl/fuchsia.modular", |
| ] |
| } |
| |
| tests_package("entity_provider_runner_unittests") { |
| deps = [ |
| ":entity_provider_runner_unittest", |
| ] |
| } |
| |
| executable("entity_provider_runner_unittest") { |
| testonly = true |
| |
| sources = [ |
| "entity_provider_runner_unittest.cc", |
| ] |
| |
| deps = [ |
| ":entity_provider_runner", |
| "//garnet/public/fidl/fuchsia.sys", |
| "//garnet/public/lib/component/cpp", |
| "//garnet/public/lib/component/cpp/testing:fake_launcher", |
| "//garnet/public/lib/fsl", |
| "//garnet/public/lib/fxl", |
| "//peridot/bin/sessionmgr/agent_runner", |
| "//peridot/bin/sessionmgr/message_queue", |
| "//peridot/lib/fidl:array_to_string", |
| "//peridot/lib/testing:fake_agent_runner_storage", |
| "//peridot/lib/testing:mock_base", |
| "//peridot/lib/testing:test_with_ledger", |
| "//peridot/public/fidl/fuchsia.modular", |
| "//peridot/public/fidl/fuchsia.modular.auth", |
| "//peridot/public/lib/agent/cpp", |
| "//third_party/googletest:gtest_main", |
| "//zircon/public/lib/trace", |
| ] |
| } |