blob: 2f392f60b71535af175da3400cc4843640752d97 [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("zx-panic-libc") {
sdk = "source"
sdk_headers = []
sources = [ "zx_panic_libc.cc" ]
}
source_set("as_source") {
visibility = [ "//zircon/system/ulib/c:*" ]
sources = [ "zx_panic_libc.cc" ]
public_deps = [ "//zircon/system/public" ]
# This library is linked into libc, which is used by libfuzzer.
# Don't instrument it to avoid getting noise in code coverage.
# TODO(https://fxbug.dev/42099340): Once a cleaner solution is found, remove this.
configs += [ "//build/config/zircon:no_fuzzer" ]
}