// 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: [
        "tot_cronet_third_party_rust_cxxbridge_macro_v1_license",
    ],
}

// GN: License-Artificial
license {
    name: "tot_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__testing
rust_proc_macro {
    name: "libcxxbridge_macro__24775604789306ce",
    srcs: [
        "src/cfg.rs",
        "src/derive.rs",
        "src/expand.rs",
        "src/generics.rs",
        "src/lib.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/repr.rs",
        "src/syntax/resolve.rs",
        "src/syntax/set.rs",
        "src/syntax/signature.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__c9b74a82dac7abd8",
        "libbuild_srust_sallocator_callocator__005dbc46df2cb5b2",
        "libequivalent__1f91dc7100be641c",
        "libhashbrown__43017ced9378f53d",
        "libindexmap__56b3e83eb01f9790",
        "libproc_macro2__d957ddb2eb267eaf",
        "libquote__62704bfea487e463",
        "libsyn__11104b519a39d1d2",
        "libunicode_ident__df6840ce9d3a78ba",
    ],
    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
rust_proc_macro {
    name: "libcxxbridge_macro__4065570b4b928338",
    srcs: [
        "src/cfg.rs",
        "src/derive.rs",
        "src/expand.rs",
        "src/generics.rs",
        "src/lib.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/repr.rs",
        "src/syntax/resolve.rs",
        "src/syntax/set.rs",
        "src/syntax/signature.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__b3956dbf57d32035",
        "libbuild_srust_sallocator_callocator__f1643c64cea8f315",
        "libequivalent__64890b4e0786ec56",
        "libhashbrown__8974e15ad5e70571",
        "libindexmap__662838ef49cf438d",
        "libproc_macro2__20eacb95c0df0bdc",
        "libquote__60de3151f3dcc02e",
        "libsyn__15bed5acc529ae0f",
        "libunicode_ident__a7d0ec0588bafe5d",
    ],
    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",
            ],
        },
    },
}
