| # Copyright 2016 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 = [ |
| ":component_base", |
| ":component_main", |
| ":session_shell_base", |
| ":session_shell_impl", |
| ":test_driver", |
| ":test_story_command_executor", |
| ":test_with_session_storage", |
| ":wait_until_idle", |
| ] |
| } |
| |
| source_set("component_base") { |
| testonly = true |
| |
| sources = [ "component_base.h" ] |
| |
| public_deps = [ |
| ":component_main", |
| "//sdk/lib/sys/cpp", |
| "//src/modular/lib/fidl:single_service_app", |
| "//src/modular/lib/integration_testing/cpp", |
| ] |
| } |
| |
| source_set("component_main") { |
| testonly = true |
| |
| sources = [ "component_main.h" ] |
| |
| public_deps = [ |
| "//src/modular/lib/app_driver/cpp:app_driver", |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/async-loop:async-loop-default", |
| ] |
| } |
| |
| source_set("session_shell_base") { |
| testonly = true |
| |
| sources = [ "session_shell_base.h" ] |
| |
| public_deps = [ |
| ":component_base", |
| ":session_shell_impl", |
| ] |
| } |
| |
| source_set("session_shell_impl") { |
| testonly = true |
| |
| sources = [ |
| "session_shell_impl.cc", |
| "session_shell_impl.h", |
| ] |
| |
| public_deps = [ |
| "//sdk/fidl/fuchsia.modular", |
| "//sdk/fidl/fuchsia.ui.views", |
| "//sdk/lib/fidl/cpp", |
| "//sdk/lib/sys/cpp", |
| "//src/lib/fsl", |
| "//src/modular/lib/integration_testing/cpp", |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/async-loop:async-loop-default", |
| ] |
| } |
| |
| source_set("test_story_command_executor") { |
| testonly = true |
| |
| sources = [ |
| "test_story_command_executor.cc", |
| "test_story_command_executor.h", |
| ] |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.modular", |
| "//src/modular/bin/sessionmgr/puppet_master:story_command_executor", |
| "//src/modular/lib/fidl:clone", |
| ] |
| |
| public_deps = [ "//src/modular/bin/sessionmgr/storage" ] |
| } |
| |
| source_set("test_with_session_storage") { |
| testonly = true |
| |
| sources = [ |
| "test_with_session_storage.cc", |
| "test_with_session_storage.h", |
| ] |
| |
| public_deps = [ |
| "//garnet/public/lib/gtest", |
| "//sdk/fidl/fuchsia.modular", |
| "//src/modular/bin/sessionmgr/storage", |
| "//third_party/googletest:gtest", |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/async-loop:async-loop-default", |
| ] |
| } |
| |
| source_set("wait_until_idle") { |
| testonly = true |
| |
| sources = [ "wait_until_idle.h" ] |
| |
| public_deps = [ |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/async-loop:async-loop-default", |
| ] |
| |
| deps = [ |
| "//src/lib/fsl", |
| "//third_party/googletest:gtest", |
| ] |
| } |
| |
| source_set("test_driver") { |
| sources = [ "test_driver.h" ] |
| } |