blob: e6a1afe2dc567afa400c09fc45c8fe80e45e769c [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/rust/rustc_binary.gni")
import("//build/package.gni")
package("hello") {
deps = [
":hello_bin",
]
binary = "rust_crates/hello"
meta = [
{
path = rebase_path("meta/hello.cmx")
dest = "hello.cmx"
},
]
}
rustc_binary("hello_bin") {
name = "hello"
with_unit_tests = true
edition = "2018"
deps = [
"//garnet/public/fidl/fuchsia.net.oldhttp:fuchsia.net.oldhttp-rustc",
"//garnet/public/fidl/fuchsia.game.tennis:fuchsia.game.tennis-rustc",
"//garnet/public/lib/fidl/rust/fidl",
"//garnet/public/rust/crates/fuchsia-app",
"//garnet/public/rust/crates/fuchsia-async",
"//garnet/public/rust/crates/fuchsia-syslog",
"//garnet/public/rust/crates/fuchsia-zircon",
"//third_party/rust-crates/rustc_deps:failure",
"//third_party/rust-crates/rustc_deps:futures-preview",
"//third_party/rust-crates/rustc_deps:parking_lot",
]
}