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_cxxbridge_macro_v1_license", 21 ], 22} 23 24// GN: License-Artificial 25license { 26 name: "external_cronet_third_party_rust_cxxbridge_macro_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/cxxbridge_macro/v1:lib__proc_macro 39rust_proc_macro { 40 name: "libcxxbridge_macro_cronet_aml_third_party_rust_cxxbridge_macro_v1_lib__proc_macro", 41 srcs: [ 42 "src/clang.rs", 43 "src/derive.rs", 44 "src/expand.rs", 45 "src/generics.rs", 46 "src/lib.rs", 47 "src/load.rs", 48 "src/syntax/atom.rs", 49 "src/syntax/attrs.rs", 50 "src/syntax/cfg.rs", 51 "src/syntax/check.rs", 52 "src/syntax/derive.rs", 53 "src/syntax/discriminant.rs", 54 "src/syntax/doc.rs", 55 "src/syntax/error.rs", 56 "src/syntax/file.rs", 57 "src/syntax/ident.rs", 58 "src/syntax/impls.rs", 59 "src/syntax/improper.rs", 60 "src/syntax/instantiate.rs", 61 "src/syntax/mangle.rs", 62 "src/syntax/map.rs", 63 "src/syntax/mod.rs", 64 "src/syntax/names.rs", 65 "src/syntax/namespace.rs", 66 "src/syntax/parse.rs", 67 "src/syntax/pod.rs", 68 "src/syntax/qualified.rs", 69 "src/syntax/report.rs", 70 "src/syntax/resolve.rs", 71 "src/syntax/set.rs", 72 "src/syntax/symbol.rs", 73 "src/syntax/tokens.rs", 74 "src/syntax/toposort.rs", 75 "src/syntax/trivial.rs", 76 "src/syntax/types.rs", 77 "src/syntax/visit.rs", 78 "src/tokens.rs", 79 "src/type_id.rs", 80 ], 81 apex_available: [ 82 "com.android.tethering", 83 ], 84 min_sdk_version: "30", 85 visibility: [ 86 "//external/cronet:__subpackages__", 87 ], 88 crate_name: "cxxbridge_macro", 89 crate_root: "src/lib.rs", 90 rustlibs: [ 91 "libproc_macro2_cronet_aml_third_party_rust_proc_macro2_v1_lib", 92 "libquote_cronet_aml_third_party_rust_quote_v1_lib", 93 "libsyn_cronet_aml_third_party_rust_syn_v2_lib", 94 ], 95 target: { 96 host: { 97 edition: "2021", 98 cfgs: [ 99 "cr_rustc_revision=\"ab71ee7a9214c2793108a41efb065aa77aeb7326-2-llvmorg-19-init-8091-gab037c4f\"", 100 ], 101 flags: [ 102 "-Cmetadata=cxxbridge_macro-1", 103 "-Cforce-unwind-tables=no", 104 "-Crelocation-model=pic", 105 "-Coverflow-checks=on", 106 "-Cdefault-linker-libraries", 107 "-Clto=no", 108 "-Copt-level=3", 109 "-Cdebuginfo=1", 110 "--cap-lints=allow", 111 "-Dunsafe_op_in_unsafe_fn", 112 "-Dwarnings", 113 "-Aunused-imports", 114 ], 115 compile_multilib: "64", 116 }, 117 }, 118} 119 120// GN: //third_party/rust/cxxbridge_macro/v1:lib__proc_macro__testing 121rust_proc_macro { 122 name: "libcxxbridge_macro_cronet_aml_third_party_rust_cxxbridge_macro_v1_lib__proc_macro__testing", 123 srcs: [ 124 "src/clang.rs", 125 "src/derive.rs", 126 "src/expand.rs", 127 "src/generics.rs", 128 "src/lib.rs", 129 "src/load.rs", 130 "src/syntax/atom.rs", 131 "src/syntax/attrs.rs", 132 "src/syntax/cfg.rs", 133 "src/syntax/check.rs", 134 "src/syntax/derive.rs", 135 "src/syntax/discriminant.rs", 136 "src/syntax/doc.rs", 137 "src/syntax/error.rs", 138 "src/syntax/file.rs", 139 "src/syntax/ident.rs", 140 "src/syntax/impls.rs", 141 "src/syntax/improper.rs", 142 "src/syntax/instantiate.rs", 143 "src/syntax/mangle.rs", 144 "src/syntax/map.rs", 145 "src/syntax/mod.rs", 146 "src/syntax/names.rs", 147 "src/syntax/namespace.rs", 148 "src/syntax/parse.rs", 149 "src/syntax/pod.rs", 150 "src/syntax/qualified.rs", 151 "src/syntax/report.rs", 152 "src/syntax/resolve.rs", 153 "src/syntax/set.rs", 154 "src/syntax/symbol.rs", 155 "src/syntax/tokens.rs", 156 "src/syntax/toposort.rs", 157 "src/syntax/trivial.rs", 158 "src/syntax/types.rs", 159 "src/syntax/visit.rs", 160 "src/tokens.rs", 161 "src/type_id.rs", 162 ], 163 apex_available: [ 164 "com.android.tethering", 165 ], 166 min_sdk_version: "30", 167 visibility: [ 168 "//external/cronet:__subpackages__", 169 ], 170 crate_name: "cxxbridge_macro", 171 crate_root: "src/lib.rs", 172 rustlibs: [ 173 "libproc_macro2_cronet_aml_third_party_rust_proc_macro2_v1_lib__testing", 174 "libquote_cronet_aml_third_party_rust_quote_v1_lib__testing", 175 "libsyn_cronet_aml_third_party_rust_syn_v2_lib__testing", 176 ], 177 target: { 178 host: { 179 edition: "2021", 180 cfgs: [ 181 "cr_rustc_revision=\"ab71ee7a9214c2793108a41efb065aa77aeb7326-2-llvmorg-19-init-8091-gab037c4f\"", 182 ], 183 flags: [ 184 "-Cmetadata=cxxbridge_macro-1", 185 "-Cforce-unwind-tables=no", 186 "-Crelocation-model=pic", 187 "-Coverflow-checks=on", 188 "-Cdefault-linker-libraries", 189 "-Clto=no", 190 "-Copt-level=3", 191 "-Cdebuginfo=1", 192 "--cap-lints=allow", 193 "-Dunsafe_op_in_unsafe_fn", 194 "-Dwarnings", 195 "-Aunused-imports", 196 ], 197 compile_multilib: "64", 198 }, 199 }, 200} 201