blob: a0811364baff73e9e01b3a97a738def3ba544e85 [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("//peridot/build/executable_package.gni")
group("suggestion") {
testonly = true
deps = [
":defs",
":suggestion_test_module",
":suggestion_test_session_shell",
]
}
source_set("defs") {
testonly = true
sources = [
"defs.h",
]
}
executable_package("suggestion_test_module") {
testonly = true
meta = [
{
path = "meta/suggestion_test_module.cmx"
dest = "suggestion_test_module.cmx"
},
]
sources = [
"suggestion_test_module.cc",
]
deps = [
":defs",
"//garnet/public/lib/callback",
"//peridot/lib/testing:component_base",
"//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("suggestion_test_session_shell") {
testonly = true
meta = [
{
path = "meta/suggestion_test_session_shell.cmx"
dest = "suggestion_test_session_shell.cmx"
},
]
sources = [
"suggestion_test_session_shell.cc",
]
deps = [
":defs",
"//peridot/lib/testing:component_main",
"//peridot/lib/testing:session_shell_base",
"//peridot/public/lib/integration_testing/cpp",
"//peridot/tests/common:defs",
"//sdk/fidl/fuchsia.modular",
]
}