1# Copyright 2023 The Chromium Authors 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5# @generated from third_party/rust/chromium_crates_io/BUILD.gn.hbs by 6# tools/crates/gnrt. 7# Do not edit! 8 9import("//build/rust/cargo_crate.gni") 10 11cargo_crate("lib") { 12 crate_name = "lazy_static" 13 epoch = "1" 14 crate_type = "rlib" 15 crate_root = "//third_party/rust/chromium_crates_io/vendor/lazy_static-1.4.0/src/lib.rs" 16 sources = [ 17 "//third_party/rust/chromium_crates_io/vendor/lazy_static-1.4.0/src/core_lazy.rs", 18 "//third_party/rust/chromium_crates_io/vendor/lazy_static-1.4.0/src/inline_lazy.rs", 19 "//third_party/rust/chromium_crates_io/vendor/lazy_static-1.4.0/src/lib.rs", 20 ] 21 inputs = [] 22 23 build_native_rust_unit_tests = false 24 edition = "2015" 25 cargo_pkg_version = "1.4.0" 26 cargo_pkg_authors = "Marvin Löbel <[email protected]>" 27 cargo_pkg_name = "lazy_static" 28 cargo_pkg_description = 29 "A macro for declaring lazily evaluated statics in Rust." 30 library_configs -= [ "//build/config/compiler:chromium_code" ] 31 library_configs += [ "//build/config/compiler:no_chromium_code" ] 32 executable_configs -= [ "//build/config/compiler:chromium_code" ] 33 executable_configs += [ "//build/config/compiler:no_chromium_code" ] 34 proc_macro_configs -= [ "//build/config/compiler:chromium_code" ] 35 proc_macro_configs += [ "//build/config/compiler:no_chromium_code" ] 36} 37