| # 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 = "heapdump-example" |
| sources = [ "main.c" ] |
| deps = [ "//src/performance/memory/heapdump/instrumentation" ] |
| } |
| |
| fuchsia_package_with_single_component("example") { |
| package_name = "heapdump-example" |
| manifest = "meta/example.cml" |
| deps = [ ":bin" ] |
| subpackages = [ "//src/performance/memory/heapdump/collector" ] |
| } |