// 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: [ "external_cronet_license", ], } // GN: //base/test:test_rust_logger_consumer__testing rust_ffi_static { name: "libbase_stest_ctest_urust_ulogger_uconsumer__e3402fa6f5ab6d8c", srcs: [ "logging/test_rust_logger_consumer.rs", ], host_cross_supported: false, apex_available: [ "com.android.tethering", ], min_sdk_version: "30", visibility: [ "//external/cronet:__subpackages__", ], crate_name: "base_stest_ctest_urust_ulogger_uconsumer", crate_root: "logging/test_rust_logger_consumer.rs", rustlibs: [ "libchromium__eb6193a5492aad4d", "libcxx__20522d26522c8543", "liblog__0854b48a002f9679", ], target: { android_arm: { edition: "2021", cfgs: [ "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"", ], flags: [ "-Dunsafe_op_in_unsafe_fn", "-Dwarnings", "-Aunused-imports", "-Cforce-unwind-tables=yes", "-Crelocation-model=pic", "-Coverflow-checks=on", "-Cdefault-linker-libraries", "-Clto=no", "-Ccodegen-units=1", "-Copt-level=s", "-Cdebuginfo=1", ], }, android_arm64: { edition: "2021", cfgs: [ "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"", ], flags: [ "-Dunsafe_op_in_unsafe_fn", "-Dwarnings", "-Aunused-imports", "-Cforce-unwind-tables=yes", "-Crelocation-model=pic", "-Coverflow-checks=on", "-Cdefault-linker-libraries", "-Clto=no", "-Ccodegen-units=1", "-Copt-level=3", "-Cdebuginfo=1", ], }, android_riscv64: { edition: "2021", cfgs: [ "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"", ], flags: [ "-Dunsafe_op_in_unsafe_fn", "-Dwarnings", "-Aunused-imports", "-Cforce-unwind-tables=yes", "-Crelocation-model=pic", "-Coverflow-checks=on", "-Cdefault-linker-libraries", "-Clto=no", "-Ccodegen-units=1", "-Copt-level=s", "-Cdebuginfo=1", ], }, android_x86: { edition: "2021", cfgs: [ "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"", ], flags: [ "-Dunsafe_op_in_unsafe_fn", "-Dwarnings", "-Aunused-imports", "-Cforce-unwind-tables=yes", "-Crelocation-model=pic", "-Coverflow-checks=on", "-Cdefault-linker-libraries", "-Clto=no", "-Ccodegen-units=1", "-Copt-level=s", "-Cdebuginfo=1", ], }, android_x86_64: { edition: "2021", cfgs: [ "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"", ], flags: [ "-Dunsafe_op_in_unsafe_fn", "-Dwarnings", "-Aunused-imports", "-Cforce-unwind-tables=yes", "-Crelocation-model=pic", "-Coverflow-checks=on", "-Cdefault-linker-libraries", "-Clto=no", "-Ccodegen-units=1", "-Copt-level=3", "-Cdebuginfo=1", ], }, host: { compile_multilib: "64", }, }, } // GN: //base/test:proto_test_support__testing cc_library_static { name: "stable_cronet_base_test_proto_test_support__testing", srcs: [ "test_proto_loader.cc", ], shared_libs: [ "libandroid", "liblog", "libz", ], host_cross_supported: false, generated_headers: [ "stable_cronet_base_allocator_buildflags__testing", "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", "stable_cronet_base_anchor_functions_buildflags__testing", "stable_cronet_base_build_date__testing", "stable_cronet_base_cfi_buildflags__testing", "stable_cronet_base_check_version_internal_action__testing", "stable_cronet_base_clang_profiling_buildflags__testing", "stable_cronet_base_debugging_buildflags__testing", "stable_cronet_base_feature_list_buildflags__testing", "stable_cronet_base_fuzzing_buildflags__testing", "stable_cronet_base_ios_cronet_buildflags__testing", "stable_cronet_base_orderfile_buildflags__testing", "stable_cronet_base_power_monitor_buildflags__testing", "stable_cronet_base_profiler_buildflags__testing", "stable_cronet_base_protected_memory_buildflags__testing", "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", "stable_cronet_base_sanitizer_buildflags__testing", "stable_cronet_base_synchronization_buildflags__testing", "stable_cronet_base_tracing_buildflags__testing", "stable_cronet_build_blink_buildflags__testing", "stable_cronet_build_branding_buildflags__testing", "stable_cronet_build_chromecast_buildflags__testing", "stable_cronet_build_chromeos_buildflags__testing", "stable_cronet_build_config_compiler_compiler_buildflags__testing", "stable_cronet_build_ios_buildflags__testing", "stable_cronet_third_party_jni_zero_generate_jni__action__testing", "stable_cronet_third_party_jni_zero_system_jni__action__testing", "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", ], export_generated_headers: [ "stable_cronet_base_allocator_buildflags__testing", "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", "stable_cronet_base_anchor_functions_buildflags__testing", "stable_cronet_base_build_date__testing", "stable_cronet_base_cfi_buildflags__testing", "stable_cronet_base_check_version_internal_action__testing", "stable_cronet_base_clang_profiling_buildflags__testing", "stable_cronet_base_debugging_buildflags__testing", "stable_cronet_base_feature_list_buildflags__testing", "stable_cronet_base_fuzzing_buildflags__testing", "stable_cronet_base_ios_cronet_buildflags__testing", "stable_cronet_base_orderfile_buildflags__testing", "stable_cronet_base_power_monitor_buildflags__testing", "stable_cronet_base_profiler_buildflags__testing", "stable_cronet_base_protected_memory_buildflags__testing", "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", "stable_cronet_base_sanitizer_buildflags__testing", "stable_cronet_base_synchronization_buildflags__testing", "stable_cronet_base_tracing_buildflags__testing", "stable_cronet_build_blink_buildflags__testing", "stable_cronet_build_branding_buildflags__testing", "stable_cronet_build_chromecast_buildflags__testing", "stable_cronet_build_chromeos_buildflags__testing", "stable_cronet_build_config_compiler_compiler_buildflags__testing", "stable_cronet_build_ios_buildflags__testing", "stable_cronet_third_party_jni_zero_generate_jni__action__testing", "stable_cronet_third_party_jni_zero_system_jni__action__testing", "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", ], defaults: [ "stable_cronet_cc_defaults", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r27_1", "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", "-DDYNAMIC_ANNOTATIONS_ENABLED=0", "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", "-DGOOGLE_PROTOBUF_NO_RTTI", "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", "-DHAVE_PTHREAD", "-DHAVE_SYS_UIO_H", "-DNDEBUG", "-DNVALGRIND", "-DOFFICIAL_BUILD", "-DPROTO_TEST_IMPLEMENTATION", "-DTMP_REBUILD_HACK", "-D_GNU_SOURCE", "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-D__STDC_CONSTANT_MACROS", "-D__STDC_FORMAT_MACROS", "-fdata-sections", "-ffunction-sections", "-fstack-protector", "-fvisibility-inlines-hidden", "-fvisibility=hidden", "-g1", ], include_dirs: [ "external/cronet/stable/", "external/cronet/stable/base/allocator/partition_allocator/src/", "external/cronet/stable/buildtools/third_party/libc++/", "external/cronet/stable/third_party/abseil-cpp/", "external/cronet/stable/third_party/boringssl/src/include/", "external/cronet/stable/third_party/libc++/src/include", "external/cronet/stable/third_party/libc++abi/src/include", "external/cronet/stable/third_party/protobuf/src/", ], cpp_std: "c++20", ldflags: [ "-Wl,--as-needed", "-Wl,--gc-sections", "-Wl,--icf=all", "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", ], visibility: [ "//external/cronet:__subpackages__", ], target: { android_arm: { cflags: [ "-D_FORTIFY_SOURCE=2", ], }, android_arm64: { cflags: [ "-D_FORTIFY_SOURCE=2", "-D__ARM_NEON__=1", "-O2", "-mno-outline", ], }, android_x86: { cflags: [ "-D_FORTIFY_SOURCE=2", "-msse3", ], }, android_x86_64: { cflags: [ "-D_FORTIFY_SOURCE=2", "-O2", "-msse3", ], }, }, } // GN: //base/test:run_all_unittests__testing cc_library_static { name: "stable_cronet_base_test_run_all_unittests__testing", srcs: [ "run_all_unittests.cc", ], shared_libs: [ "libandroid", "liblog", "libz", ], host_cross_supported: false, generated_headers: [ "stable_cronet_base_allocator_buildflags__testing", "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", "stable_cronet_base_anchor_functions_buildflags__testing", "stable_cronet_base_build_date__testing", "stable_cronet_base_cfi_buildflags__testing", "stable_cronet_base_check_version_internal_action__testing", "stable_cronet_base_clang_profiling_buildflags__testing", "stable_cronet_base_debugging_buildflags__testing", "stable_cronet_base_feature_list_buildflags__testing", "stable_cronet_base_fuzzing_buildflags__testing", "stable_cronet_base_ios_cronet_buildflags__testing", "stable_cronet_base_orderfile_buildflags__testing", "stable_cronet_base_power_monitor_buildflags__testing", "stable_cronet_base_profiler_buildflags__testing", "stable_cronet_base_protected_memory_buildflags__testing", "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", "stable_cronet_base_sanitizer_buildflags__testing", "stable_cronet_base_synchronization_buildflags__testing", "stable_cronet_base_test_base_unittests_jni_headers__action__testing", "stable_cronet_base_test_test_rust_logger_consumer_cxx_generated_gen__testing_header", "stable_cronet_base_test_test_support_jni_headers__action__testing", "stable_cronet_base_tracing_buildflags__testing", "stable_cronet_build_blink_buildflags__testing", "stable_cronet_build_branding_buildflags__testing", "stable_cronet_build_chromecast_buildflags__testing", "stable_cronet_build_chromeos_buildflags__testing", "stable_cronet_build_config_compiler_compiler_buildflags__testing", "stable_cronet_build_ios_buildflags__testing", "stable_cronet_third_party_jni_zero_generate_jni__action__testing", "stable_cronet_third_party_jni_zero_system_jni__action__testing", "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", ], export_generated_headers: [ "stable_cronet_base_allocator_buildflags__testing", "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", "stable_cronet_base_anchor_functions_buildflags__testing", "stable_cronet_base_build_date__testing", "stable_cronet_base_cfi_buildflags__testing", "stable_cronet_base_check_version_internal_action__testing", "stable_cronet_base_clang_profiling_buildflags__testing", "stable_cronet_base_debugging_buildflags__testing", "stable_cronet_base_feature_list_buildflags__testing", "stable_cronet_base_fuzzing_buildflags__testing", "stable_cronet_base_ios_cronet_buildflags__testing", "stable_cronet_base_orderfile_buildflags__testing", "stable_cronet_base_power_monitor_buildflags__testing", "stable_cronet_base_profiler_buildflags__testing", "stable_cronet_base_protected_memory_buildflags__testing", "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", "stable_cronet_base_sanitizer_buildflags__testing", "stable_cronet_base_synchronization_buildflags__testing", "stable_cronet_base_test_base_unittests_jni_headers__action__testing", "stable_cronet_base_test_test_rust_logger_consumer_cxx_generated_gen__testing_header", "stable_cronet_base_test_test_support_jni_headers__action__testing", "stable_cronet_base_tracing_buildflags__testing", "stable_cronet_build_blink_buildflags__testing", "stable_cronet_build_branding_buildflags__testing", "stable_cronet_build_chromecast_buildflags__testing", "stable_cronet_build_chromeos_buildflags__testing", "stable_cronet_build_config_compiler_compiler_buildflags__testing", "stable_cronet_build_ios_buildflags__testing", "stable_cronet_third_party_jni_zero_generate_jni__action__testing", "stable_cronet_third_party_jni_zero_system_jni__action__testing", "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", ], defaults: [ "stable_cronet_cc_defaults", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r27_1", "-DBENCHMARK_STATIC_DEFINE", "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", "-DDYNAMIC_ANNOTATIONS_ENABLED=0", "-DGTEST_API_=", "-DGTEST_HAS_ABSL", "-DGTEST_HAS_POSIX_RE=0", "-DGTEST_HAS_TR1_TUPLE=0", "-DGTEST_LANG_CXX11=1", "-DGTEST_NO_ABSL_FLAGS", "-DHAVE_SYS_UIO_H", "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", "-DNDEBUG", "-DNVALGRIND", "-DOFFICIAL_BUILD", "-DTMP_REBUILD_HACK", "-DUNIT_TEST", "-DUSE_CHROMIUM_ICU=1", "-DU_ENABLE_DYLOAD=0", "-DU_ENABLE_RESOURCE_TRACING=0", "-DU_ENABLE_TRACING=1", "-DU_STATIC_IMPLEMENTATION", "-DU_USING_ICU_NAMESPACE=0", "-D_GNU_SOURCE", "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-D__STDC_CONSTANT_MACROS", "-D__STDC_FORMAT_MACROS", "-fdata-sections", "-ffunction-sections", "-fstack-protector", "-fvisibility-inlines-hidden", "-fvisibility=hidden", "-g1", ], include_dirs: [ "external/cronet/stable/", "external/cronet/stable/base/allocator/partition_allocator/src/", "external/cronet/stable/buildtools/third_party/libc++/", "external/cronet/stable/third_party/abseil-cpp/", "external/cronet/stable/third_party/boringssl/src/include/", "external/cronet/stable/third_party/ced/src/", "external/cronet/stable/third_party/google_benchmark/src/include/", "external/cronet/stable/third_party/googletest/custom/", "external/cronet/stable/third_party/googletest/src/googlemock/include/", "external/cronet/stable/third_party/googletest/src/googletest/include/", "external/cronet/stable/third_party/icu/source/common/", "external/cronet/stable/third_party/icu/source/i18n/", "external/cronet/stable/third_party/libc++/src/include", "external/cronet/stable/third_party/libc++abi/src/include", "external/cronet/stable/third_party/re2/src/", ], cpp_std: "c++20", ldflags: [ "-Wl,--as-needed", "-Wl,--gc-sections", "-Wl,--icf=all", "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", ], visibility: [ "//external/cronet:__subpackages__", ], target: { android_arm: { cflags: [ "-D_FORTIFY_SOURCE=2", ], }, android_arm64: { cflags: [ "-D_FORTIFY_SOURCE=2", "-D__ARM_NEON__=1", "-O2", "-mno-outline", ], }, android_x86: { cflags: [ "-D_FORTIFY_SOURCE=2", "-msse3", ], }, android_x86_64: { cflags: [ "-D_FORTIFY_SOURCE=2", "-O2", "-msse3", ], }, }, } // GN: //base/test:test_config__testing cc_library_static { name: "stable_cronet_base_test_test_config__testing", srcs: [ "test_switches.cc", "test_timeouts.cc", ], shared_libs: [ "libandroid", "liblog", "libz", ], host_cross_supported: false, generated_headers: [ "stable_cronet_base_allocator_buildflags__testing", "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", "stable_cronet_base_anchor_functions_buildflags__testing", "stable_cronet_base_build_date__testing", "stable_cronet_base_cfi_buildflags__testing", "stable_cronet_base_check_version_internal_action__testing", "stable_cronet_base_clang_profiling_buildflags__testing", "stable_cronet_base_debugging_buildflags__testing", "stable_cronet_base_feature_list_buildflags__testing", "stable_cronet_base_fuzzing_buildflags__testing", "stable_cronet_base_ios_cronet_buildflags__testing", "stable_cronet_base_orderfile_buildflags__testing", "stable_cronet_base_power_monitor_buildflags__testing", "stable_cronet_base_profiler_buildflags__testing", "stable_cronet_base_protected_memory_buildflags__testing", "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", "stable_cronet_base_sanitizer_buildflags__testing", "stable_cronet_base_synchronization_buildflags__testing", "stable_cronet_base_tracing_buildflags__testing", "stable_cronet_build_blink_buildflags__testing", "stable_cronet_build_branding_buildflags__testing", "stable_cronet_build_chromecast_buildflags__testing", "stable_cronet_build_chromeos_buildflags__testing", "stable_cronet_build_config_compiler_compiler_buildflags__testing", "stable_cronet_build_ios_buildflags__testing", "stable_cronet_third_party_jni_zero_generate_jni__action__testing", "stable_cronet_third_party_jni_zero_system_jni__action__testing", "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", ], export_generated_headers: [ "stable_cronet_base_allocator_buildflags__testing", "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", "stable_cronet_base_anchor_functions_buildflags__testing", "stable_cronet_base_build_date__testing", "stable_cronet_base_cfi_buildflags__testing", "stable_cronet_base_check_version_internal_action__testing", "stable_cronet_base_clang_profiling_buildflags__testing", "stable_cronet_base_debugging_buildflags__testing", "stable_cronet_base_feature_list_buildflags__testing", "stable_cronet_base_fuzzing_buildflags__testing", "stable_cronet_base_ios_cronet_buildflags__testing", "stable_cronet_base_orderfile_buildflags__testing", "stable_cronet_base_power_monitor_buildflags__testing", "stable_cronet_base_profiler_buildflags__testing", "stable_cronet_base_protected_memory_buildflags__testing", "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", "stable_cronet_base_sanitizer_buildflags__testing", "stable_cronet_base_synchronization_buildflags__testing", "stable_cronet_base_tracing_buildflags__testing", "stable_cronet_build_blink_buildflags__testing", "stable_cronet_build_branding_buildflags__testing", "stable_cronet_build_chromecast_buildflags__testing", "stable_cronet_build_chromeos_buildflags__testing", "stable_cronet_build_config_compiler_compiler_buildflags__testing", "stable_cronet_build_ios_buildflags__testing", "stable_cronet_third_party_jni_zero_generate_jni__action__testing", "stable_cronet_third_party_jni_zero_system_jni__action__testing", "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", ], defaults: [ "stable_cronet_cc_defaults", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r27_1", "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", "-DDYNAMIC_ANNOTATIONS_ENABLED=0", "-DHAVE_SYS_UIO_H", "-DNDEBUG", "-DNVALGRIND", "-DOFFICIAL_BUILD", "-DTMP_REBUILD_HACK", "-D_GNU_SOURCE", "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-D__STDC_CONSTANT_MACROS", "-D__STDC_FORMAT_MACROS", "-fdata-sections", "-ffunction-sections", "-fstack-protector", "-fvisibility-inlines-hidden", "-fvisibility=hidden", "-g1", ], include_dirs: [ "external/cronet/stable/", "external/cronet/stable/base/allocator/partition_allocator/src/", "external/cronet/stable/buildtools/third_party/libc++/", "external/cronet/stable/third_party/abseil-cpp/", "external/cronet/stable/third_party/boringssl/src/include/", "external/cronet/stable/third_party/libc++/src/include", "external/cronet/stable/third_party/libc++abi/src/include", ], cpp_std: "c++20", ldflags: [ "-Wl,--as-needed", "-Wl,--gc-sections", "-Wl,--icf=all", "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", ], visibility: [ "//external/cronet:__subpackages__", ], target: { android_arm: { cflags: [ "-D_FORTIFY_SOURCE=2", ], }, android_arm64: { cflags: [ "-D_FORTIFY_SOURCE=2", "-D__ARM_NEON__=1", "-O2", "-mno-outline", ], }, android_x86: { cflags: [ "-D_FORTIFY_SOURCE=2", "-msse3", ], }, android_x86_64: { cflags: [ "-D_FORTIFY_SOURCE=2", "-O2", "-msse3", ], }, }, } // GN: //base/test:test_rust_logger_consumer_cxx_generated__testing cc_library_static { name: "stable_cronet_base_test_test_rust_logger_consumer_cxx_generated__testing", srcs: [ ":stable_cronet_base_test_test_rust_logger_consumer_cxx_generated_gen__testing", ], host_cross_supported: false, generated_headers: [ "stable_cronet_base_test_test_rust_logger_consumer_cxx_generated_gen__testing_header", ], export_generated_headers: [ "stable_cronet_base_test_test_rust_logger_consumer_cxx_generated_gen__testing_header", ], defaults: [ "stable_cronet_cc_defaults", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r27_1", "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", "-DDYNAMIC_ANNOTATIONS_ENABLED=0", "-DHAVE_SYS_UIO_H", "-DNDEBUG", "-DNVALGRIND", "-DOFFICIAL_BUILD", "-DTMP_REBUILD_HACK", "-D_GNU_SOURCE", "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-D__STDC_CONSTANT_MACROS", "-D__STDC_FORMAT_MACROS", "-fdata-sections", "-ffunction-sections", "-fstack-protector", "-fvisibility-inlines-hidden", "-fvisibility=hidden", "-g1", ], include_dirs: [ "external/cronet/stable/", "external/cronet/stable/buildtools/third_party/libc++/", "external/cronet/stable/third_party/libc++/src/include", "external/cronet/stable/third_party/libc++abi/src/include", ], cpp_std: "c++20", ldflags: [ "-Wl,--as-needed", "-Wl,--gc-sections", "-Wl,--icf=all", ], visibility: [ "//external/cronet:__subpackages__", ], target: { android_arm: { cflags: [ "-D_FORTIFY_SOURCE=2", ], }, android_arm64: { cflags: [ "-D_FORTIFY_SOURCE=2", "-D__ARM_NEON__=1", "-O2", "-mno-outline", ], }, android_x86: { cflags: [ "-D_FORTIFY_SOURCE=2", "-msse3", ], }, android_x86_64: { cflags: [ "-D_FORTIFY_SOURCE=2", "-O2", "-msse3", ], }, }, }