# 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 = "skrifa"
epoch = "0.20"
crate_type = "rlib"
crate_root =
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/lib.rs"
sources = [
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/attribute.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/charmap.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/collections.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/color/instance.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/color/mod.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/color/transform.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/color/traversal.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/color/traversal_tests/mod.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/color/traversal_tests/test_glyph_defs.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/font.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/instance.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/lib.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/metrics.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/autohint/cycling.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/autohint/latin.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/autohint/metrics.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/autohint/mod.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/autohint/outline.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/autohint/script.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/autohint/style.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/cff/hint.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/cff/mod.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/error.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/deltas.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/call_stack.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/cow_slice.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/cvt.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/definition.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/engine/arith.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/engine/control_flow.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/engine/cvt.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/engine/data.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/engine/definition.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/engine/delta.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/engine/dispatch.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/engine/graphics.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/engine/logical.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/engine/misc.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/engine/mod.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/engine/outline.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/engine/round.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/engine/stack.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/engine/storage.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/error.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/graphics.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/instance.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/math.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/mod.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/program.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/projection.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/round.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/storage.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/value_stack.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/hint/zone.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/memory.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/mod.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/glyf/outline.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/hint.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/mod.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/outline/unscaled.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/provider.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/setting.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/string.rs",
"//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/variation.rs",
]
inputs = [ "//third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/src/../generated/generated_autohint_scripts.rs" ]
build_native_rust_unit_tests = false
edition = "2021"
cargo_pkg_version = "0.20.0"
cargo_pkg_name = "skrifa"
cargo_pkg_description = "Metadata reader and glyph scaler for OpenType 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",
"//third_party/rust/read_fonts/v0_20:lib",
]
features = [
"std",
"traversal",
]
}