blob: 1196a9d25944cd3db5de07c3481341186b707bf6 [file] [log] [blame]
# Copyright 2020 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.
# DO NOT EDIT. THIS FILE IS GENERATED BY CARGO GNAW. EDIT THE CARGO TOML FILE
import("//build/licenses/license.gni")
gn_source_root = rebase_path("//", root_build_dir)
not_needed([ "gn_source_root" ])
if (current_cpu == "arm64" && current_os == "mac") {
group("anyhow") {
public_deps = [ ":anyhow-v1_0_27" ]
}
}
if (current_os == "fuchsia") {
group("anyhow") {
public_deps = [ ":anyhow-v1_0_27" ]
}
}
license("anyhow-v1_0_27.license") {
public_package_name = "anyhow"
license_files = [
"//platform_deps/vendor/anyhow/LICENSE-APACHE",
"//platform_deps/vendor/anyhow/LICENSE-MIT",
]
}
rust_library("anyhow-v1_0_27") {
crate_name = "anyhow"
crate_root = "//platform_deps/vendor/anyhow/src/lib.rs"
output_name = "anyhow-d49cfcf8c47646f2"
if (current_os == "fuchsia") {
configs += [ "//build/config/fuchsia:libunwind" ]
}
deps = []
rustenv = []
rustflags = [
"--cap-lints=allow",
"--edition=2018",
"-Cmetadata=d49cfcf8c47646f2",
"-Cextra-filename=-d49cfcf8c47646f2",
"--cfg=feature=\"default\"",
"--cfg=feature=\"std\"",
"--cfg=backtrace",
]
visibility = [ ":*" ]
applicable_licenses = [ ":anyhow-v1_0_27.license" ]
}