chromium/third_party/rust/serde_json/v1/BUILD.gn

# 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 = "serde_json"
  epoch = "1"
  crate_type = "rlib"
  crate_root = "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lib.rs"
  sources = [
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/de.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/error.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/io/core.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/io/mod.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/iter.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/algorithm.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/bhcomp.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/bignum.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/cached.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/cached_float80.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/digit.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/errors.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/exponent.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/float.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/large_powers.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/large_powers32.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/large_powers64.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/math.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/mod.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/num.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/parse.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/rounding.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/shift.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lexical/small_powers.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/lib.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/macros.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/map.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/number.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/raw.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/read.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/ser.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/value/de.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/value/from.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/value/index.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/value/mod.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/value/partial_eq.rs",
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/src/value/ser.rs",
  ]
  inputs = []

  build_native_rust_unit_tests = false
  edition = "2021"
  cargo_pkg_version = "1.0.127"
  cargo_pkg_authors = "Erick Tryzelaar <[email protected]>, David Tolnay <[email protected]>"
  cargo_pkg_name = "serde_json"
  cargo_pkg_description = "A JSON serialization file format"
  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/itoa/v1:lib",
    "//third_party/rust/memchr/v2:lib",
    "//third_party/rust/ryu/v1:lib",
    "//third_party/rust/serde/v1:lib",
  ]
  features = [ "std" ]
  build_root =
      "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/build.rs"
  build_sources = [
    "//third_party/rust/chromium_crates_io/vendor/serde_json-1.0.127/build.rs",
  ]

  testonly = true
}