| # 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("//garnet/public/lib/fidl/fidl.gni") |
| |
| group("triggers") { |
| testonly = true |
| |
| public_deps = [ |
| ":agent_trigger_test", |
| ":trigger_test_agent", |
| ] |
| } |
| |
| executable("agent_trigger_test") { |
| testonly = true |
| |
| sources = [ |
| "root_module.cc", |
| ] |
| deps = [ |
| ":trigger_test_agent_interface", |
| "//garnet/public/lib/fsl", |
| "//peridot/lib/testing", |
| "//peridot/public/lib/app_driver/cpp:module_driver", |
| "//peridot/public/lib/component/fidl", |
| "//peridot/public/lib/module/fidl", |
| "//peridot/public/lib/story/fidl", |
| ] |
| } |
| |
| executable("trigger_test_agent") { |
| testonly = true |
| |
| sources = [ |
| "test_agent.cc", |
| ] |
| deps = [ |
| ":trigger_test_agent_interface", |
| "//garnet/public/lib/fsl", |
| "//peridot/lib/testing", |
| "//peridot/public/lib/agent/fidl", |
| "//peridot/public/lib/app_driver/cpp:agent_driver", |
| "//peridot/public/lib/lifecycle/fidl", |
| ] |
| } |
| |
| fidl("trigger_test_agent_interface") { |
| sources = [ |
| "trigger_test_agent_interface.fidl", |
| ] |
| } |