blob: 80cf8665672b0d345f3b497fedd9135120c43ed9 [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/package.gni")
package("kcounter_inspect") {
binaries = [
{
name = "kcounter_inspect"
shell = true
},
]
meta = [
{
path = "meta/kcounter_inspect.cmx"
dest = "kcounter_inspect.cmx"
},
]
deps = [ ":main" ]
}
source_set("lib") {
sources = [
"vmo_file_with_update.cc",
"vmo_file_with_update.h",
]
public_deps = [
"//sdk/fidl/fuchsia.kernel",
"//sdk/lib/vfs/cpp",
"//zircon/public/lib/zx",
]
}
executable("main") {
output_name = "kcounter_inspect"
sources = [ "main.cc" ]
deps = [
":lib",
"//sdk/fidl/fuchsia.kernel",
"//sdk/lib/sys/cpp",
"//sdk/lib/sys/inspect/cpp",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
]
}