// 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: //testing/gmock:gmock__testing cc_library_static { name: "tot_cronet_testing_gmock_gmock__testing", shared_libs: [ "libandroid", "liblog", "libz", ], host_cross_supported: false, generated_headers: [ "tot_cronet_base_allocator_buildflags__testing", "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", "tot_cronet_base_anchor_functions_buildflags__testing", "tot_cronet_base_build_date__testing", "tot_cronet_base_cfi_buildflags__testing", "tot_cronet_base_check_version_internal_action__testing", "tot_cronet_base_clang_profiling_buildflags__testing", "tot_cronet_base_debugging_buildflags__testing", "tot_cronet_base_feature_list_buildflags__testing", "tot_cronet_base_fuzzing_buildflags__testing", "tot_cronet_base_ios_cronet_buildflags__testing", "tot_cronet_base_orderfile_buildflags__testing", "tot_cronet_base_power_monitor_buildflags__testing", "tot_cronet_base_profiler_buildflags__testing", "tot_cronet_base_protected_memory_buildflags__testing", "tot_cronet_base_rust_logger_cxx_generated_gen__testing_header", "tot_cronet_base_sanitizer_buildflags__testing", "tot_cronet_base_synchronization_buildflags__testing", "tot_cronet_base_tracing_buildflags__testing", "tot_cronet_build_blink_buildflags__testing", "tot_cronet_build_branding_buildflags__testing", "tot_cronet_build_chromecast_buildflags__testing", "tot_cronet_build_chromeos_buildflags__testing", "tot_cronet_build_config_compiler_compiler_buildflags__testing", "tot_cronet_build_ios_buildflags__testing", "tot_cronet_third_party_jni_zero_generate_jni__action__testing", "tot_cronet_third_party_jni_zero_system_jni__action__testing", "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", ], export_generated_headers: [ "tot_cronet_base_allocator_buildflags__testing", "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", "tot_cronet_base_anchor_functions_buildflags__testing", "tot_cronet_base_build_date__testing", "tot_cronet_base_cfi_buildflags__testing", "tot_cronet_base_check_version_internal_action__testing", "tot_cronet_base_clang_profiling_buildflags__testing", "tot_cronet_base_debugging_buildflags__testing", "tot_cronet_base_feature_list_buildflags__testing", "tot_cronet_base_fuzzing_buildflags__testing", "tot_cronet_base_ios_cronet_buildflags__testing", "tot_cronet_base_orderfile_buildflags__testing", "tot_cronet_base_power_monitor_buildflags__testing", "tot_cronet_base_profiler_buildflags__testing", "tot_cronet_base_protected_memory_buildflags__testing", "tot_cronet_base_rust_logger_cxx_generated_gen__testing_header", "tot_cronet_base_sanitizer_buildflags__testing", "tot_cronet_base_synchronization_buildflags__testing", "tot_cronet_base_tracing_buildflags__testing", "tot_cronet_build_blink_buildflags__testing", "tot_cronet_build_branding_buildflags__testing", "tot_cronet_build_chromecast_buildflags__testing", "tot_cronet_build_chromeos_buildflags__testing", "tot_cronet_build_config_compiler_compiler_buildflags__testing", "tot_cronet_build_ios_buildflags__testing", "tot_cronet_third_party_jni_zero_generate_jni__action__testing", "tot_cronet_third_party_jni_zero_system_jni__action__testing", "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", ], defaults: [ "tot_cronet_cc_defaults", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r27_1", "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", "-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", "-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/tot/", "external/cronet/tot/buildtools/third_party/libc++/", "external/cronet/tot/third_party/abseil-cpp/", "external/cronet/tot/third_party/googletest/custom/", "external/cronet/tot/third_party/googletest/src/googlemock/include/", "external/cronet/tot/third_party/googletest/src/googletest/include/", "external/cronet/tot/third_party/libc++/src/include", "external/cronet/tot/third_party/libc++abi/src/include", "external/cronet/tot/third_party/re2/src/", ], cpp_std: "c++20", ldflags: [ "-Wl,--as-needed", "-Wl,--gc-sections", "-Wl,--icf=all", "-Wl,--script,external/cronet/tot/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", ], }, }, }