blob: a9354e10bc7ba886536c8c2e6dad1a3031f2a6a2 [file] [log] [blame]
# 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("//build/zircon/migrated_targets.gni")
zx_library("pretty") {
sdk = "static"
sdk_headers = [
"pretty/hexdump.h",
"pretty/sizes.h",
]
sdk_migrated = true
kernel = true
host = true
static = true
sources = [
"hexdump.cc",
"sizes.cc",
]
public_deps = [ "$zx/system/ulib/zircon-internal:headers" ]
if (is_kernel && toolchain.environment != "kernel") {
deps = [ "$zx/kernel/lib/libc" ]
}
# TODO(fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "$zx_build_config:Wno-conversion" ]
}
group("tests") {
testonly = true
deps = [ "test:tests" ]
}