# 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 = "core_foundation_sys" epoch = "0.8" enabled = is_ios || is_mac crate_type = "rlib" crate_root = "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/lib.rs" sources = [ "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/array.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/attributed_string.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/bag.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/base.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/binary_heap.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/bit_vector.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/bundle.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/calendar.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/characterset.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/data.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/date.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/date_formatter.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/dictionary.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/error.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/file_security.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/filedescriptor.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/lib.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/locale.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/mach_port.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/messageport.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/notification_center.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/number.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/number_formatter.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/plugin.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/preferences.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/propertylist.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/runloop.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/set.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/socket.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/stream.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/string.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/string_tokenizer.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/timezone.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/tree.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/url.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/url_enumerator.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/user_notification.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/uuid.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/xml_node.rs", "//third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/src/xml_parser.rs", ] inputs = [] build_native_rust_unit_tests = false edition = "2018" cargo_pkg_authors = "The Servo Project Developers" cargo_pkg_name = "core-foundation-sys" cargo_pkg_description = "Bindings to Core Foundation for macOS" cargo_pkg_repository = "https://github.com/servo/core-foundation-rs" cargo_pkg_version = "0.8.7" allow_unsafe = true features = [ "default", "link", ] # Only for usage from third-party crates. Add the crate to # //third_party/rust/chromium_crates_io/Cargo.toml to use # it from first-party code. visibility = [ "//third_party/rust/*" ] ##################################################################### # Tweaking which GN `config`s apply to this target. # Config changes that apply to all `//third_party/rust` crates. _configs_to_remove = [ # We don't need code coverage data for any `chromium_crates_io` crates. "//build/config/coverage:default_coverage", # This is third-party code, so remove `chromium_code` config. We are not # at the same time adding `//build/config/compiler:no_chromium_code`, # because 1) we don't want to pull how warnings are handled by that config # and 2) that config doesn't have any non-warnings-related stuff. "//build/config/compiler:chromium_code", ] _configs_to_add = [] # Changing (if needed) which configs apply to this specific crate (based on # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from # `gnrt_config.toml`). _configs_to_remove += [] _configs_to_add += [] # Applying config changes. library_configs -= _configs_to_remove library_configs += _configs_to_add executable_configs -= _configs_to_remove executable_configs += _configs_to_add proc_macro_configs -= _configs_to_remove proc_macro_configs += _configs_to_add }