# 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 = "font_types"
epoch = "0.6"
crate_type = "rlib"
crate_root =
"//third_party/rust/chromium_crates_io/vendor/font-types-0.6.0/src/lib.rs"
sources = [
"//third_party/rust/chromium_crates_io/vendor/font-types-0.6.0/src/bbox.rs",
"//third_party/rust/chromium_crates_io/vendor/font-types-0.6.0/src/fixed.rs",
"//third_party/rust/chromium_crates_io/vendor/font-types-0.6.0/src/fword.rs",
"//third_party/rust/chromium_crates_io/vendor/font-types-0.6.0/src/glyph_id.rs",
"//third_party/rust/chromium_crates_io/vendor/font-types-0.6.0/src/lib.rs",
"//third_party/rust/chromium_crates_io/vendor/font-types-0.6.0/src/longdatetime.rs",
"//third_party/rust/chromium_crates_io/vendor/font-types-0.6.0/src/name_id.rs",
"//third_party/rust/chromium_crates_io/vendor/font-types-0.6.0/src/offset.rs",
"//third_party/rust/chromium_crates_io/vendor/font-types-0.6.0/src/pen.rs",
"//third_party/rust/chromium_crates_io/vendor/font-types-0.6.0/src/point.rs",
"//third_party/rust/chromium_crates_io/vendor/font-types-0.6.0/src/raw.rs",
"//third_party/rust/chromium_crates_io/vendor/font-types-0.6.0/src/serde_test.rs",
"//third_party/rust/chromium_crates_io/vendor/font-types-0.6.0/src/tag.rs",
"//third_party/rust/chromium_crates_io/vendor/font-types-0.6.0/src/uint24.rs",
"//third_party/rust/chromium_crates_io/vendor/font-types-0.6.0/src/version.rs",
]
inputs = []
build_native_rust_unit_tests = false
edition = "2021"
cargo_pkg_version = "0.6.0"
cargo_pkg_name = "font-types"
cargo_pkg_description = "Scalar types used in fonts."
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/bytemuck/v1:lib" ]
features = [
"bytemuck",
"std",
]
}