blob: 6d3fb7a91e58df2eca573618aa996b6af6fb4906 [file] [log] [blame]
# Copyright 2023 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
import("//build/cpp/library_headers.gni")
library_headers("headers") {
headers = []
public_deps = [
"//src/performance/lib/fxt:headers",
"//zircon/kernel/object:headers",
]
}
static_library("thread_sampler") {
public_deps = [ ":headers" ]
sources = [
"buffer_writer.cc",
"per_cpu_state.cc",
"thread_sampler.cc",
]
deps = [
"//sdk/lib/fit",
"//src/performance/lib/fxt",
"//zircon/kernel/lib/boot-options",
"//zircon/kernel/lib/init",
]
}
group("tests") {
testonly = true
}
group("kernel-tests") {
# TODO: testonly = true
deps = [ "tests" ]
}
group("phys-tests") {
testonly = true
}
group("boot_tests") {
testonly = true
}