blob: b313cc73f78fe8d36226335b874df5b2d82a3c3c [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("graphical_session_bin") {
name = "graphical_session"
edition = "2018"
deps = [
"//garnet/public/lib/fidl/rust/fidl",
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-component",
"//garnet/public/rust/fuchsia-scenic",
"//garnet/public/rust/fuchsia-syslog",
"//garnet/public/rust/fuchsia-zircon",
"//sdk/fidl/fuchsia.images:fuchsia.images-rustc",
"//sdk/fidl/fuchsia.ui.gfx:fuchsia.ui.gfx-rustc",
"//sdk/fidl/fuchsia.ui.scenic:fuchsia.ui.scenic-rustc",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:futures-preview",
"//third_party/rust_crates:png",
]
}
package("graphical_session") {
deps = [
":graphical_session_bin",
]
meta = [
{
path = rebase_path("meta/graphical_session.cml")
dest = "graphical_session.cm"
},
]
resources = [
{
path = rebase_path("resources/whale.png")
dest = "whale.png"
},
]
binaries = [
{
name = "graphical_session"
},
]
}