// 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_syn_v2_license",
    ],
}

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

// GN: //third_party/rust/syn/v2:lib__testing
rust_ffi_static {
    name: "libsyn__11104b519a39d1d2",
    srcs: [
        "src/attr.rs",
        "src/bigint.rs",
        "src/buffer.rs",
        "src/classify.rs",
        "src/custom_keyword.rs",
        "src/custom_punctuation.rs",
        "src/data.rs",
        "src/derive.rs",
        "src/discouraged.rs",
        "src/drops.rs",
        "src/error.rs",
        "src/export.rs",
        "src/expr.rs",
        "src/ext.rs",
        "src/file.rs",
        "src/fixup.rs",
        "src/gen/clone.rs",
        "src/gen/debug.rs",
        "src/gen/eq.rs",
        "src/gen/fold.rs",
        "src/gen/hash.rs",
        "src/gen/visit.rs",
        "src/gen/visit_mut.rs",
        "src/generics.rs",
        "src/group.rs",
        "src/ident.rs",
        "src/item.rs",
        "src/lib.rs",
        "src/lifetime.rs",
        "src/lit.rs",
        "src/lookahead.rs",
        "src/mac.rs",
        "src/macros.rs",
        "src/meta.rs",
        "src/op.rs",
        "src/parse.rs",
        "src/parse_macro_input.rs",
        "src/parse_quote.rs",
        "src/pat.rs",
        "src/path.rs",
        "src/precedence.rs",
        "src/print.rs",
        "src/punctuated.rs",
        "src/restriction.rs",
        "src/scan_expr.rs",
        "src/sealed.rs",
        "src/span.rs",
        "src/spanned.rs",
        "src/stmt.rs",
        "src/thread.rs",
        "src/token.rs",
        "src/tt.rs",
        "src/ty.rs",
        "src/verbatim.rs",
        "src/whitespace.rs",
    ],
    host_supported: true,
    host_cross_supported: false,
    device_supported: false,
    apex_available: [
        "com.android.tethering",
    ],
    min_sdk_version: "30",
    visibility: [
        "//external/cronet:__subpackages__",
    ],
    crate_name: "syn",
    crate_root: "src/lib.rs",
    rustlibs: [
        "liballoc_error_handler_impl_ffi__c9b74a82dac7abd8",
        "libbuild_srust_sallocator_callocator__005dbc46df2cb5b2",
        "libproc_macro2__d957ddb2eb267eaf",
        "libquote__62704bfea487e463",
        "libunicode_ident__df6840ce9d3a78ba",
    ],
    target: {
        host: {
            compile_multilib: "64",
            edition: "2021",
            features: [
                "clone-impls",
                "default",
                "derive",
                "extra-traits",
                "fold",
                "full",
                "parsing",
                "printing",
                "proc-macro",
                "visit",
            ],
            flags: [
                "-Cmetadata=syn-2",
                "-Cforce-unwind-tables=yes",
                "-Crelocation-model=pic",
                "-Cdefault-linker-libraries",
                "-Clto=no",
                "-Copt-level=3",
                "-Cdebuginfo=1",
                "-Awarnings",
            ],
        },
    },
}

// GN: //third_party/rust/syn/v2:lib
rust_ffi_static {
    name: "libsyn__15bed5acc529ae0f",
    srcs: [
        "src/attr.rs",
        "src/bigint.rs",
        "src/buffer.rs",
        "src/classify.rs",
        "src/custom_keyword.rs",
        "src/custom_punctuation.rs",
        "src/data.rs",
        "src/derive.rs",
        "src/discouraged.rs",
        "src/drops.rs",
        "src/error.rs",
        "src/export.rs",
        "src/expr.rs",
        "src/ext.rs",
        "src/file.rs",
        "src/fixup.rs",
        "src/gen/clone.rs",
        "src/gen/debug.rs",
        "src/gen/eq.rs",
        "src/gen/fold.rs",
        "src/gen/hash.rs",
        "src/gen/visit.rs",
        "src/gen/visit_mut.rs",
        "src/generics.rs",
        "src/group.rs",
        "src/ident.rs",
        "src/item.rs",
        "src/lib.rs",
        "src/lifetime.rs",
        "src/lit.rs",
        "src/lookahead.rs",
        "src/mac.rs",
        "src/macros.rs",
        "src/meta.rs",
        "src/op.rs",
        "src/parse.rs",
        "src/parse_macro_input.rs",
        "src/parse_quote.rs",
        "src/pat.rs",
        "src/path.rs",
        "src/precedence.rs",
        "src/print.rs",
        "src/punctuated.rs",
        "src/restriction.rs",
        "src/scan_expr.rs",
        "src/sealed.rs",
        "src/span.rs",
        "src/spanned.rs",
        "src/stmt.rs",
        "src/thread.rs",
        "src/token.rs",
        "src/tt.rs",
        "src/ty.rs",
        "src/verbatim.rs",
        "src/whitespace.rs",
    ],
    host_supported: true,
    host_cross_supported: false,
    device_supported: false,
    apex_available: [
        "com.android.tethering",
    ],
    min_sdk_version: "30",
    visibility: [
        "//external/cronet:__subpackages__",
    ],
    crate_name: "syn",
    crate_root: "src/lib.rs",
    rustlibs: [
        "liballoc_error_handler_impl_ffi__b3956dbf57d32035",
        "libbuild_srust_sallocator_callocator__f1643c64cea8f315",
        "libproc_macro2__20eacb95c0df0bdc",
        "libquote__60de3151f3dcc02e",
        "libunicode_ident__a7d0ec0588bafe5d",
    ],
    target: {
        host: {
            compile_multilib: "64",
            edition: "2021",
            features: [
                "clone-impls",
                "default",
                "derive",
                "extra-traits",
                "fold",
                "full",
                "parsing",
                "printing",
                "proc-macro",
                "visit",
            ],
            flags: [
                "-Cmetadata=syn-2",
                "-Cforce-unwind-tables=yes",
                "-Crelocation-model=pic",
                "-Cdefault-linker-libraries",
                "-Clto=no",
                "-Copt-level=3",
                "-Cdebuginfo=1",
                "-Awarnings",
            ],
        },
    },
}
