# 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. | |
zx_library("pretty") { | |
sdk = "static" | |
sdk_headers = [ | |
"pretty/hexdump.h", | |
"pretty/sizes.h", | |
] | |
kernel = true | |
host = true | |
static = true | |
sources = [ | |
"hexdump.cc", | |
"sizes.cc", | |
] | |
deps = [ "$zx/system/ulib/zircon-internal:headers" ] | |
if (is_kernel && toolchain.environment != "kernel") { | |
deps += [ "$zx/kernel/lib/libc" ] | |
} | |
} |