| # Copyright 2023 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/components.gni") |
| |
| executable("bin") { |
| output_name = "example_trace_provider" |
| |
| sources = [ "main.cc" ] |
| |
| deps = [ |
| "//sdk/lib/syslog/cpp", |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/async-loop:async-loop-default", |
| "//zircon/system/ulib/trace", |
| "//zircon/system/ulib/trace-provider", |
| ] |
| } |
| |
| fuchsia_package_with_single_component("example_trace_provider") { |
| manifest = "meta/example_trace_provider.cml" |
| deps = [ ":bin" ] |
| } |