blob: 8d937b6f675e574c4c3ec1f5ff4abc2f05c0d358 [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_library.gni")
import("//build/test/test_package.gni")
rustc_library("element_management") {
name = "element_management"
with_unit_tests = true
edition = "2018"
deps = [
"//garnet/public/lib/fidl/rust/fidl",
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-component",
"//garnet/public/rust/fuchsia-syslog",
"//sdk/fidl/fuchsia.session:fuchsia.session-rustc",
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2-rustc",
"//src/session/realm_management",
"//third_party/rust_crates:async-trait",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:futures-preview",
]
}
test_package("element_management_tests") {
deps = [
":element_management_test",
]
tests = [
{
name = "element_management_lib_test"
},
]
}