| # 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/assembly/bootfs_files_for_assembly.gni") |
| |
| executable("ktrace") { |
| visibility = [ |
| ":*", |
| "//build/images/zedboot:*", |
| ] |
| sources = [ "ktrace.cc" ] |
| deps = [ |
| "//sdk/fidl/fuchsia.tracing.kernel:fuchsia.tracing.kernel_hlcpp", |
| "//sdk/lib/sys/cpp", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/zx", |
| ] |
| } |
| |
| bootfs_files_for_assembly("bootfs") { |
| deps = [ ":ktrace" ] |
| } |