blob: 2b681ba0de94729f019619fa06912789118669a5 [file] [log] [blame]
# Copyright 2019 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/components.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("mediasession_cli_tool_bin") {
name = "mediasession_cli_tool"
edition = "2021"
with_unit_tests = true
deps = [
"//sdk/fidl/fuchsia.media.sessions2:fuchsia.media.sessions2_rust",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:argh",
"//third_party/rust_crates:futures",
]
sources = [ "src/main.rs" ]
}
fuchsia_package("mediasession_cli_tool") {
deps = [ ":mediasession_cli_tool_bin" ]
}