blob: 08c3e7b46d3b12f0e0501134edebbe8a892e3efb [file]
# Copyright 2026 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.
## 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")
rustc_library("stacktrack_vmo") {
sources = [
"src/lib.rs",
"src/threads_table_v1.rs",
]
edition = "2024"
visibility = [
":*",
"//src/performance/memory/stacktrack/*",
]
deps = [
"//sdk/rust/zx",
"//src/performance/memory/memory_mapped_vmo",
"//third_party/rust_crates:static_assertions",
"//third_party/rust_crates:thiserror",
"//third_party/rust_crates:zerocopy",
]
}
if (is_fuchsia) {
rustc_test("stacktrack_vmo_test") {
sources = [
"src/lib.rs",
"src/threads_table_v1.rs",
]
edition = "2024"
deps = [
"//sdk/rust/zx",
"//src/performance/memory/memory_mapped_vmo",
"//third_party/rust_crates:static_assertions",
"//third_party/rust_crates:thiserror",
"//third_party/rust_crates:zerocopy",
] + [ "//third_party/rust_crates:itertools" ]
}
}
fuchsia_unittest_package("tests") {
package_name = "stacktrack-vmo-tests-gn"
component_name = "stacktrack-vmo-tests"
deps = [ ":stacktrack_vmo_test" ]
visibility = [
":*",
"//src/performance/memory/*",
]
}