1// Copyright (C) 2022 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14// 15// This file is automatically generated by gn2bp/gen_android_bp.py. Do not edit. 16 17// GN: Package-Artificial 18package { 19 default_applicable_licenses: [ 20 "external_cronet_third_party_rust_quote_v1_license", 21 ], 22} 23 24// GN: License-Artificial 25license { 26 name: "external_cronet_third_party_rust_quote_v1_license", 27 visibility: [ 28 ":__subpackages__", 29 ], 30 license_text: [ 31 "LICENSE", 32 ], 33 license_kinds: [ 34 "SPDX-license-identifier-Apache-2.0", 35 ], 36} 37 38// GN: //third_party/rust/quote/v1:lib 39rust_library_rlib { 40 name: "libquote_cronet_aml_third_party_rust_quote_v1_lib", 41 srcs: [ 42 "src/ext.rs", 43 "src/format.rs", 44 "src/ident_fragment.rs", 45 "src/lib.rs", 46 "src/runtime.rs", 47 "src/spanned.rs", 48 "src/to_tokens.rs", 49 ], 50 host_supported: true, 51 device_supported: false, 52 apex_available: [ 53 "com.android.tethering", 54 ], 55 min_sdk_version: "30", 56 visibility: [ 57 "//external/cronet:__subpackages__", 58 ], 59 crate_name: "quote", 60 crate_root: "src/lib.rs", 61 host_cross_supported: false, 62 rustlibs: [ 63 "libproc_macro2_cronet_aml_third_party_rust_proc_macro2_v1_lib", 64 ], 65 target: { 66 host: { 67 edition: "2018", 68 cfgs: [ 69 "cr_rustc_revision=\"ab71ee7a9214c2793108a41efb065aa77aeb7326-2-llvmorg-19-init-8091-gab037c4f\"", 70 ], 71 features: [ 72 "proc-macro", 73 ], 74 flags: [ 75 "-Cmetadata=quote-1", 76 "-Cforce-unwind-tables=no", 77 "-Crelocation-model=pic", 78 "-Coverflow-checks=on", 79 "-Cdefault-linker-libraries", 80 "-Clto=no", 81 "-Copt-level=3", 82 "-Cdebuginfo=1", 83 "--cap-lints=allow", 84 "-Dunsafe_op_in_unsafe_fn", 85 "-Dwarnings", 86 "-Aunused-imports", 87 ], 88 compile_multilib: "64", 89 }, 90 }, 91} 92 93// GN: //third_party/rust/quote/v1:lib__testing 94rust_library_rlib { 95 name: "libquote_cronet_aml_third_party_rust_quote_v1_lib__testing", 96 srcs: [ 97 "src/ext.rs", 98 "src/format.rs", 99 "src/ident_fragment.rs", 100 "src/lib.rs", 101 "src/runtime.rs", 102 "src/spanned.rs", 103 "src/to_tokens.rs", 104 ], 105 host_supported: true, 106 device_supported: false, 107 apex_available: [ 108 "com.android.tethering", 109 ], 110 min_sdk_version: "30", 111 visibility: [ 112 "//external/cronet:__subpackages__", 113 ], 114 crate_name: "quote", 115 crate_root: "src/lib.rs", 116 host_cross_supported: false, 117 rustlibs: [ 118 "libproc_macro2_cronet_aml_third_party_rust_proc_macro2_v1_lib__testing", 119 ], 120 target: { 121 host: { 122 edition: "2018", 123 cfgs: [ 124 "cr_rustc_revision=\"ab71ee7a9214c2793108a41efb065aa77aeb7326-2-llvmorg-19-init-8091-gab037c4f\"", 125 ], 126 features: [ 127 "proc-macro", 128 ], 129 flags: [ 130 "-Cmetadata=quote-1", 131 "-Cforce-unwind-tables=no", 132 "-Crelocation-model=pic", 133 "-Coverflow-checks=on", 134 "-Cdefault-linker-libraries", 135 "-Clto=no", 136 "-Copt-level=3", 137 "-Cdebuginfo=1", 138 "--cap-lints=allow", 139 "-Dunsafe_op_in_unsafe_fn", 140 "-Dwarnings", 141 "-Aunused-imports", 142 ], 143 compile_multilib: "64", 144 }, 145 }, 146} 147