| # 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("//src/sys/build/components.gni") |
| |
| group("guest_runner") { |
| deps = [ ":guest-runner" ] |
| } |
| |
| executable("bin") { |
| output_name = "guest_runner" |
| |
| sources = [ "main.cc" ] |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.sys", |
| "//sdk/fidl/fuchsia.virtualization", |
| "//sdk/lib/sys/cpp", |
| "//sdk/lib/syslog/cpp", |
| "//src/virtualization/lib/guest_config", |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/async-loop:async-loop-default", |
| "//zircon/system/ulib/fs", |
| ] |
| } |
| |
| fuchsia_component("component") { |
| component_name = "guest_runner" |
| manifest = "meta/guest_runner.cmx" |
| |
| deps = [ ":bin" ] |
| } |
| |
| fuchsia_package("guest-runner") { |
| deps = [ ":component" ] |
| } |