# Copyright 2016 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/package.gni") | |
executable("bin") { | |
output_name = "cowsay" | |
sources = [ "cowsay.c" ] | |
# TODO(fxbug.dev/58162): delete the below and fix compiler warnings | |
configs += [ "//build/config:Wno-conversion" ] | |
} | |
package("cowsay") { | |
deps = [ ":bin" ] | |
binaries = [ | |
{ | |
name = "cowsay" | |
shell = true | |
}, | |
] | |
} |