blob: f1b12f6f86961e8ad4b7b3372611f0cec84ba26b [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.
##########################################
# Though under //zircon, this build file #
# is meant to be used in the Fuchsia GN #
# build. #
# See fxb/36548. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
import("//build/unification/zx_library.gni")
zx_library("kcounter") {
sdk = "source"
sdk_headers = [ "lib/kcounter/provider.h" ]
sources = [
"kcounter.cc",
"provider.cc",
]
deps = [
"//sdk/fidl/fuchsia.kernel:fuchsia.kernel_c",
"//zircon/public/lib/counters",
"//zircon/public/lib/fbl",
"//zircon/public/lib/fdio",
"//zircon/public/lib/fidl",
"//zircon/public/lib/fidl-async",
"//zircon/public/lib/fs",
"//zircon/public/lib/fzl",
"//zircon/public/lib/inspect",
"//zircon/public/lib/zx",
"//zircon/system/ulib/svc",
]
}