blob: 155900256509aca6318bf95308b0b3b3199233ba [file] [log] [blame]
# Copyright 2019 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/rust/rustc_test.gni")
import("//build/test/test_package.gni")
rustc_test("bin") {
name = "component_manager_for_test_integration_test"
edition = "2018"
source_root = "src/main.rs"
deps = [
"//sdk/fidl/fuchsia.sys:fuchsia.sys-rustc",
"//sdk/fidl/fuchsia.test:fuchsia.test-rustc",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
]
}
test_package("component_manager_for_test_integration_test") {
deps = [
":bin",
"//examples/tests:passing-test-example",
"//src/sys/component_manager_for_test:bin",
]
meta = [
{
path = rebase_path("//examples/tests/meta/passing-test-example_v2.cml")
dest = "passing-test-example_v2.cm"
},
{
path = rebase_path(
"//src/sys/component_manager_for_test/meta/component_manager_for_test.cmx")
dest = "component_manager_for_test.cmx"
},
]
binaries = [
{
name = "passing-test-example"
},
{
name = "component_manager_for_test_bin"
},
]
tests = [
{
name = "component_manager_for_test_integration_test"
},
]
}
group("tests") {
testonly = true
deps = [ ":component_manager_for_test_integration_test" ]
}