blob: c2e39f072f95f971589e245f20a756fbf0dd794b [file] [log] [blame]
# Copyright 2018 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/host.gni")
group("print") {
testonly = true
deps = [
":cpuperf_print",
":host_cpuperf_print",
"tests",
]
}
# TODO(dje): At the moment it only runs on linux or macos.
executable("cpuperf_print") {
sources = [
"main.cc",
"printer_config.cc",
"printer_config.h",
"raw_printer.cc",
"raw_printer.h",
]
deps = [
"//src/lib/debugger_utils",
"//src/lib/fxl",
"//src/performance/cpuperf:session_result_spec",
"//src/performance/lib/perfmon",
]
}
install_host_tools("host_cpuperf_print") {
deps = [ ":cpuperf_print" ]
outputs = [ "cpuperf_print" ]
}
group("tests") {
testonly = true
deps = [ "tests" ]
}