chromium/third_party/rust/clap/v4/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 = "clap"
  epoch = "4"
  crate_type = "rlib"
  crate_root =
      "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/lib.rs"
  sources = [
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_cookbook/cargo_example.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_cookbook/cargo_example_derive.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_cookbook/escaped_positional.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_cookbook/escaped_positional_derive.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_cookbook/find.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_cookbook/git.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_cookbook/git_derive.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_cookbook/mod.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_cookbook/multicall_busybox.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_cookbook/multicall_hostname.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_cookbook/pacman.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_cookbook/repl.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_cookbook/repl_derive.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_cookbook/typed_derive.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_derive/_tutorial/chapter_0.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_derive/_tutorial/chapter_1.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_derive/_tutorial/chapter_2.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_derive/_tutorial/chapter_3.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_derive/_tutorial/chapter_4.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_derive/_tutorial/chapter_5.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_derive/_tutorial/mod.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_derive/mod.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_faq.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_features.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_tutorial/chapter_0.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_tutorial/chapter_1.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_tutorial/chapter_2.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_tutorial/chapter_3.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_tutorial/chapter_4.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_tutorial/chapter_5.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/_tutorial/mod.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/bin/stdio-fixture.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/lib.rs",
  ]
  inputs = [
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../README.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/README.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/cargo-example-derive.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/cargo-example-derive.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/cargo-example.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/cargo-example.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/demo.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/demo.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/derive_ref/augment_args.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/derive_ref/augment_subcommands.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/derive_ref/flatten_hand_args.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/derive_ref/hand_subcommand.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/derive_ref/interop_tests.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/escaped-positional-derive.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/escaped-positional-derive.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/escaped-positional.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/escaped-positional.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/find.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/find.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/git-derive.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/git-derive.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/git.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/git.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/multicall-busybox.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/multicall-busybox.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/multicall-hostname.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/multicall-hostname.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/pacman.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/pacman.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/repl-derive.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/repl.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/01_quick.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/01_quick.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/02_app_settings.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/02_app_settings.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/02_apps.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/02_apps.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/02_crate.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/02_crate.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/03_01_flag_bool.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/03_01_flag_bool.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/03_01_flag_count.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/03_01_flag_count.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/03_02_option.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/03_02_option.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/03_02_option_mult.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/03_02_option_mult.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/03_03_positional.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/03_03_positional.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/03_03_positional_mult.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/03_03_positional_mult.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/03_04_subcommands.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/03_04_subcommands.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/03_05_default_values.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/03_05_default_values.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/04_01_enum.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/04_01_enum.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/04_01_possible.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/04_01_possible.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/04_02_parse.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/04_02_parse.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/04_02_validate.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/04_02_validate.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/04_03_relations.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/04_03_relations.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/04_04_custom.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/04_04_custom.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_builder/05_01_assert.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/01_quick.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/01_quick.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/02_app_settings.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/02_app_settings.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/02_apps.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/02_apps.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/02_crate.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/02_crate.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_01_flag_bool.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_01_flag_bool.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_01_flag_count.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_01_flag_count.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_02_option.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_02_option.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_02_option_mult.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_02_option_mult.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_03_positional.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_03_positional.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_03_positional_mult.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_03_positional_mult.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_04_subcommands.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_04_subcommands.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_04_subcommands_alt.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_05_default_values.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/03_05_default_values.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/04_01_enum.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/04_01_enum.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/04_02_parse.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/04_02_parse.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/04_02_validate.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/04_02_validate.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/04_03_relations.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/04_03_relations.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/04_04_custom.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/04_04_custom.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/tutorial_derive/05_01_assert.rs",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/typed-derive.md",
    "//third_party/rust/chromium_crates_io/vendor/clap-4.5.16/src/../examples/typed-derive.rs",
  ]

  build_native_rust_unit_tests = false
  edition = "2021"
  cargo_pkg_version = "4.5.16"
  cargo_pkg_name = "clap"
  cargo_pkg_description = "A simple to use, efficient, and full-featured Command Line Argument Parser"
  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/clap_builder/v4:lib" ]
  features = [
    "error-context",
    "help",
    "std",
    "suggestions",
    "usage",
  ]

  # 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/*" ]
}