| # 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") |
| |
| rustc_binary("bin") { |
| name = "xi_core" |
| deps = [ |
| "//garnet/public/lib/fidl/rust/fidl:fidl-rustc", |
| "//garnet/public/lib/xi/fidl:fidl-rustc", |
| "//garnet/public/rust/crates/fuchsia-zircon:fuchsia-zircon-rustc", |
| "//garnet/public/rust/crates/fuchsia-app", |
| "//garnet/public/rust/crates/fuchsia-async:fuchsia-async-rustc", |
| "//garnet/public/rust/crates/mxruntime", |
| "//third_party/rust-crates/rustc_deps:byteorder", |
| "//third_party/rust-crates/rustc_deps:failure", |
| "//third_party/rust-crates/rustc_deps:futures", |
| "//third_party/rust-crates/rustc_deps:xi-core-lib", |
| "//third_party/rust-crates/rustc_deps:xi-rpc", |
| ] |
| } |
| |
| package("xi_core") { |
| deps = [ |
| ":bin", |
| ] |
| |
| binary = "xi_core" |
| |
| meta = [{ |
| path = rebase_path("//garnet/bin/appmgr/legacy_flat_exported_dir") |
| dest = "legacy_flat_exported_dir" |
| }] |
| } |