| # 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/package.gni") |
| import("//build/rust/rustc_binary.gni") |
| |
| rustc_binary("element_proposer_bin") { |
| name = "element_proposer" |
| edition = "2018" |
| |
| deps = [ |
| "//garnet/public/lib/fidl/rust/fidl", |
| "//garnet/public/rust/fuchsia-async", |
| "//garnet/public/rust/fuchsia-component", |
| "//sdk/fidl/fuchsia.session:fuchsia.session-rustc", |
| "//third_party/rust_crates:failure", |
| ] |
| } |
| |
| package("element_proposer") { |
| deps = [ |
| ":element_proposer_bin", |
| ] |
| |
| meta = [ |
| { |
| path = rebase_path("meta/element_proposer.cml") |
| dest = "element_proposer.cm" |
| }, |
| ] |
| |
| binaries = [ |
| { |
| name = "element_proposer" |
| }, |
| ] |
| } |