blob: 1c32583953a61a8b649d226b4c87d55bc79ad8c5 [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")
group("example_ai") {
testonly = true
deps = [
":tennis_example_ai",
":tennis_example_ai_bin",
]
}
package("tennis_example_ai") {
deps = [
":tennis_example_ai_bin",
]
binary = "rust_crates/tennis_example_ai"
meta = [
{
path = rebase_path("meta/tennis_example_ai.cmx")
dest = "tennis_example_ai.cmx"
},
]
}
rustc_binary("tennis_example_ai_bin") {
name = "tennis_example_ai"
edition = "2018"
deps = [
"//garnet/public/lib/fidl/rust/fidl",
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-component",
"//garnet/public/rust/fuchsia-syslog",
"//garnet/public/rust/fuchsia-zircon",
"//sdk/fidl/fuchsia.game.tennis:fuchsia.game.tennis-rustc",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:futures-preview",
"//third_party/rust_crates:parking_lot",
]
}