| # 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") | |
| # TODO(https://fxbug.dev/570694755): Migrate `:example` to Bazel once its | |
| # subpackage `//src/memory/heapdump/collector`, CML shard | |
| # `//sdk/lib/heapdump_instrumentation`, and GN consumer | |
| # `//src/developer/ffx/plugins/profile/heapdump:product_bundle` are ready. | |
| fuchsia_package_with_single_component("example") { | |
| package_name = "heapdump-example" | |
| manifest = "meta/example.cml" | |
| deps = [ ":bin" ] | |
| subpackages = [ "//src/memory/heapdump/collector" ] | |
| } | |
| ## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ## | |
| # | |
| # ________ _________ ________ ________ | |
| # |\ ____\|\___ ___\\ __ \|\ __ \ | |
| # \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \ | |
| # \ \_____ \ \ \ \ \ \ \\\ \ \ ____\ | |
| # \|____|\ \ \ \ \ \ \ \\\ \ \ \___| | |
| # ____\_\ \ \ \__\ \ \_______\ \__\ | |
| # |\_________\ \|__| \|_______|\|__| | |
| # \|_________| | |
| # | |
| # | |
| # AUTO-GENERATED - DO NOT EDIT | |
| # | |
| # The targets below are auto-generated based on the targets defined in the | |
| # BUILD.bazel file from the same directory. If you made changes to targets in | |
| # Bazel, instead of editing this file manually, run: | |
| # | |
| # > fx bazel2gn | |
| # | |
| # Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and | |
| # rerun bazel2gn. | |
| import("//build/tools/bazel2gn/bazel_migration.gni") | |
| executable("bin") { | |
| sources = [ "main.c" ] | |
| output_name = "heapdump-example" | |
| deps = [ "//src/memory/heapdump/instrumentation" ] | |
| } |