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

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

// GN: //third_party/rust/serde_derive/v1:lib__proc_macro__testing
rust_proc_macro {
    name: "libserde_derive__27402fda8f6ce600",
    srcs: [
        "src/bound.rs",
        "src/de.rs",
        "src/dummy.rs",
        "src/fragment.rs",
        "src/internals/ast.rs",
        "src/internals/attr.rs",
        "src/internals/case.rs",
        "src/internals/check.rs",
        "src/internals/ctxt.rs",
        "src/internals/mod.rs",
        "src/internals/name.rs",
        "src/internals/receiver.rs",
        "src/internals/respan.rs",
        "src/internals/symbol.rs",
        "src/lib.rs",
        "src/pretend.rs",
        "src/ser.rs",
        "src/this.rs",
    ],
    apex_available: [
        "com.android.tethering",
    ],
    min_sdk_version: "30",
    visibility: [
        "//external/cronet:__subpackages__",
    ],
    crate_name: "serde_derive",
    crate_root: "src/lib.rs",
    rustlibs: [
        "liballoc_error_handler_impl_ffi__c9b74a82dac7abd8",
        "libbuild_srust_sallocator_callocator__005dbc46df2cb5b2",
        "libproc_macro2__d957ddb2eb267eaf",
        "libquote__62704bfea487e463",
        "libsyn__11104b519a39d1d2",
        "libunicode_ident__df6840ce9d3a78ba",
    ],
    target: {
        host: {
            compile_multilib: "64",
            edition: "2015",
            features: [
                "default",
            ],
            flags: [
                "-Cmetadata=serde_derive-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/serde_derive/v1:lib__proc_macro
rust_proc_macro {
    name: "libserde_derive__f6f91290b362308b",
    srcs: [
        "src/bound.rs",
        "src/de.rs",
        "src/dummy.rs",
        "src/fragment.rs",
        "src/internals/ast.rs",
        "src/internals/attr.rs",
        "src/internals/case.rs",
        "src/internals/check.rs",
        "src/internals/ctxt.rs",
        "src/internals/mod.rs",
        "src/internals/name.rs",
        "src/internals/receiver.rs",
        "src/internals/respan.rs",
        "src/internals/symbol.rs",
        "src/lib.rs",
        "src/pretend.rs",
        "src/ser.rs",
        "src/this.rs",
    ],
    apex_available: [
        "com.android.tethering",
    ],
    min_sdk_version: "30",
    visibility: [
        "//external/cronet:__subpackages__",
    ],
    crate_name: "serde_derive",
    crate_root: "src/lib.rs",
    rustlibs: [
        "liballoc_error_handler_impl_ffi__b3956dbf57d32035",
        "libbuild_srust_sallocator_callocator__f1643c64cea8f315",
        "libproc_macro2__20eacb95c0df0bdc",
        "libquote__60de3151f3dcc02e",
        "libsyn__15bed5acc529ae0f",
        "libunicode_ident__a7d0ec0588bafe5d",
    ],
    target: {
        host: {
            compile_multilib: "64",
            edition: "2015",
            features: [
                "default",
            ],
            flags: [
                "-Cmetadata=serde_derive-1",
                "-Cforce-unwind-tables=yes",
                "-Crelocation-model=pic",
                "-Cdefault-linker-libraries",
                "-Clto=no",
                "-Copt-level=3",
                "-Cdebuginfo=1",
                "-Awarnings",
                "-Funsafe_code",
            ],
        },
    },
}
