| # 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("tennis_manual_player") { |
| deps = [ |
| ":tennis_manual_player_bin", |
| ] |
| binary = "rust_crates/tennis_manual_player" |
| meta = [ |
| { |
| path = rebase_path("meta/tennis_manual_player.cmx") |
| dest = "tennis_manual_player.cmx" |
| }, |
| ] |
| } |
| rustc_binary("tennis_manual_player_bin") { |
| name = "tennis_manual_player" |
| edition = "2018" |
| source_root = "src/main.rs" |
| deps = [ |
| "//garnet/public/fidl/fuchsia.game.tennis:fuchsia.game.tennis-rustc", |
| "//garnet/public/lib/fidl/rust/fidl", |
| "//garnet/public/rust/fuchsia-app", |
| "//garnet/public/rust/fuchsia-async", |
| "//garnet/public/rust/fuchsia-syslog", |
| "//garnet/public/rust/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", |
| ] |
| } |