// 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: //components/prefs:prefs cc_library_static { name: "tot_cronet_components_prefs_prefs", srcs: [ "android/pref_change_registrar_android.cc", "android/pref_service_android.cc", "command_line_pref_store.cc", "default_pref_store.cc", "in_memory_pref_store.cc", "json_pref_store.cc", "overlay_user_pref_store.cc", "persistent_pref_store.cc", "pref_change_registrar.cc", "pref_member.cc", "pref_notifier_impl.cc", "pref_registry.cc", "pref_registry_simple.cc", "pref_service.cc", "pref_service_factory.cc", "pref_store.cc", "pref_value_map.cc", "pref_value_store.cc", "scoped_user_pref_update.cc", "segregated_pref_store.cc", "value_map_pref_store.cc", "wrap_with_prefix_pref_store.cc", "writeable_pref_store.cc", ], shared_libs: [ "libandroid", "liblog", "libz", "tot_cronet_libcrypto", "tot_cronet_libpki", "tot_cronet_libssl", ], host_cross_supported: false, generated_headers: [ "tot_cronet_base_allocator_buildflags", "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", "tot_cronet_base_anchor_functions_buildflags", "tot_cronet_base_android_runtime_jni_headers__action", "tot_cronet_base_base_jni__action", "tot_cronet_base_base_shared_preferences_jni__action", "tot_cronet_base_build_date", "tot_cronet_base_callback_jni__action", "tot_cronet_base_cfi_buildflags", "tot_cronet_base_check_version_internal_action", "tot_cronet_base_clang_profiling_buildflags", "tot_cronet_base_command_line_jni__action", "tot_cronet_base_content_uri_utils_jni__action", "tot_cronet_base_debugging_buildflags", "tot_cronet_base_feature_list_buildflags", "tot_cronet_base_fuzzing_buildflags", "tot_cronet_base_ios_cronet_buildflags", "tot_cronet_base_jank_tracker_jni__action", "tot_cronet_base_library_loader_jni__action", "tot_cronet_base_memory_jni__action", "tot_cronet_base_metrics_jni__action", "tot_cronet_base_orderfile_buildflags", "tot_cronet_base_power_monitor_buildflags", "tot_cronet_base_process_launcher_jni__action", "tot_cronet_base_profiler_buildflags", "tot_cronet_base_protected_memory_buildflags", "tot_cronet_base_rust_logger_cxx_generated_gen_header", "tot_cronet_base_sanitizer_buildflags", "tot_cronet_base_synchronization_buildflags", "tot_cronet_base_sys_utils_jni__action", "tot_cronet_base_tasks_jni__action", "tot_cronet_base_tracing_buildflags", "tot_cronet_build_blink_buildflags", "tot_cronet_build_branding_buildflags", "tot_cronet_build_chromecast_buildflags", "tot_cronet_build_chromeos_buildflags", "tot_cronet_build_config_compiler_compiler_buildflags", "tot_cronet_build_ios_buildflags", "tot_cronet_build_robolectric_buildflags", "tot_cronet_components_prefs_android_jni_headers__action", "tot_cronet_third_party_jni_zero_generate_jni__action", "tot_cronet_third_party_jni_zero_system_jni__action", "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", ], export_generated_headers: [ "tot_cronet_base_allocator_buildflags", "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", "tot_cronet_base_anchor_functions_buildflags", "tot_cronet_base_android_runtime_jni_headers__action", "tot_cronet_base_base_jni__action", "tot_cronet_base_base_shared_preferences_jni__action", "tot_cronet_base_build_date", "tot_cronet_base_callback_jni__action", "tot_cronet_base_cfi_buildflags", "tot_cronet_base_check_version_internal_action", "tot_cronet_base_clang_profiling_buildflags", "tot_cronet_base_command_line_jni__action", "tot_cronet_base_content_uri_utils_jni__action", "tot_cronet_base_debugging_buildflags", "tot_cronet_base_feature_list_buildflags", "tot_cronet_base_fuzzing_buildflags", "tot_cronet_base_ios_cronet_buildflags", "tot_cronet_base_jank_tracker_jni__action", "tot_cronet_base_library_loader_jni__action", "tot_cronet_base_memory_jni__action", "tot_cronet_base_metrics_jni__action", "tot_cronet_base_orderfile_buildflags", "tot_cronet_base_power_monitor_buildflags", "tot_cronet_base_process_launcher_jni__action", "tot_cronet_base_profiler_buildflags", "tot_cronet_base_protected_memory_buildflags", "tot_cronet_base_rust_logger_cxx_generated_gen_header", "tot_cronet_base_sanitizer_buildflags", "tot_cronet_base_synchronization_buildflags", "tot_cronet_base_sys_utils_jni__action", "tot_cronet_base_tasks_jni__action", "tot_cronet_base_tracing_buildflags", "tot_cronet_build_blink_buildflags", "tot_cronet_build_branding_buildflags", "tot_cronet_build_chromecast_buildflags", "tot_cronet_build_chromeos_buildflags", "tot_cronet_build_config_compiler_compiler_buildflags", "tot_cronet_build_ios_buildflags", "tot_cronet_build_robolectric_buildflags", "tot_cronet_components_prefs_android_jni_headers__action", "tot_cronet_third_party_jni_zero_generate_jni__action", "tot_cronet_third_party_jni_zero_system_jni__action", "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", ], defaults: [ "tot_cronet_cc_defaults", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r27_1", "-DCOMPONENTS_PREFS_IMPLEMENTATION", "-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/tot/", "external/cronet/tot/base/allocator/partition_allocator/src/", "external/cronet/tot/buildtools/third_party/libc++/", "external/cronet/tot/third_party/abseil-cpp/", "external/cronet/tot/third_party/boringssl/src/include/", "external/cronet/tot/third_party/libc++/src/include", "external/cronet/tot/third_party/libc++abi/src/include", ], 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", ], }, }, } // GN: //components/prefs:prefs__testing cc_library_static { name: "tot_cronet_components_prefs_prefs__testing", srcs: [ "android/pref_change_registrar_android.cc", "android/pref_service_android.cc", "command_line_pref_store.cc", "default_pref_store.cc", "in_memory_pref_store.cc", "json_pref_store.cc", "overlay_user_pref_store.cc", "persistent_pref_store.cc", "pref_change_registrar.cc", "pref_member.cc", "pref_notifier_impl.cc", "pref_registry.cc", "pref_registry_simple.cc", "pref_service.cc", "pref_service_factory.cc", "pref_store.cc", "pref_value_map.cc", "pref_value_store.cc", "scoped_user_pref_update.cc", "segregated_pref_store.cc", "value_map_pref_store.cc", "wrap_with_prefix_pref_store.cc", "writeable_pref_store.cc", ], 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_components_prefs_android_jni_headers__action__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_components_prefs_android_jni_headers__action__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", "-DCOMPONENTS_PREFS_IMPLEMENTATION", "-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/tot/", "external/cronet/tot/base/allocator/partition_allocator/src/", "external/cronet/tot/buildtools/third_party/libc++/", "external/cronet/tot/third_party/abseil-cpp/", "external/cronet/tot/third_party/boringssl/src/include/", "external/cronet/tot/third_party/libc++/src/include", "external/cronet/tot/third_party/libc++abi/src/include", ], 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", ], }, }, } // GN: //components/prefs:test_support__testing cc_library_static { name: "tot_cronet_components_prefs_test_support__testing", srcs: [ "mock_pref_change_callback.cc", "pref_store_observer_mock.cc", "pref_test_utils.cc", "testing_pref_service.cc", "testing_pref_store.cc", ], 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_test_base_unittests_jni_headers__action__testing", "tot_cronet_base_test_test_rust_logger_consumer_cxx_generated_gen__testing_header", "tot_cronet_base_test_test_support_jni_headers__action__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_components_prefs_android_jni_headers__action__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_test_base_unittests_jni_headers__action__testing", "tot_cronet_base_test_test_rust_logger_consumer_cxx_generated_gen__testing_header", "tot_cronet_base_test_test_support_jni_headers__action__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_components_prefs_android_jni_headers__action__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", "-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/tot/", "external/cronet/tot/base/allocator/partition_allocator/src/", "external/cronet/tot/buildtools/third_party/libc++/", "external/cronet/tot/third_party/abseil-cpp/", "external/cronet/tot/third_party/boringssl/src/include/", "external/cronet/tot/third_party/ced/src/", "external/cronet/tot/third_party/google_benchmark/src/include/", "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/icu/source/common/", "external/cronet/tot/third_party/icu/source/i18n/", "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", ], }, }, }