blob: ac39112c64d933aef8f7e3e3c3504c7371f414b7 [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/package.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("element_session_bin") {
name = "element_session"
edition = "2018"
deps = [
"//garnet/public/lib/fidl/rust/fidl",
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-component",
"//sdk/fidl/fuchsia.session:fuchsia.session-rustc",
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2-rustc",
"//src/session/element_management",
"//src/session/examples/elements/fidl:session_examples-rustc",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:futures-preview",
"//third_party/rust_crates:rand",
]
}
package("element_session") {
deps = [
":element_session_bin",
]
meta = [
{
path = rebase_path("meta/element_session.cml")
dest = "element_session.cm"
},
]
binaries = [
{
name = "element_session"
},
]
}