chromium/third_party/rust/cxxbridge_cmd/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("cxxbridge") {
  crate_type = "bin"
  crate_root = "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/main.rs"
  sources = [
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/app.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/cfg.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/block.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/builtin.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/cfg.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/check.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/error.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/file.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/fs.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/ifndef.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/include.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/mod.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/names.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/namespace.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/nested.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/out.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/write.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/main.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/output.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/atom.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/attrs.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/cfg.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/check.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/derive.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/discriminant.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/doc.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/error.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/file.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/ident.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/impls.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/improper.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/instantiate.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/mangle.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/map.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/mod.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/names.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/namespace.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/parse.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/pod.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/qualified.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/report.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/resolve.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/set.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/symbol.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/tokens.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/toposort.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/trivial.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/types.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/syntax/visit.rs",
    "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/test.rs",
  ]
  inputs = [ "//third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/include/cxx.h" ]

  build_native_rust_unit_tests = false
  edition = "2021"
  cargo_pkg_version = "1.0.126"
  cargo_pkg_authors = "David Tolnay <[email protected]>"
  cargo_pkg_name = "cxxbridge-cmd"
  cargo_pkg_description =
      "C++ code generator for integrating `cxx` crate into a non-Cargo build."
  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/v4:lib",
    "//third_party/rust/codespan_reporting/v0_11:lib",
    "//third_party/rust/proc_macro2/v1:lib",
    "//third_party/rust/quote/v1:lib",
    "//third_party/rust/syn/v2:lib",
  ]
}