blob: 1d307ef0224f695f23d359426368628f16419ee4 [file]
# 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/components.gni")
import("//build/host.gni")
import("//build/sdk/sdk_host_tool.gni")
executable("bin") {
output_name = "far"
sources = [ "main.cc" ]
deps = [
"//src/lib/fxl:fxl_cli",
"//src/sys/pkg/lib/far/cpp:far",
]
}
if (is_host) {
sdk_host_tool("bin_sdk") {
category = "partner"
output_name = "far"
deps = [ ":bin" ]
}
} else {
fuchsia_package("far") {
deps = [ ":bin" ]
}
}
install_host_tools("host") {
deps = [ ":bin" ]
outputs = [ "far" ]
}