blob: 4bfced3c142646bbc3fcfd21679a350bb1e6ca9b [file] [log] [blame]
# Copyright 2017 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("bin") {
name = "recovery_ui"
edition = "2018"
with_lto = "fat"
deps = [
"//garnet/public/fidl/fuchsia.amber:fuchsia.amber-rustc",
"//garnet/public/rust/fuchsia-app",
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-framebuffer",
"//garnet/public/rust/fuchsia-ui",
"//garnet/public/rust/fuchsia-zircon",
"//third_party/rust-crates/rustc_deps:failure",
"//third_party/rust-crates/rustc_deps:futures-preview",
]
}
package("recovery_ui") {
meta = [
{
path = rebase_path("meta/recovery_ui.cmx")
dest = "recovery_ui.cmx"
},
]
deps = [
":bin",
]
binary = "rust_crates/recovery_ui"
}