blob: f09c85c12891671fdfe7a25dbb877ae829200e31 [file] [log] [blame]
# Copyright 2018 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/executable_package.gni")
group("intents") {
testonly = true
deps = [
":defs",
":intent_test_child_module",
":intent_test_parent_module",
]
}
source_set("defs") {
testonly = true
sources = [
"defs.h",
]
}
executable_package("intent_test_parent_module") {
testonly = true
meta = [
{
path = "meta/intent_test_parent_module.cmx"
dest = "intent_test_parent_module.cmx"
},
]
sources = [
"intent_test_parent_module.cc",
]
deps = [
":defs",
"//peridot/public/lib/app_driver/cpp:module_driver",
"//peridot/public/lib/integration_testing/cpp",
"//peridot/tests/common:defs",
"//sdk/fidl/fuchsia.modular",
"//zircon/public/lib/async-loop-cpp",
]
}
executable_package("intent_test_child_module") {
testonly = true
meta = [
{
path = "meta/intent_test_child_module.cmx"
dest = "intent_test_child_module.cmx"
},
]
sources = [
"intent_test_child_module.cc",
]
deps = [
":defs",
"//garnet/public/lib/callback",
"//peridot/public/lib/app_driver/cpp:module_driver",
"//peridot/public/lib/integration_testing/cpp",
"//peridot/tests/common:defs",
"//sdk/fidl/fuchsia.modular",
"//zircon/public/lib/async-loop-cpp",
]
}