# Copyright 2019 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("zx_binary.gni") | |
template("zx_host_tool") { | |
if (is_fuchsia) { | |
zx_binary(target_name) { | |
forward_variables_from(invoker, "*") | |
type = "host_tool" | |
prefix = "bin" | |
} | |
} else { | |
host_tool(target_name) { | |
forward_variables_from(invoker, "*") | |
} | |
} | |
} |