| # Copyright 2019 The Fuchsia Authors |
| # |
| # Use of this source code is governed by a MIT-style |
| # license that can be found in the LICENSE file or at |
| # https://opensource.org/licenses/MIT |
| |
| zx_library("counters") { |
| sdk = "source" |
| sdk_headers = [ |
| "lib/counters.h", |
| "lib/counters-vmo-abi.h", |
| ] |
| visibility = [ |
| "$zx/kernel/*", |
| "$zx/system/uapp/kcounter/*", |
| "$zx/system/ulib/*", |
| "$zx/system/ulib/kcounter/*", |
| "$zx/system/utest/kcounter/*", |
| ] |
| kernel = true |
| static = true |
| sources = [] |
| if (is_kernel) { |
| sources += [ "counters.cc" ] |
| } |
| } |