blob: 52d1cdc68cc482147f1f6701c3a128cb426ffd40 [file]
# 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.
if (is_host) {
group("emulator_instance") {
testonly = true
deps = [
":lib",
":tests",
]
}
}
group("tests") {
testonly = true
deps = [ ":lib_test($host_toolchain)" ]
}
## 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")
if (is_host) {
rustc_library("lib") {
sources = [
"src/enumerations.rs",
"src/fletcher64.rs",
"src/instances.rs",
"src/lib.rs",
"src/targets.rs",
]
crate_name = "emulator_instance"
edition = "2024"
test_deps = [ "//third_party/rust_crates:tempfile" ]
version = "0.1.0"
visibility = [
":*",
"//src/developer/ffx/*",
]
with_unit_tests = true
deps = [
"//build/sdk/meta:rust",
"//src/developer/ffx/lib/process:lib",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:byteorder",
"//third_party/rust_crates:log",
"//third_party/rust_crates:schemars",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:thiserror",
]
}
}