// Copyright (C) 2022 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// This file is automatically generated by gen_android_bp.py. Do not edit.

// GN: Package-Artificial
package {
    default_applicable_licenses: [
        "stable_cronet_third_party_rust_cxxbridge_macro_v1_license",
    ],
}

// GN: License-Artificial
license {
    name: "stable_cronet_third_party_rust_cxxbridge_macro_v1_license",
    visibility: [
        ":__subpackages__",
    ],
    license_text: [
        "LICENSE",
    ],
    license_kinds: [
        "SPDX-license-identifier-Apache-2.0",
    ],
}

// GN: //third_party/rust/cxxbridge_macro/v1:lib__proc_macro
rust_proc_macro {
    name: "libcxxbridge_macro__8b838448ab6792c1",
    srcs: [
        "src/clang.rs",
        "src/derive.rs",
        "src/expand.rs",
        "src/generics.rs",
        "src/lib.rs",
        "src/load.rs",
        "src/syntax/atom.rs",
        "src/syntax/attrs.rs",
        "src/syntax/cfg.rs",
        "src/syntax/check.rs",
        "src/syntax/derive.rs",
        "src/syntax/discriminant.rs",
        "src/syntax/doc.rs",
        "src/syntax/error.rs",
        "src/syntax/file.rs",
        "src/syntax/ident.rs",
        "src/syntax/impls.rs",
        "src/syntax/improper.rs",
        "src/syntax/instantiate.rs",
        "src/syntax/mangle.rs",
        "src/syntax/map.rs",
        "src/syntax/mod.rs",
        "src/syntax/names.rs",
        "src/syntax/namespace.rs",
        "src/syntax/parse.rs",
        "src/syntax/pod.rs",
        "src/syntax/primitive.rs",
        "src/syntax/qualified.rs",
        "src/syntax/report.rs",
        "src/syntax/resolve.rs",
        "src/syntax/set.rs",
        "src/syntax/symbol.rs",
        "src/syntax/tokens.rs",
        "src/syntax/toposort.rs",
        "src/syntax/trivial.rs",
        "src/syntax/types.rs",
        "src/syntax/visit.rs",
        "src/tokens.rs",
        "src/type_id.rs",
    ],
    apex_available: [
        "com.android.tethering",
    ],
    min_sdk_version: "30",
    visibility: [
        "//external/cronet:__subpackages__",
    ],
    crate_name: "cxxbridge_macro",
    crate_root: "src/lib.rs",
    rustlibs: [
        "liballoc_error_handler_impl_ffi__3b9f01c4589c8bd7",
        "libbuild_srust_sallocator_callocator__bdce78c37c84e42d",
        "libequivalent__934d3c78f5a82836",
        "libhashbrown__dd1e74cbfb67797f",
        "libindexmap__a39b9e2b1f2c9337",
        "libproc_macro2__0418cd684967018e",
        "libquote__ca5df961ed34ce75",
        "libsyn__7a4a6cb2cd9c1736",
        "libunicode_ident__a1153d5327b26e9f",
    ],
    proc_macros: [
        "librustversion",
    ],
    target: {
        host: {
            compile_multilib: "64",
            edition: "2021",
            flags: [
                "-Cmetadata=cxxbridge_macro-1",
                "-Cforce-unwind-tables=yes",
                "-Crelocation-model=pic",
                "-Cdefault-linker-libraries",
                "-Clto=no",
                "-Copt-level=3",
                "-Cdebuginfo=1",
                "-Awarnings",
                "-Funsafe_code",
            ],
        },
    },
}

// GN: //third_party/rust/cxxbridge_macro/v1:lib__proc_macro__testing
rust_proc_macro {
    name: "libcxxbridge_macro__8d067828e3cef1a8",
    srcs: [
        "src/clang.rs",
        "src/derive.rs",
        "src/expand.rs",
        "src/generics.rs",
        "src/lib.rs",
        "src/load.rs",
        "src/syntax/atom.rs",
        "src/syntax/attrs.rs",
        "src/syntax/cfg.rs",
        "src/syntax/check.rs",
        "src/syntax/derive.rs",
        "src/syntax/discriminant.rs",
        "src/syntax/doc.rs",
        "src/syntax/error.rs",
        "src/syntax/file.rs",
        "src/syntax/ident.rs",
        "src/syntax/impls.rs",
        "src/syntax/improper.rs",
        "src/syntax/instantiate.rs",
        "src/syntax/mangle.rs",
        "src/syntax/map.rs",
        "src/syntax/mod.rs",
        "src/syntax/names.rs",
        "src/syntax/namespace.rs",
        "src/syntax/parse.rs",
        "src/syntax/pod.rs",
        "src/syntax/primitive.rs",
        "src/syntax/qualified.rs",
        "src/syntax/report.rs",
        "src/syntax/resolve.rs",
        "src/syntax/set.rs",
        "src/syntax/symbol.rs",
        "src/syntax/tokens.rs",
        "src/syntax/toposort.rs",
        "src/syntax/trivial.rs",
        "src/syntax/types.rs",
        "src/syntax/visit.rs",
        "src/tokens.rs",
        "src/type_id.rs",
    ],
    apex_available: [
        "com.android.tethering",
    ],
    min_sdk_version: "30",
    visibility: [
        "//external/cronet:__subpackages__",
    ],
    crate_name: "cxxbridge_macro",
    crate_root: "src/lib.rs",
    rustlibs: [
        "liballoc_error_handler_impl_ffi__a8f2a8c3556afc73",
        "libbuild_srust_sallocator_callocator__7cdacf0652be04b1",
        "libequivalent__4afaab7807879527",
        "libhashbrown__4a37b06da06c343a",
        "libindexmap__015edb36d386eaee",
        "libproc_macro2__9500a1d33b311508",
        "libquote__a68b574aa1e07ec9",
        "libsyn__dc2376f007a6ca68",
        "libunicode_ident__e80fc83406d421ec",
    ],
    proc_macros: [
        "librustversion",
    ],
    target: {
        host: {
            compile_multilib: "64",
            edition: "2021",
            flags: [
                "-Cmetadata=cxxbridge_macro-1",
                "-Cforce-unwind-tables=yes",
                "-Crelocation-model=pic",
                "-Cdefault-linker-libraries",
                "-Clto=no",
                "-Copt-level=3",
                "-Cdebuginfo=1",
                "-Awarnings",
                "-Funsafe_code",
            ],
        },
    },
}
