blob: b0f719761a3ff1751cb279a59a9e6663d228f983 [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("//build/package.gni")
group("common") {
testonly = true
public_deps = [
":common_active_module_bin",
":common_null_module_bin",
]
}
executable("common_null_module_bin") {
testonly = true
output_name = "common_null_module"
sources = [
"common_null_module.cc",
]
deps = [
":defs",
"//peridot/public/lib/app_driver/cpp:module_driver",
"//peridot/public/lib/integration_testing/cpp",
"//sdk/fidl/fuchsia.modular",
"//zircon/public/lib/async-loop-cpp",
]
}
package("common_null_module") {
testonly = true
deps = [
":common_null_module_bin",
]
binaries = [
{
name = "common_null_module"
},
]
meta = [
{
path = "common_null_module.cmx"
dest = "common_null_module.cmx"
},
]
}
executable("common_active_module_bin") {
testonly = true
output_name = "common_active_module"
sources = [
"common_active_module.cc",
]
deps = [
":defs",
"//peridot/public/lib/app_driver/cpp:module_driver",
"//peridot/public/lib/integration_testing/cpp",
"//sdk/fidl/fuchsia.modular",
"//zircon/public/lib/async-loop-cpp",
]
}
package("common_active_module") {
testonly = true
deps = [
":common_active_module_bin",
]
binaries = [
{
name = "common_active_module"
},
]
meta = [
{
path = "common_active_module.cmx"
dest = "common_active_module.cmx"
},
]
}
source_set("defs") {
testonly = true
sources = [
"defs.h",
]
}