| # Copyright 2017 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/host.gni") |
| import("//build/sdk/sdk_host_tool.gni") |
| import("//src/sys/build/components.gni") |
| |
| executable("bin") { |
| output_name = "far" |
| |
| sources = [ "main.cc" ] |
| |
| deps = [ |
| "//src/lib/fxl", |
| "//src/sys/pkg/lib/far/cpp:far", |
| ] |
| } |
| |
| sdk_host_tool("bin_sdk") { |
| category = "partner" |
| output_name = "far" |
| deps = [ ":bin" ] |
| } |
| |
| fuchsia_shell_package("far") { |
| deps = [ ":bin" ] |
| } |
| |
| install_host_tools("host") { |
| deps = [ ":bin" ] |
| outputs = [ "far" ] |
| } |