// 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 gn2bp/gen_android_bp.py. Do not edit. // GN: Package-Artificial package { default_applicable_licenses: [ "external_cronet_license", ], } // GN: //build/rust/chromium_prelude:chromium_prelude__testing rust_library_rlib { name: "libchromium_cronet_aml_build_rust_chromium_prelude_chromium_prelude__testing", srcs: [ "chromium_prelude.rs", ], apex_available: [ "com.android.tethering", ], min_sdk_version: "30", visibility: [ "//external/cronet:__subpackages__", ], crate_name: "chromium", crate_root: "chromium_prelude.rs", proc_macros: [ "libimport_attribute_cronet_aml_build_rust_chromium_prelude_import_attribute__proc_macro__testing", ], target: { android_arm: { edition: "2021", cfgs: [ "cr_rustc_revision=\"ab71ee7a9214c2793108a41efb065aa77aeb7326-2-llvmorg-19-init-8091-gab037c4f\"", ], flags: [ "-Dunsafe_op_in_unsafe_fn", "-Dwarnings", "-Aunused-imports", "-Cforce-unwind-tables=no", "-Crelocation-model=pic", "-Coverflow-checks=on", "-Cdefault-linker-libraries", "-Clto=no", "-Ccodegen-units=1", "-Copt-level=s", "-Cdebuginfo=1", "-Funsafe_code", ], }, android_arm64: { edition: "2021", cfgs: [ "cr_rustc_revision=\"ab71ee7a9214c2793108a41efb065aa77aeb7326-2-llvmorg-19-init-8091-gab037c4f\"", ], flags: [ "-Dunsafe_op_in_unsafe_fn", "-Dwarnings", "-Aunused-imports", "-Cforce-unwind-tables=no", "-Crelocation-model=pic", "-Coverflow-checks=on", "-Cdefault-linker-libraries", "-Clto=no", "-Ccodegen-units=1", "-Copt-level=3", "-Cdebuginfo=1", "-Funsafe_code", ], }, android_riscv64: { edition: "2021", cfgs: [ "cr_rustc_revision=\"ab71ee7a9214c2793108a41efb065aa77aeb7326-2-llvmorg-19-init-8091-gab037c4f\"", ], flags: [ "-Dunsafe_op_in_unsafe_fn", "-Dwarnings", "-Aunused-imports", "-Cforce-unwind-tables=no", "-Crelocation-model=pic", "-Coverflow-checks=on", "-Cdefault-linker-libraries", "-Clto=no", "-Ccodegen-units=1", "-Copt-level=s", "-Cdebuginfo=1", "-Funsafe_code", ], }, android_x86: { edition: "2021", cfgs: [ "cr_rustc_revision=\"ab71ee7a9214c2793108a41efb065aa77aeb7326-2-llvmorg-19-init-8091-gab037c4f\"", ], flags: [ "-Dunsafe_op_in_unsafe_fn", "-Dwarnings", "-Aunused-imports", "-Cforce-unwind-tables=no", "-Crelocation-model=pic", "-Coverflow-checks=on", "-Cdefault-linker-libraries", "-Clto=no", "-Ccodegen-units=1", "-Copt-level=s", "-Cdebuginfo=1", "-Funsafe_code", ], }, android_x86_64: { edition: "2021", cfgs: [ "cr_rustc_revision=\"ab71ee7a9214c2793108a41efb065aa77aeb7326-2-llvmorg-19-init-8091-gab037c4f\"", ], flags: [ "-Dunsafe_op_in_unsafe_fn", "-Dwarnings", "-Aunused-imports", "-Cforce-unwind-tables=no", "-Crelocation-model=pic", "-Coverflow-checks=on", "-Cdefault-linker-libraries", "-Clto=no", "-Ccodegen-units=1", "-Copt-level=s", "-Cdebuginfo=1", "-Funsafe_code", ], }, }, } // GN: //build/rust/chromium_prelude:import_attribute__proc_macro__testing rust_proc_macro { name: "libimport_attribute_cronet_aml_build_rust_chromium_prelude_import_attribute__proc_macro__testing", srcs: [ "import_attribute.rs", ], apex_available: [ "com.android.tethering", ], min_sdk_version: "30", visibility: [ "//external/cronet:__subpackages__", ], crate_name: "import_attribute", crate_root: "import_attribute.rs", rustlibs: [ "libproc_macro2_cronet_aml_third_party_rust_proc_macro2_v1_lib__testing", "libquote_cronet_aml_third_party_rust_quote_v1_lib__testing", "libsyn_cronet_aml_third_party_rust_syn_v2_lib__testing", ], target: { host: { edition: "2021", cfgs: [ "cr_rustc_revision=\"ab71ee7a9214c2793108a41efb065aa77aeb7326-2-llvmorg-19-init-8091-gab037c4f\"", ], flags: [ "-Dunsafe_op_in_unsafe_fn", "-Dwarnings", "-Aunused-imports", "-Cforce-unwind-tables=no", "-Crelocation-model=pic", "-Coverflow-checks=on", "-Cdefault-linker-libraries", "-Clto=no", "-Copt-level=3", "-Cdebuginfo=1", "-Funsafe_code", ], compile_multilib: "64", }, }, }