blob: 4ad41b7be380c3385a79c8c66561e2ea5a0d3668 [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/components.gni")
import("//build/rust/rustc_test.gni")
rustc_test("test") {
name = "session_manager_integration_tests"
edition = "2018"
source_root = "src/main.rs"
deps = [
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2-rustc",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/syslog/rust:syslog",
"//src/session/bin/session_manager:lib",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/main.rs" ]
}
fuchsia_component("session_manager_integration_tests_component") {
testonly = true
manifest = "meta/session_manager_integration_tests.cml"
deps = [ ":test" ]
}
fuchsia_test_package("session_manager_integration_tests") {
test_components = [ ":session_manager_integration_tests_component" ]
deps = [ "//src/session/examples/graphical_session" ]
}