blob: 06b567ee0e9a457881a34dc84194738574ae62eb [file] [log] [blame]
# 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/package.gni")
import("//build/sdk/sdk_host_tool.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" ]
}
package("far") {
deps = [ ":bin" ]
binaries = [
{
shell = true
name = "far"
},
]
}
install_host_tools("host") {
deps = [ ":bin" ]
outputs = [ "far" ]
}