# Copyright 2023 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# @generated from third_party/rust/chromium_crates_io/BUILD.gn.hbs by
# tools/crates/gnrt.
# Do not edit!
import("//build/rust/cargo_crate.gni")
cargo_crate("lib") {
crate_name = "cxx"
epoch = "1"
crate_type = "rlib"
crate_root =
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/lib.rs"
sources = [
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/cxx_string.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/cxx_vector.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/exception.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/extern_type.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/fmt.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/function.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/hash.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/lib.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/lossy.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/macros/assert.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/macros/mod.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/memory.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/opaque.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/result.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/rust_slice.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/rust_str.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/rust_string.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/rust_type.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/rust_vec.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/shared_ptr.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/sip.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/symbols/exception.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/symbols/mod.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/symbols/rust_slice.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/symbols/rust_str.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/symbols/rust_string.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/symbols/rust_vec.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/type_id.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/unique_ptr.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/unwind.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/vector.rs",
"//third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/src/weak_ptr.rs",
]
inputs = []
build_native_rust_unit_tests = false
edition = "2021"
cargo_pkg_version = "1.0.126"
cargo_pkg_authors = "David Tolnay <[email protected]>"
cargo_pkg_name = "cxx"
cargo_pkg_description = "Safe interop between Rust and C++"
library_configs -= [ "//build/config/compiler:chromium_code" ]
library_configs += [ "//build/config/compiler:no_chromium_code" ]
executable_configs -= [ "//build/config/compiler:chromium_code" ]
executable_configs += [ "//build/config/compiler:no_chromium_code" ]
proc_macro_configs -= [ "//build/config/compiler:chromium_code" ]
proc_macro_configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [ "//third_party/rust/cxxbridge_macro/v1:lib" ]
build_deps = [ "//third_party/rust/cxxbridge_flags/v1:buildrs_support" ]
features = [
"alloc",
"std",
]
}