blob: 8d9ec39d4d0f1045174a9c0c598670ef132ecce2 [file] [log] [blame]
# Copyright 2018 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")
import("//build/rust/rustc_library.gni")
rustc_binary("bin") {
name = "cs"
edition = "2018"
deps = [
"//garnet/public/lib/fidl/rust/fidl",
"//garnet/public/rust/fdio",
"//garnet/public/rust/fuchsia-zircon",
"//third_party/rust-crates/rustc_deps:failure",
"//third_party/rust-crates/rustc_deps:structopt",
"//zircon/public/fidl/fuchsia-inspect:fuchsia-inspect-rustc",
]
}
package("cs") {
deps = [
":bin",
]
binaries = [
{
name = "cs"
shell = true
},
]
meta = [
{
path = rebase_path("meta/cs.cmx")
dest = "cs.cmx"
},
]
}