blob: 676e77726e15d67b172ab6553419e95f82e07173 [file] [log] [blame]
# 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("component_context") {
testonly = true
public_deps = [
":component_context_test",
":component_context_test_agent1",
":component_context_test_agent2",
":component_context_unstoppable_agent",
]
}
executable("component_context_test") {
testonly = true
sources = [
"root_module.cc",
]
deps = [
":test_agent1_interface",
"//garnet/public/lib/fsl",
"//peridot/lib/fidl:message_receiver_client",
"//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("component_context_test_agent1") {
testonly = true
sources = [
"test_agent1.cc",
]
deps = [
":test_agent1_interface",
"//garnet/public/lib/fsl",
"//peridot/lib/testing",
"//peridot/public/lib/agent/fidl",
"//peridot/public/lib/app_driver/cpp:agent_driver",
]
}
executable("component_context_test_agent2") {
testonly = true
sources = [
"test_agent2.cc",
]
deps = [
"//garnet/public/lib/fsl",
"//peridot/lib/testing",
"//peridot/public/lib/agent/fidl",
"//peridot/public/lib/app_driver/cpp:agent_driver",
]
}
executable("component_context_unstoppable_agent") {
testonly = true
sources = [
"unstoppable_agent.cc",
]
deps = [
"//garnet/public/lib/fsl",
"//peridot/lib/testing",
"//peridot/public/lib/agent/fidl",
"//peridot/public/lib/app_driver/cpp:agent_driver",
]
}
fidl("test_agent1_interface") {
sources = [
"test_agent1_interface.fidl",
]
}