| # 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") |
| |
| source_set("lib") { |
| visibility = [ ":*" ] |
| |
| sources = [ |
| "runner_impl.cc", |
| "runner_impl.h", |
| ] |
| |
| public_deps = [ |
| "//garnet/bin/guest/vmm/fidl:fuchsia.guest.vmm", |
| "//garnet/public/lib/component/cpp", |
| "//garnet/public/fidl/fuchsia.guest", |
| "//garnet/public/fidl/fuchsia.sys", |
| "//zircon/public/lib/async-loop-cpp", |
| ] |
| } |
| |
| executable("bin") { |
| output_name = "guest_runner" |
| |
| sources = [ |
| "main.cc", |
| ] |
| |
| deps = [ |
| ":lib", |
| ] |
| } |
| |
| package("guest_runner") { |
| binary = "guest_runner" |
| |
| deps = [ |
| ":bin", |
| ] |
| |
| meta = [ |
| { |
| path = rebase_path("//garnet/bin/guest/runner/meta/guest_runner.cmx") |
| dest = "guest_runner.cmx" |
| }, |
| ] |
| } |