| # 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. | |
| group("tests") { | |
| testonly = true | |
| deps = [ ":utf8_path_test" ] | |
| } | |
| ## 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("utf8_path") { | |
| sources = [ | |
| "src/lib.rs", | |
| "src/path_to_string.rs", | |
| "src/paths.rs", | |
| ] | |
| edition = "2024" | |
| assert_no_deps = [ | |
| "//third_party/rust_crates:regex", | |
| "//third_party/rust_crates:serde", | |
| "//third_party/rust_crates:serde_json", | |
| "//third_party/rust_crates:serde_json5", | |
| ] | |
| visibility = [ | |
| ":*", | |
| "//src/developer/ffx/plugins/*", | |
| "//src/lib/assembly/*", | |
| "//src/sys/pkg/lib/fuchsia-pkg:*", | |
| ] | |
| with_unit_tests = true | |
| deps = [ | |
| "//third_party/rust_crates:anyhow", | |
| "//third_party/rust_crates:camino", | |
| "//third_party/rust_crates:pathdiff", | |
| ] | |
| } |