# 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. | |
executable("kilo") { | |
sources = [ | |
"kilo.c", | |
] | |
configs += [ ":config" ] | |
deps = [ | |
"$zx/system/fidl/fuchsia-hardware-pty:c", | |
"$zx/system/ulib/fdio", | |
] | |
} | |
config("config") { | |
visibility = [ ":*" ] | |
if (is_gcc) { | |
cflags_c = [ "-Wno-discarded-qualifiers" ] | |
} else { | |
cflags = [ "-Wno-incompatible-pointer-types-discards-qualifiers" ] | |
} | |
} |