| // 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. Do not edit. |
| |
| build = ["Android.extras.bp"] |
| |
| // The actual license can be found in Android.extras.bp |
| package { |
| default_applicable_licenses: [ |
| "external_cronet_license", |
| ], |
| default_visibility: [ |
| ":__subpackages__", |
| ], |
| } |
| |
| // GN: //components/cronet/android:cronet_api_java |
| // TODO(danstahr): add the API helpers separately after the main API is checked in and thoroughly reviewed |
| filegroup { |
| name: "cronet_aml_api_sources", |
| srcs: [ |
| ":cronet_aml_components_cronet_android_interface_api_version", |
| "components/cronet/android/api/src/android/net/http/BidirectionalStream.java", |
| "components/cronet/android/api/src/android/net/http/CallbackException.java", |
| "components/cronet/android/api/src/android/net/http/ConnectionMigrationOptions.java", |
| "components/cronet/android/api/src/android/net/http/DnsOptions.java", |
| "components/cronet/android/api/src/android/net/http/ExperimentalBidirectionalStream.java", |
| "components/cronet/android/api/src/android/net/http/ExperimentalHttpEngine.java", |
| "components/cronet/android/api/src/android/net/http/ExperimentalOptionsTranslatingHttpEngineBuilder.java", |
| "components/cronet/android/api/src/android/net/http/ExperimentalUrlRequest.java", |
| "components/cronet/android/api/src/android/net/http/HeaderBlock.java", |
| "components/cronet/android/api/src/android/net/http/HttpEngine.java", |
| "components/cronet/android/api/src/android/net/http/HttpException.java", |
| "components/cronet/android/api/src/android/net/http/IHttpEngineBuilder.java", |
| "components/cronet/android/api/src/android/net/http/InlineExecutionProhibitedException.java", |
| "components/cronet/android/api/src/android/net/http/NetworkException.java", |
| "components/cronet/android/api/src/android/net/http/NetworkQualityRttListener.java", |
| "components/cronet/android/api/src/android/net/http/NetworkQualityThroughputListener.java", |
| "components/cronet/android/api/src/android/net/http/QuicException.java", |
| "components/cronet/android/api/src/android/net/http/QuicOptions.java", |
| "components/cronet/android/api/src/android/net/http/RequestFinishedInfo.java", |
| "components/cronet/android/api/src/android/net/http/UploadDataProvider.java", |
| "components/cronet/android/api/src/android/net/http/UploadDataSink.java", |
| "components/cronet/android/api/src/android/net/http/UrlRequest.java", |
| "components/cronet/android/api/src/android/net/http/UrlResponseInfo.java", |
| ], |
| visibility: [ |
| "//packages/modules/Connectivity:__subpackages__", |
| ], |
| } |
| |
| // GN: //base/allocator:buildflags |
| cc_genrule { |
| name: "cronet_aml_base_allocator_buildflags", |
| cmd: "echo '--flags USE_ALLOCATOR_SHIM=\"true\" USE_PARTITION_ALLOC_AS_GWP_ASAN_STORE=\"false\" USE_ALLOCATION_EVENT_DISPATCHER=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator:buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/allocator/buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base/allocator:buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_allocator_buildflags__testing", |
| cmd: "echo '--flags USE_ALLOCATOR_SHIM=\"true\" USE_PARTITION_ALLOC_AS_GWP_ASAN_STORE=\"false\" USE_ALLOCATION_EVENT_DISPATCHER=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator:buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "base/allocator/buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base/allocator/partition_allocator:chromecast_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags", |
| cmd: "echo '--flags PA_IS_CAST_ANDROID=\"false\" PA_IS_CASTOS=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:chromecast_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/allocator/partition_allocator/chromecast_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base/allocator/partition_allocator:chromecast_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__testing", |
| cmd: "echo '--flags PA_IS_CAST_ANDROID=\"false\" PA_IS_CASTOS=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:chromecast_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "base/allocator/partition_allocator/chromecast_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base/allocator/partition_allocator:chromeos_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags", |
| cmd: "echo '--flags PA_IS_CHROMEOS_ASH=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:chromeos_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/allocator/partition_allocator/chromeos_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base/allocator/partition_allocator:chromeos_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__testing", |
| cmd: "echo '--flags PA_IS_CHROMEOS_ASH=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:chromeos_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "base/allocator/partition_allocator/chromeos_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base/allocator/partition_allocator:debugging_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_allocator_partition_allocator_debugging_buildflags", |
| cmd: "echo '--flags PA_DCHECK_IS_ON=\"false\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"false\" PA_DCHECK_IS_CONFIGURABLE=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:debugging_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/allocator/partition_allocator/partition_alloc_base/debug/debugging_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base/allocator/partition_allocator:debugging_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__testing", |
| cmd: "echo '--flags PA_DCHECK_IS_ON=\"false\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"false\" PA_DCHECK_IS_CONFIGURABLE=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:debugging_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "base/allocator/partition_allocator/partition_alloc_base/debug/debugging_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base/allocator/partition_allocator:logging_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_allocator_partition_allocator_logging_buildflags", |
| cmd: "echo '--flags PA_ENABLE_LOG_ERROR_NOT_REACHED=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:logging_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/allocator/partition_allocator/logging_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base/allocator/partition_allocator:logging_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_allocator_partition_allocator_logging_buildflags__testing", |
| cmd: "echo '--flags PA_ENABLE_LOG_ERROR_NOT_REACHED=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:logging_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "base/allocator/partition_allocator/logging_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base/allocator/partition_allocator:partition_alloc |
| cc_library_static { |
| name: "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| srcs: [ |
| "base/allocator/partition_allocator/address_pool_manager.cc", |
| "base/allocator/partition_allocator/address_pool_manager_bitmap.cc", |
| "base/allocator/partition_allocator/address_space_randomization.cc", |
| "base/allocator/partition_allocator/allocation_guard.cc", |
| "base/allocator/partition_allocator/compressed_pointer.cc", |
| "base/allocator/partition_allocator/dangling_raw_ptr_checks.cc", |
| "base/allocator/partition_allocator/gwp_asan_support.cc", |
| "base/allocator/partition_allocator/memory_reclaimer.cc", |
| "base/allocator/partition_allocator/oom.cc", |
| "base/allocator/partition_allocator/oom_callback.cc", |
| "base/allocator/partition_allocator/page_allocator.cc", |
| "base/allocator/partition_allocator/page_allocator_internals_posix.cc", |
| "base/allocator/partition_allocator/partition_address_space.cc", |
| "base/allocator/partition_allocator/partition_alloc.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/check.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/cpu.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/debug/alias.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/files/file_path.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/files/file_util_posix.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/logging.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/memory/ref_counted.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/native_library.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/native_library_posix.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/posix/safe_strerror.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/rand_util.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/rand_util_posix.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/strings/stringprintf.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread_posix.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/time/time.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/time/time_android.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/time/time_conversion_posix.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/time/time_now_posix.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/time/time_override.cc", |
| "base/allocator/partition_allocator/partition_alloc_hooks.cc", |
| "base/allocator/partition_allocator/partition_bucket.cc", |
| "base/allocator/partition_allocator/partition_oom.cc", |
| "base/allocator/partition_allocator/partition_page.cc", |
| "base/allocator/partition_allocator/partition_root.cc", |
| "base/allocator/partition_allocator/partition_stats.cc", |
| "base/allocator/partition_allocator/pkey.cc", |
| "base/allocator/partition_allocator/random.cc", |
| "base/allocator/partition_allocator/reservation_offset_table.cc", |
| "base/allocator/partition_allocator/spinning_mutex.cc", |
| "base/allocator/partition_allocator/tagging.cc", |
| "base/allocator/partition_allocator/thread_cache.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags", |
| "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags", |
| "cronet_aml_base_allocator_partition_allocator_debugging_buildflags", |
| "cronet_aml_base_allocator_partition_allocator_logging_buildflags", |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags", |
| "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags", |
| "cronet_aml_base_allocator_partition_allocator_debugging_buildflags", |
| "cronet_aml_base_allocator_partition_allocator_logging_buildflags", |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DIS_PARTITION_ALLOC_IMPL", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-O3", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/android_ndk/sources/android/cpufeatures/", |
| ], |
| header_libs: [ |
| "libgtest_prod_headers", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-march=armv8-a+memtag", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //base/allocator/partition_allocator:partition_alloc__testing |
| cc_library_static { |
| name: "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| srcs: [ |
| "base/allocator/partition_allocator/address_pool_manager.cc", |
| "base/allocator/partition_allocator/address_pool_manager_bitmap.cc", |
| "base/allocator/partition_allocator/address_space_randomization.cc", |
| "base/allocator/partition_allocator/allocation_guard.cc", |
| "base/allocator/partition_allocator/compressed_pointer.cc", |
| "base/allocator/partition_allocator/dangling_raw_ptr_checks.cc", |
| "base/allocator/partition_allocator/gwp_asan_support.cc", |
| "base/allocator/partition_allocator/memory_reclaimer.cc", |
| "base/allocator/partition_allocator/oom.cc", |
| "base/allocator/partition_allocator/oom_callback.cc", |
| "base/allocator/partition_allocator/page_allocator.cc", |
| "base/allocator/partition_allocator/page_allocator_internals_posix.cc", |
| "base/allocator/partition_allocator/partition_address_space.cc", |
| "base/allocator/partition_allocator/partition_alloc.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/check.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/cpu.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/debug/alias.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/files/file_util_posix.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/logging.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/memory/ref_counted.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/posix/safe_strerror.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/rand_util.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/rand_util_posix.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/strings/stringprintf.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread_posix.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/time/time.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/time/time_conversion_posix.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/time/time_now_posix.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/time/time_override.cc", |
| "base/allocator/partition_allocator/partition_alloc_hooks.cc", |
| "base/allocator/partition_allocator/partition_bucket.cc", |
| "base/allocator/partition_allocator/partition_oom.cc", |
| "base/allocator/partition_allocator/partition_page.cc", |
| "base/allocator/partition_allocator/partition_root.cc", |
| "base/allocator/partition_allocator/partition_stats.cc", |
| "base/allocator/partition_allocator/pkey.cc", |
| "base/allocator/partition_allocator/random.cc", |
| "base/allocator/partition_allocator/reservation_offset_table.cc", |
| "base/allocator/partition_allocator/spinning_mutex.cc", |
| "base/allocator/partition_allocator/tagging.cc", |
| "base/allocator/partition_allocator/thread_cache.cc", |
| ], |
| host_supported: true, |
| generated_headers: [ |
| "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__testing", |
| "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__testing", |
| "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__testing", |
| "cronet_aml_base_allocator_partition_allocator_logging_buildflags__testing", |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__testing", |
| "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__testing", |
| "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__testing", |
| "cronet_aml_base_allocator_partition_allocator_logging_buildflags__testing", |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DIS_PARTITION_ALLOC_IMPL", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-O3", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| srcs: [ |
| "base/allocator/partition_allocator/partition_alloc_base/files/file_path.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/native_library.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/native_library_posix.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/time/time_android.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-fstack-protector", |
| ], |
| local_include_dirs: [ |
| "third_party/android_ndk/sources/android/cpufeatures/", |
| ], |
| }, |
| android_arm64: { |
| srcs: [ |
| "base/allocator/partition_allocator/partition_alloc_base/files/file_path.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/native_library.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/native_library_posix.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/time/time_android.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-fstack-protector", |
| "-march=armv8-a+memtag", |
| "-mno-outline", |
| ], |
| local_include_dirs: [ |
| "third_party/android_ndk/sources/android/cpufeatures/", |
| ], |
| }, |
| android_x86: { |
| srcs: [ |
| "base/allocator/partition_allocator/partition_alloc_base/files/file_path.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/native_library.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/native_library_posix.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/time/time_android.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-msse3", |
| ], |
| local_include_dirs: [ |
| "third_party/android_ndk/sources/android/cpufeatures/", |
| ], |
| }, |
| android_x86_64: { |
| srcs: [ |
| "base/allocator/partition_allocator/partition_alloc_base/files/file_path.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/native_library.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/native_library_posix.cc", |
| "base/allocator/partition_allocator/partition_alloc_base/time/time_android.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| local_include_dirs: [ |
| "third_party/android_ndk/sources/android/cpufeatures/", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //base/allocator/partition_allocator:partition_alloc_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags", |
| cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags HAS_64_BIT_POINTERS=\"true\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_RAW_PTR_EXPERIMENTAL=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_DANGLING_RAW_PTR_PERF_EXPERIMENT=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" PUT_REF_COUNT_IN_PREVIOUS_SLOT=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_STARSCAN=\"false\" PCSCAN_STACK_SUPPORTED=\"true\" ENABLE_PKEYS=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:partition_alloc_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags HAS_64_BIT_POINTERS=\"false\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_RAW_PTR_EXPERIMENTAL=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_DANGLING_RAW_PTR_PERF_EXPERIMENT=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" PUT_REF_COUNT_IN_PREVIOUS_SLOT=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_STARSCAN=\"false\" PCSCAN_STACK_SUPPORTED=\"false\" ENABLE_PKEYS=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:partition_alloc_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags HAS_64_BIT_POINTERS=\"false\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_RAW_PTR_EXPERIMENTAL=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_DANGLING_RAW_PTR_PERF_EXPERIMENT=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" PUT_REF_COUNT_IN_PREVIOUS_SLOT=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_STARSCAN=\"false\" PCSCAN_STACK_SUPPORTED=\"false\" ENABLE_PKEYS=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:partition_alloc_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags HAS_64_BIT_POINTERS=\"true\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_RAW_PTR_EXPERIMENTAL=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_DANGLING_RAW_PTR_PERF_EXPERIMENT=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" PUT_REF_COUNT_IN_PREVIOUS_SLOT=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_STARSCAN=\"false\" PCSCAN_STACK_SUPPORTED=\"true\" ENABLE_PKEYS=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:partition_alloc_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi;", |
| out: [ |
| "base/allocator/partition_allocator/partition_alloc_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base/allocator/partition_allocator:partition_alloc_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__testing", |
| cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags HAS_64_BIT_POINTERS=\"true\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_RAW_PTR_EXPERIMENTAL=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_DANGLING_RAW_PTR_PERF_EXPERIMENT=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" PUT_REF_COUNT_IN_PREVIOUS_SLOT=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_STARSCAN=\"false\" PCSCAN_STACK_SUPPORTED=\"true\" ENABLE_PKEYS=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:partition_alloc_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ $$CC_OS != 'android' ]]; " + |
| "then " + |
| "echo '--flags HAS_64_BIT_POINTERS=\"true\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_RAW_PTR_EXPERIMENTAL=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_DANGLING_RAW_PTR_PERF_EXPERIMENT=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" PUT_REF_COUNT_IN_PREVIOUS_SLOT=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_STARSCAN=\"false\" PCSCAN_STACK_SUPPORTED=\"true\" ENABLE_PKEYS=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:partition_alloc_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags HAS_64_BIT_POINTERS=\"false\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_RAW_PTR_EXPERIMENTAL=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_DANGLING_RAW_PTR_PERF_EXPERIMENT=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" PUT_REF_COUNT_IN_PREVIOUS_SLOT=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_STARSCAN=\"false\" PCSCAN_STACK_SUPPORTED=\"false\" ENABLE_PKEYS=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:partition_alloc_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags HAS_64_BIT_POINTERS=\"false\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_RAW_PTR_EXPERIMENTAL=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_DANGLING_RAW_PTR_PERF_EXPERIMENT=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" PUT_REF_COUNT_IN_PREVIOUS_SLOT=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_STARSCAN=\"false\" PCSCAN_STACK_SUPPORTED=\"false\" ENABLE_PKEYS=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:partition_alloc_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags HAS_64_BIT_POINTERS=\"true\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_RAW_PTR_EXPERIMENTAL=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_DANGLING_RAW_PTR_PERF_EXPERIMENT=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" PUT_REF_COUNT_IN_PREVIOUS_SLOT=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_STARSCAN=\"false\" PCSCAN_STACK_SUPPORTED=\"true\" ENABLE_PKEYS=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base/allocator/partition_allocator:partition_alloc_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi;", |
| host_supported: true, |
| out: [ |
| "base/allocator/partition_allocator/partition_alloc_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:anchor_functions_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_anchor_functions_buildflags", |
| cmd: "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:anchor_functions_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/android/library_loader/anchor_functions_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:anchor_functions_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_anchor_functions_buildflags__testing", |
| cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:anchor_functions_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ $$CC_OS != 'android' ]]; " + |
| "then " + |
| "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:anchor_functions_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:anchor_functions_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:anchor_functions_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:anchor_functions_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi;", |
| host_supported: true, |
| out: [ |
| "base/android/library_loader/anchor_functions_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:android_runtime_jni_headers |
| cc_genrule { |
| name: "cronet_aml_base_android_runtime_jni_headers", |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/base/android_runtime_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--jar_file " + |
| "$(location :current_android_jar) " + |
| "--output_name " + |
| "Runtime_jni.h " + |
| "--input_file " + |
| "java/lang/Runtime.class " + |
| "--javap " + |
| "$$(find $${OUT_DIR:-out}/.path -name javap) " + |
| "--package_prefix " + |
| "android.net.connectivity", |
| out: [ |
| "base/android_runtime_jni_headers/Runtime_jni.h", |
| ], |
| tool_files: [ |
| ":current_android_jar", |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:android_runtime_jni_headers__testing |
| cc_genrule { |
| name: "cronet_aml_base_android_runtime_jni_headers__testing", |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/base/android_runtime_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--jar_file " + |
| "$(location :current_android_jar) " + |
| "--output_name " + |
| "Runtime_jni.h " + |
| "--input_file " + |
| "java/lang/Runtime.class " + |
| "--javap " + |
| "$$(find $${OUT_DIR:-out}/.path -name javap)", |
| out: [ |
| "base/android_runtime_jni_headers/Runtime_jni.h", |
| ], |
| tool_files: [ |
| ":current_android_jar", |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:android_runtime_unchecked_jni_headers |
| cc_genrule { |
| name: "cronet_aml_base_android_runtime_unchecked_jni_headers", |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/base/android_runtime_unchecked_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--jar_file " + |
| "$(location :current_android_jar) " + |
| "--unchecked_exceptions " + |
| "--output_name " + |
| "Runnable_jni.h " + |
| "--input_file " + |
| "java/lang/Runnable.class " + |
| "--javap " + |
| "$$(find $${OUT_DIR:-out}/.path -name javap) " + |
| "--package_prefix " + |
| "android.net.connectivity", |
| out: [ |
| "base/android_runtime_unchecked_jni_headers/Runnable_jni.h", |
| ], |
| tool_files: [ |
| ":current_android_jar", |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:android_runtime_unchecked_jni_headers__testing |
| cc_genrule { |
| name: "cronet_aml_base_android_runtime_unchecked_jni_headers__testing", |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/base/android_runtime_unchecked_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--jar_file " + |
| "$(location :current_android_jar) " + |
| "--unchecked_exceptions " + |
| "--output_name " + |
| "Runnable_jni.h " + |
| "--input_file " + |
| "java/lang/Runnable.class " + |
| "--javap " + |
| "$$(find $${OUT_DIR:-out}/.path -name javap)", |
| out: [ |
| "base/android_runtime_unchecked_jni_headers/Runnable_jni.h", |
| ], |
| tool_files: [ |
| ":current_android_jar", |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:base |
| cc_library_static { |
| name: "cronet_aml_base_base", |
| srcs: [ |
| "base/allocator/allocator_check.cc", |
| "base/allocator/allocator_extension.cc", |
| "base/allocator/dispatcher/dispatcher.cc", |
| "base/allocator/dispatcher/internal/dispatch_data.cc", |
| "base/allocator/dispatcher/reentry_guard.cc", |
| "base/allocator/dispatcher/tls.cc", |
| "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc", |
| "base/android/android_hardware_buffer_compat.cc", |
| "base/android/android_image_reader_compat.cc", |
| "base/android/apk_assets.cc", |
| "base/android/application_status_listener.cc", |
| "base/android/base_feature_list.cc", |
| "base/android/base_features.cc", |
| "base/android/base_jni_onload.cc", |
| "base/android/build_info.cc", |
| "base/android/bundle_utils.cc", |
| "base/android/callback_android.cc", |
| "base/android/child_process_service.cc", |
| "base/android/command_line_android.cc", |
| "base/android/content_uri_utils.cc", |
| "base/android/cpu_features.cc", |
| "base/android/early_trace_event_binding.cc", |
| "base/android/event_log.cc", |
| "base/android/feature_list_jni.cc", |
| "base/android/features_jni.cc", |
| "base/android/field_trial_list.cc", |
| "base/android/important_file_writer_android.cc", |
| "base/android/int_string_callback.cc", |
| "base/android/java_exception_reporter.cc", |
| "base/android/java_handler_thread.cc", |
| "base/android/java_heap_dump_generator.cc", |
| "base/android/java_runtime.cc", |
| "base/android/jni_android.cc", |
| "base/android/jni_array.cc", |
| "base/android/jni_registrar.cc", |
| "base/android/jni_string.cc", |
| "base/android/jni_utils.cc", |
| "base/android/jni_weak_ref.cc", |
| "base/android/library_loader/anchor_functions.cc", |
| "base/android/library_loader/library_loader_hooks.cc", |
| "base/android/library_loader/library_prefetcher.cc", |
| "base/android/library_loader/library_prefetcher_hooks.cc", |
| "base/android/locale_utils.cc", |
| "base/android/meminfo_dump_provider.cc", |
| "base/android/memory_pressure_listener_android.cc", |
| "base/android/native_uma_recorder.cc", |
| "base/android/path_service_android.cc", |
| "base/android/path_utils.cc", |
| "base/android/radio_utils.cc", |
| "base/android/reached_addresses_bitset.cc", |
| "base/android/remove_stale_data.cc", |
| "base/android/scoped_hardware_buffer_fence_sync.cc", |
| "base/android/scoped_hardware_buffer_handle.cc", |
| "base/android/scoped_java_ref.cc", |
| "base/android/statistics_recorder_android.cc", |
| "base/android/sys_utils.cc", |
| "base/android/task_scheduler/post_task_android.cc", |
| "base/android/task_scheduler/task_runner_android.cc", |
| "base/android/thread_instruction_count.cc", |
| "base/android/timezone_utils.cc", |
| "base/android/trace_event_binding.cc", |
| "base/android/unguessable_token_android.cc", |
| "base/at_exit.cc", |
| "base/barrier_closure.cc", |
| "base/base64.cc", |
| "base/base64url.cc", |
| "base/base_paths.cc", |
| "base/base_paths_android.cc", |
| "base/big_endian.cc", |
| "base/callback_list.cc", |
| "base/check.cc", |
| "base/check_is_test.cc", |
| "base/check_op.cc", |
| "base/command_line.cc", |
| "base/containers/flat_tree.cc", |
| "base/containers/intrusive_heap.cc", |
| "base/containers/linked_list.cc", |
| "base/cpu.cc", |
| "base/cpu_reduction_experiment.cc", |
| "base/debug/alias.cc", |
| "base/debug/asan_invalid_access.cc", |
| "base/debug/asan_service.cc", |
| "base/debug/buffered_dwarf_reader.cc", |
| "base/debug/crash_logging.cc", |
| "base/debug/debugger.cc", |
| "base/debug/debugger_posix.cc", |
| "base/debug/dump_without_crashing.cc", |
| "base/debug/dwarf_line_no.cc", |
| "base/debug/elf_reader.cc", |
| "base/debug/proc_maps_linux.cc", |
| "base/debug/profiler.cc", |
| "base/debug/stack_trace.cc", |
| "base/debug/stack_trace_android.cc", |
| "base/debug/task_trace.cc", |
| "base/environment.cc", |
| "base/feature_list.cc", |
| "base/features.cc", |
| "base/file_descriptor_posix.cc", |
| "base/file_descriptor_store.cc", |
| "base/files/file.cc", |
| "base/files/file_descriptor_watcher_posix.cc", |
| "base/files/file_enumerator.cc", |
| "base/files/file_enumerator_posix.cc", |
| "base/files/file_path.cc", |
| "base/files/file_path_watcher.cc", |
| "base/files/file_path_watcher_inotify.cc", |
| "base/files/file_posix.cc", |
| "base/files/file_proxy.cc", |
| "base/files/file_tracing.cc", |
| "base/files/file_util.cc", |
| "base/files/file_util_android.cc", |
| "base/files/file_util_posix.cc", |
| "base/files/important_file_writer.cc", |
| "base/files/important_file_writer_cleaner.cc", |
| "base/files/memory_mapped_file.cc", |
| "base/files/memory_mapped_file_posix.cc", |
| "base/files/safe_base_name.cc", |
| "base/files/scoped_file.cc", |
| "base/files/scoped_file_android.cc", |
| "base/files/scoped_temp_dir.cc", |
| "base/functional/callback_helpers.cc", |
| "base/functional/callback_internal.cc", |
| "base/hash/hash.cc", |
| "base/hash/legacy_hash.cc", |
| "base/hash/md5_boringssl.cc", |
| "base/hash/sha1_boringssl.cc", |
| "base/json/json_file_value_serializer.cc", |
| "base/json/json_parser.cc", |
| "base/json/json_reader.cc", |
| "base/json/json_string_value_serializer.cc", |
| "base/json/json_value_converter.cc", |
| "base/json/json_writer.cc", |
| "base/json/string_escape.cc", |
| "base/json/values_util.cc", |
| "base/lazy_instance_helpers.cc", |
| "base/linux_util.cc", |
| "base/location.cc", |
| "base/logging.cc", |
| "base/memory/aligned_memory.cc", |
| "base/memory/discardable_memory.cc", |
| "base/memory/discardable_memory_allocator.cc", |
| "base/memory/discardable_shared_memory.cc", |
| "base/memory/madv_free_discardable_memory_allocator_posix.cc", |
| "base/memory/madv_free_discardable_memory_posix.cc", |
| "base/memory/memory_pressure_listener.cc", |
| "base/memory/memory_pressure_monitor.cc", |
| "base/memory/nonscannable_memory.cc", |
| "base/memory/page_size_posix.cc", |
| "base/memory/platform_shared_memory_handle.cc", |
| "base/memory/platform_shared_memory_mapper_android.cc", |
| "base/memory/platform_shared_memory_region.cc", |
| "base/memory/platform_shared_memory_region_android.cc", |
| "base/memory/raw_ptr_asan_bound_arg_tracker.cc", |
| "base/memory/raw_ptr_asan_hooks.cc", |
| "base/memory/raw_ptr_asan_service.cc", |
| "base/memory/read_only_shared_memory_region.cc", |
| "base/memory/ref_counted.cc", |
| "base/memory/ref_counted_memory.cc", |
| "base/memory/shared_memory_mapper.cc", |
| "base/memory/shared_memory_mapping.cc", |
| "base/memory/shared_memory_security_policy.cc", |
| "base/memory/shared_memory_tracker.cc", |
| "base/memory/unsafe_shared_memory_pool.cc", |
| "base/memory/unsafe_shared_memory_region.cc", |
| "base/memory/weak_ptr.cc", |
| "base/memory/writable_shared_memory_region.cc", |
| "base/message_loop/message_pump.cc", |
| "base/message_loop/message_pump_android.cc", |
| "base/message_loop/message_pump_default.cc", |
| "base/message_loop/message_pump_epoll.cc", |
| "base/message_loop/message_pump_libevent.cc", |
| "base/message_loop/watchable_io_message_pump_posix.cc", |
| "base/message_loop/work_id_provider.cc", |
| "base/metrics/bucket_ranges.cc", |
| "base/metrics/crc32.cc", |
| "base/metrics/dummy_histogram.cc", |
| "base/metrics/field_trial.cc", |
| "base/metrics/field_trial_list_including_low_anonymity.cc", |
| "base/metrics/field_trial_param_associator.cc", |
| "base/metrics/field_trial_params.cc", |
| "base/metrics/histogram.cc", |
| "base/metrics/histogram_base.cc", |
| "base/metrics/histogram_delta_serialization.cc", |
| "base/metrics/histogram_functions.cc", |
| "base/metrics/histogram_samples.cc", |
| "base/metrics/histogram_snapshot_manager.cc", |
| "base/metrics/metrics_hashes.cc", |
| "base/metrics/persistent_histogram_allocator.cc", |
| "base/metrics/persistent_histogram_storage.cc", |
| "base/metrics/persistent_memory_allocator.cc", |
| "base/metrics/persistent_sample_map.cc", |
| "base/metrics/ranges_manager.cc", |
| "base/metrics/sample_map.cc", |
| "base/metrics/sample_vector.cc", |
| "base/metrics/single_sample_metrics.cc", |
| "base/metrics/sparse_histogram.cc", |
| "base/metrics/statistics_recorder.cc", |
| "base/metrics/user_metrics.cc", |
| "base/native_library.cc", |
| "base/native_library_posix.cc", |
| "base/observer_list_internal.cc", |
| "base/observer_list_threadsafe.cc", |
| "base/observer_list_types.cc", |
| "base/one_shot_event.cc", |
| "base/os_compat_android.cc", |
| "base/path_service.cc", |
| "base/pending_task.cc", |
| "base/pickle.cc", |
| "base/posix/can_lower_nice_to.cc", |
| "base/posix/file_descriptor_shuffle.cc", |
| "base/posix/global_descriptors.cc", |
| "base/posix/safe_strerror.cc", |
| "base/posix/unix_domain_socket.cc", |
| "base/power_monitor/battery_level_provider.cc", |
| "base/power_monitor/battery_state_sampler.cc", |
| "base/power_monitor/moving_average.cc", |
| "base/power_monitor/power_monitor.cc", |
| "base/power_monitor/power_monitor_device_source.cc", |
| "base/power_monitor/power_monitor_device_source_android.cc", |
| "base/power_monitor/power_monitor_features.cc", |
| "base/power_monitor/power_monitor_source.cc", |
| "base/power_monitor/sampling_event_source.cc", |
| "base/power_monitor/timer_sampling_event_source.cc", |
| "base/process/current_process.cc", |
| "base/process/environment_internal.cc", |
| "base/process/internal_linux.cc", |
| "base/process/kill.cc", |
| "base/process/kill_posix.cc", |
| "base/process/launch.cc", |
| "base/process/launch_posix.cc", |
| "base/process/memory.cc", |
| "base/process/memory_linux.cc", |
| "base/process/process_android.cc", |
| "base/process/process_handle.cc", |
| "base/process/process_handle_linux.cc", |
| "base/process/process_handle_posix.cc", |
| "base/process/process_iterator.cc", |
| "base/process/process_iterator_linux.cc", |
| "base/process/process_metrics.cc", |
| "base/process/process_metrics_linux.cc", |
| "base/process/process_metrics_posix.cc", |
| "base/process/process_posix.cc", |
| "base/profiler/frame.cc", |
| "base/profiler/metadata_recorder.cc", |
| "base/profiler/module_cache.cc", |
| "base/profiler/module_cache_posix.cc", |
| "base/profiler/sample_metadata.cc", |
| "base/profiler/sampling_profiler_thread_token.cc", |
| "base/profiler/stack_base_address_posix.cc", |
| "base/profiler/stack_buffer.cc", |
| "base/profiler/stack_copier.cc", |
| "base/profiler/stack_copier_signal.cc", |
| "base/profiler/stack_copier_suspend.cc", |
| "base/profiler/stack_sampler.cc", |
| "base/profiler/stack_sampler_android.cc", |
| "base/profiler/stack_sampling_profiler.cc", |
| "base/profiler/thread_delegate_posix.cc", |
| "base/profiler/unwinder.cc", |
| "base/rand_util.cc", |
| "base/rand_util_posix.cc", |
| "base/run_loop.cc", |
| "base/sampling_heap_profiler/lock_free_address_hash_set.cc", |
| "base/sampling_heap_profiler/poisson_allocation_sampler.cc", |
| "base/sampling_heap_profiler/sampling_heap_profiler.cc", |
| "base/scoped_add_feature_flags.cc", |
| "base/scoped_environment_variable_override.cc", |
| "base/scoped_native_library.cc", |
| "base/sequence_checker.cc", |
| "base/sequence_checker_impl.cc", |
| "base/sequence_token.cc", |
| "base/strings/abseil_string_number_conversions.cc", |
| "base/strings/escape.cc", |
| "base/strings/latin1_string_conversions.cc", |
| "base/strings/pattern.cc", |
| "base/strings/safe_sprintf.cc", |
| "base/strings/strcat.cc", |
| "base/strings/string_number_conversions.cc", |
| "base/strings/string_piece.cc", |
| "base/strings/string_split.cc", |
| "base/strings/string_util.cc", |
| "base/strings/string_util_constants.cc", |
| "base/strings/stringprintf.cc", |
| "base/strings/sys_string_conversions_posix.cc", |
| "base/strings/utf_offset_string_conversions.cc", |
| "base/strings/utf_string_conversion_utils.cc", |
| "base/strings/utf_string_conversions.cc", |
| "base/substring_set_matcher/matcher_string_pattern.cc", |
| "base/substring_set_matcher/substring_set_matcher.cc", |
| "base/supports_user_data.cc", |
| "base/sync_socket.cc", |
| "base/sync_socket_posix.cc", |
| "base/synchronization/atomic_flag.cc", |
| "base/synchronization/condition_variable_posix.cc", |
| "base/synchronization/lock.cc", |
| "base/synchronization/lock_impl_posix.cc", |
| "base/synchronization/waitable_event.cc", |
| "base/synchronization/waitable_event_posix.cc", |
| "base/synchronization/waitable_event_watcher_posix.cc", |
| "base/syslog_logging.cc", |
| "base/system/sys_info.cc", |
| "base/system/sys_info_android.cc", |
| "base/system/sys_info_linux.cc", |
| "base/system/sys_info_posix.cc", |
| "base/system/system_monitor.cc", |
| "base/task/cancelable_task_tracker.cc", |
| "base/task/common/checked_lock_impl.cc", |
| "base/task/common/lazy_now.cc", |
| "base/task/common/operations_controller.cc", |
| "base/task/common/scoped_defer_task_posting.cc", |
| "base/task/common/task_annotator.cc", |
| "base/task/current_thread.cc", |
| "base/task/default_delayed_task_handle_delegate.cc", |
| "base/task/deferred_sequenced_task_runner.cc", |
| "base/task/delayed_task_handle.cc", |
| "base/task/lazy_thread_pool_task_runner.cc", |
| "base/task/post_job.cc", |
| "base/task/scoped_set_task_priority_for_current_thread.cc", |
| "base/task/sequence_manager/associated_thread_id.cc", |
| "base/task/sequence_manager/atomic_flag_set.cc", |
| "base/task/sequence_manager/delayed_task_handle_delegate.cc", |
| "base/task/sequence_manager/enqueue_order_generator.cc", |
| "base/task/sequence_manager/fence.cc", |
| "base/task/sequence_manager/hierarchical_timing_wheel.cc", |
| "base/task/sequence_manager/sequence_manager.cc", |
| "base/task/sequence_manager/sequence_manager_impl.cc", |
| "base/task/sequence_manager/sequenced_task_source.cc", |
| "base/task/sequence_manager/task_order.cc", |
| "base/task/sequence_manager/task_queue.cc", |
| "base/task/sequence_manager/task_queue_impl.cc", |
| "base/task/sequence_manager/task_queue_selector.cc", |
| "base/task/sequence_manager/tasks.cc", |
| "base/task/sequence_manager/thread_controller.cc", |
| "base/task/sequence_manager/thread_controller_impl.cc", |
| "base/task/sequence_manager/thread_controller_power_monitor.cc", |
| "base/task/sequence_manager/thread_controller_with_message_pump_impl.cc", |
| "base/task/sequence_manager/time_domain.cc", |
| "base/task/sequence_manager/timing_wheel.cc", |
| "base/task/sequence_manager/wake_up_queue.cc", |
| "base/task/sequence_manager/work_deduplicator.cc", |
| "base/task/sequence_manager/work_queue.cc", |
| "base/task/sequence_manager/work_queue_sets.cc", |
| "base/task/sequenced_task_runner.cc", |
| "base/task/single_thread_task_executor.cc", |
| "base/task/single_thread_task_runner.cc", |
| "base/task/task_features.cc", |
| "base/task/task_runner.cc", |
| "base/task/task_traits.cc", |
| "base/task/thread_pool.cc", |
| "base/task/thread_pool/delayed_priority_queue.cc", |
| "base/task/thread_pool/delayed_task_manager.cc", |
| "base/task/thread_pool/environment_config.cc", |
| "base/task/thread_pool/initialization_util.cc", |
| "base/task/thread_pool/job_task_source.cc", |
| "base/task/thread_pool/pooled_parallel_task_runner.cc", |
| "base/task/thread_pool/pooled_sequenced_task_runner.cc", |
| "base/task/thread_pool/pooled_single_thread_task_runner_manager.cc", |
| "base/task/thread_pool/pooled_task_runner_delegate.cc", |
| "base/task/thread_pool/priority_queue.cc", |
| "base/task/thread_pool/sequence.cc", |
| "base/task/thread_pool/service_thread.cc", |
| "base/task/thread_pool/task.cc", |
| "base/task/thread_pool/task_source.cc", |
| "base/task/thread_pool/task_source_sort_key.cc", |
| "base/task/thread_pool/task_tracker.cc", |
| "base/task/thread_pool/thread_group.cc", |
| "base/task/thread_pool/thread_group_impl.cc", |
| "base/task/thread_pool/thread_pool_impl.cc", |
| "base/task/thread_pool/thread_pool_instance.cc", |
| "base/task/thread_pool/worker_thread.cc", |
| "base/task/thread_pool/worker_thread_set.cc", |
| "base/third_party/cityhash/city.cc", |
| "base/third_party/cityhash_v103/src/city_v103.cc", |
| "base/third_party/nspr/prtime.cc", |
| "base/third_party/superfasthash/superfasthash.c", |
| "base/threading/hang_watcher.cc", |
| "base/threading/platform_thread.cc", |
| "base/threading/platform_thread_android.cc", |
| "base/threading/platform_thread_internal_posix.cc", |
| "base/threading/platform_thread_posix.cc", |
| "base/threading/platform_thread_ref.cc", |
| "base/threading/post_task_and_reply_impl.cc", |
| "base/threading/scoped_blocking_call.cc", |
| "base/threading/scoped_blocking_call_internal.cc", |
| "base/threading/scoped_thread_priority.cc", |
| "base/threading/sequence_local_storage_map.cc", |
| "base/threading/sequence_local_storage_slot.cc", |
| "base/threading/simple_thread.cc", |
| "base/threading/thread.cc", |
| "base/threading/thread_checker.cc", |
| "base/threading/thread_checker_impl.cc", |
| "base/threading/thread_collision_warner.cc", |
| "base/threading/thread_id_name_manager.cc", |
| "base/threading/thread_local_storage.cc", |
| "base/threading/thread_local_storage_posix.cc", |
| "base/threading/thread_restrictions.cc", |
| "base/threading/watchdog.cc", |
| "base/time/clock.cc", |
| "base/time/default_clock.cc", |
| "base/time/default_tick_clock.cc", |
| "base/time/tick_clock.cc", |
| "base/time/time.cc", |
| "base/time/time_android.cc", |
| "base/time/time_conversion_posix.cc", |
| "base/time/time_delta_from_string.cc", |
| "base/time/time_exploded_icu.cc", |
| "base/time/time_exploded_posix.cc", |
| "base/time/time_now_posix.cc", |
| "base/time/time_override.cc", |
| "base/time/time_to_iso8601.cc", |
| "base/timer/elapsed_timer.cc", |
| "base/timer/hi_res_timer_manager_posix.cc", |
| "base/timer/lap_timer.cc", |
| "base/timer/timer.cc", |
| "base/timer/wall_clock_timer.cc", |
| "base/token.cc", |
| "base/trace_event/heap_profiler_allocation_context.cc", |
| "base/trace_event/heap_profiler_allocation_context_tracker.cc", |
| "base/trace_event/memory_allocator_dump_guid.cc", |
| "base/trace_event/memory_usage_estimator.cc", |
| "base/trace_event/trace_event_stub.cc", |
| "base/trace_event/trace_id_helper.cc", |
| "base/unguessable_token.cc", |
| "base/uuid.cc", |
| "base/value_iterators.cc", |
| "base/values.cc", |
| "base/version.cc", |
| "base/vlog.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_allocator_buildflags", |
| "cronet_aml_base_anchor_functions_buildflags", |
| "cronet_aml_base_android_runtime_jni_headers", |
| "cronet_aml_base_android_runtime_unchecked_jni_headers", |
| "cronet_aml_base_base_jni_headers", |
| "cronet_aml_base_build_date", |
| "cronet_aml_base_cfi_buildflags", |
| "cronet_aml_base_clang_profiling_buildflags", |
| "cronet_aml_base_debugging_buildflags", |
| "cronet_aml_base_feature_list_buildflags", |
| "cronet_aml_base_ios_cronet_buildflags", |
| "cronet_aml_base_logging_buildflags", |
| "cronet_aml_base_message_pump_buildflags", |
| "cronet_aml_base_orderfile_buildflags", |
| "cronet_aml_base_power_monitor_buildflags", |
| "cronet_aml_base_profiler_buildflags", |
| "cronet_aml_base_rust_buildflags", |
| "cronet_aml_base_sanitizer_buildflags", |
| "cronet_aml_base_synchronization_buildflags", |
| "cronet_aml_base_tracing_buildflags", |
| "cronet_aml_build_blink_buildflags", |
| "cronet_aml_build_branding_buildflags", |
| "cronet_aml_build_chromecast_buildflags", |
| "cronet_aml_build_chromeos_buildflags", |
| "cronet_aml_build_config_compiler_compiler_buildflags", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_base_allocator_buildflags", |
| "cronet_aml_base_anchor_functions_buildflags", |
| "cronet_aml_base_android_runtime_jni_headers", |
| "cronet_aml_base_android_runtime_unchecked_jni_headers", |
| "cronet_aml_base_base_jni_headers", |
| "cronet_aml_base_build_date", |
| "cronet_aml_base_cfi_buildflags", |
| "cronet_aml_base_clang_profiling_buildflags", |
| "cronet_aml_base_debugging_buildflags", |
| "cronet_aml_base_feature_list_buildflags", |
| "cronet_aml_base_ios_cronet_buildflags", |
| "cronet_aml_base_logging_buildflags", |
| "cronet_aml_base_message_pump_buildflags", |
| "cronet_aml_base_orderfile_buildflags", |
| "cronet_aml_base_power_monitor_buildflags", |
| "cronet_aml_base_profiler_buildflags", |
| "cronet_aml_base_rust_buildflags", |
| "cronet_aml_base_sanitizer_buildflags", |
| "cronet_aml_base_synchronization_buildflags", |
| "cronet_aml_base_tracing_buildflags", |
| "cronet_aml_build_blink_buildflags", |
| "cronet_aml_build_branding_buildflags", |
| "cronet_aml_build_chromecast_buildflags", |
| "cronet_aml_build_chromeos_buildflags", |
| "cronet_aml_build_config_compiler_compiler_buildflags", |
| ], |
| export_header_lib_headers: [ |
| "libgtest_prod_headers", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DBASE_IMPLEMENTATION", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DIS_RAW_PTR_IMPL", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-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_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/android_ndk/sources/android/cpufeatures/", |
| "third_party/boringssl/src/include/", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| ], |
| header_libs: [ |
| "libgtest_prod_headers", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android: { |
| srcs: [ |
| "base/allocator/partition_allocator/shim/allocator_shim.cc", |
| ], |
| }, |
| android_arm: { |
| srcs: [ |
| "base/android/reached_code_profiler.cc", |
| "base/profiler/chrome_unwind_info_android.cc", |
| "base/profiler/chrome_unwinder_android.cc", |
| "base/trace_event/cfi_backtrace_android.cc", |
| ], |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| srcs: [ |
| "base/android/reached_code_profiler.cc", |
| "base/profiler/frame_pointer_unwinder.cc", |
| ], |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| srcs: [ |
| "base/android/reached_code_profiler_stub.cc", |
| ], |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| srcs: [ |
| "base/android/reached_code_profiler_stub.cc", |
| ], |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| glibc: { |
| srcs: [ |
| "base/allocator/partition_allocator/shim/allocator_shim.cc", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //base:base__testing |
| cc_library_static { |
| name: "cronet_aml_base_base__testing", |
| srcs: [ |
| "base/allocator/allocator_check.cc", |
| "base/allocator/allocator_extension.cc", |
| "base/allocator/dispatcher/dispatcher.cc", |
| "base/allocator/dispatcher/internal/dispatch_data.cc", |
| "base/allocator/dispatcher/reentry_guard.cc", |
| "base/allocator/dispatcher/tls.cc", |
| "base/at_exit.cc", |
| "base/barrier_closure.cc", |
| "base/base64.cc", |
| "base/base64url.cc", |
| "base/base_paths.cc", |
| "base/big_endian.cc", |
| "base/callback_list.cc", |
| "base/check.cc", |
| "base/check_is_test.cc", |
| "base/check_op.cc", |
| "base/command_line.cc", |
| "base/containers/flat_tree.cc", |
| "base/containers/intrusive_heap.cc", |
| "base/containers/linked_list.cc", |
| "base/cpu.cc", |
| "base/cpu_reduction_experiment.cc", |
| "base/debug/alias.cc", |
| "base/debug/asan_invalid_access.cc", |
| "base/debug/asan_service.cc", |
| "base/debug/buffered_dwarf_reader.cc", |
| "base/debug/crash_logging.cc", |
| "base/debug/debugger.cc", |
| "base/debug/debugger_posix.cc", |
| "base/debug/dump_without_crashing.cc", |
| "base/debug/dwarf_line_no.cc", |
| "base/debug/elf_reader.cc", |
| "base/debug/proc_maps_linux.cc", |
| "base/debug/profiler.cc", |
| "base/debug/stack_trace.cc", |
| "base/debug/task_trace.cc", |
| "base/environment.cc", |
| "base/feature_list.cc", |
| "base/features.cc", |
| "base/file_descriptor_posix.cc", |
| "base/file_descriptor_store.cc", |
| "base/files/file.cc", |
| "base/files/file_descriptor_watcher_posix.cc", |
| "base/files/file_enumerator.cc", |
| "base/files/file_enumerator_posix.cc", |
| "base/files/file_path.cc", |
| "base/files/file_path_watcher.cc", |
| "base/files/file_path_watcher_inotify.cc", |
| "base/files/file_posix.cc", |
| "base/files/file_proxy.cc", |
| "base/files/file_tracing.cc", |
| "base/files/file_util.cc", |
| "base/files/file_util_posix.cc", |
| "base/files/important_file_writer.cc", |
| "base/files/important_file_writer_cleaner.cc", |
| "base/files/memory_mapped_file.cc", |
| "base/files/memory_mapped_file_posix.cc", |
| "base/files/safe_base_name.cc", |
| "base/files/scoped_file.cc", |
| "base/files/scoped_temp_dir.cc", |
| "base/functional/callback_helpers.cc", |
| "base/functional/callback_internal.cc", |
| "base/hash/hash.cc", |
| "base/hash/legacy_hash.cc", |
| "base/hash/md5_boringssl.cc", |
| "base/hash/sha1_boringssl.cc", |
| "base/json/json_file_value_serializer.cc", |
| "base/json/json_parser.cc", |
| "base/json/json_reader.cc", |
| "base/json/json_string_value_serializer.cc", |
| "base/json/json_value_converter.cc", |
| "base/json/json_writer.cc", |
| "base/json/string_escape.cc", |
| "base/json/values_util.cc", |
| "base/lazy_instance_helpers.cc", |
| "base/linux_util.cc", |
| "base/location.cc", |
| "base/logging.cc", |
| "base/memory/aligned_memory.cc", |
| "base/memory/discardable_memory.cc", |
| "base/memory/discardable_memory_allocator.cc", |
| "base/memory/discardable_shared_memory.cc", |
| "base/memory/madv_free_discardable_memory_allocator_posix.cc", |
| "base/memory/madv_free_discardable_memory_posix.cc", |
| "base/memory/memory_pressure_listener.cc", |
| "base/memory/memory_pressure_monitor.cc", |
| "base/memory/nonscannable_memory.cc", |
| "base/memory/page_size_posix.cc", |
| "base/memory/platform_shared_memory_handle.cc", |
| "base/memory/platform_shared_memory_region.cc", |
| "base/memory/raw_ptr_asan_bound_arg_tracker.cc", |
| "base/memory/raw_ptr_asan_hooks.cc", |
| "base/memory/raw_ptr_asan_service.cc", |
| "base/memory/read_only_shared_memory_region.cc", |
| "base/memory/ref_counted.cc", |
| "base/memory/ref_counted_memory.cc", |
| "base/memory/shared_memory_mapper.cc", |
| "base/memory/shared_memory_mapping.cc", |
| "base/memory/shared_memory_security_policy.cc", |
| "base/memory/shared_memory_tracker.cc", |
| "base/memory/unsafe_shared_memory_pool.cc", |
| "base/memory/unsafe_shared_memory_region.cc", |
| "base/memory/weak_ptr.cc", |
| "base/memory/writable_shared_memory_region.cc", |
| "base/message_loop/message_pump.cc", |
| "base/message_loop/message_pump_default.cc", |
| "base/message_loop/message_pump_epoll.cc", |
| "base/message_loop/message_pump_libevent.cc", |
| "base/message_loop/watchable_io_message_pump_posix.cc", |
| "base/message_loop/work_id_provider.cc", |
| "base/metrics/bucket_ranges.cc", |
| "base/metrics/crc32.cc", |
| "base/metrics/dummy_histogram.cc", |
| "base/metrics/field_trial.cc", |
| "base/metrics/field_trial_list_including_low_anonymity.cc", |
| "base/metrics/field_trial_param_associator.cc", |
| "base/metrics/field_trial_params.cc", |
| "base/metrics/histogram.cc", |
| "base/metrics/histogram_base.cc", |
| "base/metrics/histogram_delta_serialization.cc", |
| "base/metrics/histogram_functions.cc", |
| "base/metrics/histogram_samples.cc", |
| "base/metrics/histogram_snapshot_manager.cc", |
| "base/metrics/metrics_hashes.cc", |
| "base/metrics/persistent_histogram_allocator.cc", |
| "base/metrics/persistent_histogram_storage.cc", |
| "base/metrics/persistent_memory_allocator.cc", |
| "base/metrics/persistent_sample_map.cc", |
| "base/metrics/ranges_manager.cc", |
| "base/metrics/sample_map.cc", |
| "base/metrics/sample_vector.cc", |
| "base/metrics/single_sample_metrics.cc", |
| "base/metrics/sparse_histogram.cc", |
| "base/metrics/statistics_recorder.cc", |
| "base/metrics/user_metrics.cc", |
| "base/native_library.cc", |
| "base/native_library_posix.cc", |
| "base/observer_list_internal.cc", |
| "base/observer_list_threadsafe.cc", |
| "base/observer_list_types.cc", |
| "base/one_shot_event.cc", |
| "base/path_service.cc", |
| "base/pending_task.cc", |
| "base/pickle.cc", |
| "base/posix/can_lower_nice_to.cc", |
| "base/posix/file_descriptor_shuffle.cc", |
| "base/posix/global_descriptors.cc", |
| "base/posix/safe_strerror.cc", |
| "base/posix/unix_domain_socket.cc", |
| "base/power_monitor/battery_level_provider.cc", |
| "base/power_monitor/battery_state_sampler.cc", |
| "base/power_monitor/moving_average.cc", |
| "base/power_monitor/power_monitor.cc", |
| "base/power_monitor/power_monitor_device_source.cc", |
| "base/power_monitor/power_monitor_features.cc", |
| "base/power_monitor/power_monitor_source.cc", |
| "base/power_monitor/sampling_event_source.cc", |
| "base/power_monitor/timer_sampling_event_source.cc", |
| "base/process/current_process.cc", |
| "base/process/environment_internal.cc", |
| "base/process/internal_linux.cc", |
| "base/process/kill.cc", |
| "base/process/kill_posix.cc", |
| "base/process/launch.cc", |
| "base/process/launch_posix.cc", |
| "base/process/memory.cc", |
| "base/process/memory_linux.cc", |
| "base/process/process_handle.cc", |
| "base/process/process_handle_linux.cc", |
| "base/process/process_handle_posix.cc", |
| "base/process/process_iterator.cc", |
| "base/process/process_iterator_linux.cc", |
| "base/process/process_metrics.cc", |
| "base/process/process_metrics_linux.cc", |
| "base/process/process_metrics_posix.cc", |
| "base/process/process_posix.cc", |
| "base/profiler/frame.cc", |
| "base/profiler/metadata_recorder.cc", |
| "base/profiler/module_cache.cc", |
| "base/profiler/module_cache_posix.cc", |
| "base/profiler/sample_metadata.cc", |
| "base/profiler/sampling_profiler_thread_token.cc", |
| "base/profiler/stack_base_address_posix.cc", |
| "base/profiler/stack_buffer.cc", |
| "base/profiler/stack_copier.cc", |
| "base/profiler/stack_copier_signal.cc", |
| "base/profiler/stack_copier_suspend.cc", |
| "base/profiler/stack_sampler.cc", |
| "base/profiler/stack_sampling_profiler.cc", |
| "base/profiler/thread_delegate_posix.cc", |
| "base/profiler/unwinder.cc", |
| "base/rand_util.cc", |
| "base/rand_util_posix.cc", |
| "base/run_loop.cc", |
| "base/sampling_heap_profiler/lock_free_address_hash_set.cc", |
| "base/sampling_heap_profiler/poisson_allocation_sampler.cc", |
| "base/sampling_heap_profiler/sampling_heap_profiler.cc", |
| "base/scoped_add_feature_flags.cc", |
| "base/scoped_environment_variable_override.cc", |
| "base/scoped_native_library.cc", |
| "base/sequence_checker.cc", |
| "base/sequence_checker_impl.cc", |
| "base/sequence_token.cc", |
| "base/strings/abseil_string_number_conversions.cc", |
| "base/strings/escape.cc", |
| "base/strings/latin1_string_conversions.cc", |
| "base/strings/pattern.cc", |
| "base/strings/safe_sprintf.cc", |
| "base/strings/strcat.cc", |
| "base/strings/string_number_conversions.cc", |
| "base/strings/string_piece.cc", |
| "base/strings/string_split.cc", |
| "base/strings/string_util.cc", |
| "base/strings/string_util_constants.cc", |
| "base/strings/stringprintf.cc", |
| "base/strings/sys_string_conversions_posix.cc", |
| "base/strings/utf_offset_string_conversions.cc", |
| "base/strings/utf_string_conversion_utils.cc", |
| "base/strings/utf_string_conversions.cc", |
| "base/substring_set_matcher/matcher_string_pattern.cc", |
| "base/substring_set_matcher/substring_set_matcher.cc", |
| "base/supports_user_data.cc", |
| "base/sync_socket.cc", |
| "base/sync_socket_posix.cc", |
| "base/synchronization/atomic_flag.cc", |
| "base/synchronization/condition_variable_posix.cc", |
| "base/synchronization/lock.cc", |
| "base/synchronization/lock_impl_posix.cc", |
| "base/synchronization/waitable_event.cc", |
| "base/synchronization/waitable_event_posix.cc", |
| "base/synchronization/waitable_event_watcher_posix.cc", |
| "base/syslog_logging.cc", |
| "base/system/sys_info.cc", |
| "base/system/sys_info_linux.cc", |
| "base/system/sys_info_posix.cc", |
| "base/system/system_monitor.cc", |
| "base/task/cancelable_task_tracker.cc", |
| "base/task/common/checked_lock_impl.cc", |
| "base/task/common/lazy_now.cc", |
| "base/task/common/operations_controller.cc", |
| "base/task/common/scoped_defer_task_posting.cc", |
| "base/task/common/task_annotator.cc", |
| "base/task/current_thread.cc", |
| "base/task/default_delayed_task_handle_delegate.cc", |
| "base/task/deferred_sequenced_task_runner.cc", |
| "base/task/delayed_task_handle.cc", |
| "base/task/lazy_thread_pool_task_runner.cc", |
| "base/task/post_job.cc", |
| "base/task/scoped_set_task_priority_for_current_thread.cc", |
| "base/task/sequence_manager/associated_thread_id.cc", |
| "base/task/sequence_manager/atomic_flag_set.cc", |
| "base/task/sequence_manager/delayed_task_handle_delegate.cc", |
| "base/task/sequence_manager/enqueue_order_generator.cc", |
| "base/task/sequence_manager/fence.cc", |
| "base/task/sequence_manager/hierarchical_timing_wheel.cc", |
| "base/task/sequence_manager/sequence_manager.cc", |
| "base/task/sequence_manager/sequence_manager_impl.cc", |
| "base/task/sequence_manager/sequenced_task_source.cc", |
| "base/task/sequence_manager/task_order.cc", |
| "base/task/sequence_manager/task_queue.cc", |
| "base/task/sequence_manager/task_queue_impl.cc", |
| "base/task/sequence_manager/task_queue_selector.cc", |
| "base/task/sequence_manager/tasks.cc", |
| "base/task/sequence_manager/thread_controller.cc", |
| "base/task/sequence_manager/thread_controller_impl.cc", |
| "base/task/sequence_manager/thread_controller_power_monitor.cc", |
| "base/task/sequence_manager/thread_controller_with_message_pump_impl.cc", |
| "base/task/sequence_manager/time_domain.cc", |
| "base/task/sequence_manager/timing_wheel.cc", |
| "base/task/sequence_manager/wake_up_queue.cc", |
| "base/task/sequence_manager/work_deduplicator.cc", |
| "base/task/sequence_manager/work_queue.cc", |
| "base/task/sequence_manager/work_queue_sets.cc", |
| "base/task/sequenced_task_runner.cc", |
| "base/task/single_thread_task_executor.cc", |
| "base/task/single_thread_task_runner.cc", |
| "base/task/task_features.cc", |
| "base/task/task_runner.cc", |
| "base/task/task_traits.cc", |
| "base/task/thread_pool.cc", |
| "base/task/thread_pool/delayed_priority_queue.cc", |
| "base/task/thread_pool/delayed_task_manager.cc", |
| "base/task/thread_pool/environment_config.cc", |
| "base/task/thread_pool/initialization_util.cc", |
| "base/task/thread_pool/job_task_source.cc", |
| "base/task/thread_pool/pooled_parallel_task_runner.cc", |
| "base/task/thread_pool/pooled_sequenced_task_runner.cc", |
| "base/task/thread_pool/pooled_single_thread_task_runner_manager.cc", |
| "base/task/thread_pool/pooled_task_runner_delegate.cc", |
| "base/task/thread_pool/priority_queue.cc", |
| "base/task/thread_pool/sequence.cc", |
| "base/task/thread_pool/service_thread.cc", |
| "base/task/thread_pool/task.cc", |
| "base/task/thread_pool/task_source.cc", |
| "base/task/thread_pool/task_source_sort_key.cc", |
| "base/task/thread_pool/task_tracker.cc", |
| "base/task/thread_pool/thread_group.cc", |
| "base/task/thread_pool/thread_group_impl.cc", |
| "base/task/thread_pool/thread_pool_impl.cc", |
| "base/task/thread_pool/thread_pool_instance.cc", |
| "base/task/thread_pool/worker_thread.cc", |
| "base/task/thread_pool/worker_thread_set.cc", |
| "base/third_party/cityhash/city.cc", |
| "base/third_party/cityhash_v103/src/city_v103.cc", |
| "base/third_party/nspr/prtime.cc", |
| "base/third_party/superfasthash/superfasthash.c", |
| "base/threading/hang_watcher.cc", |
| "base/threading/platform_thread.cc", |
| "base/threading/platform_thread_internal_posix.cc", |
| "base/threading/platform_thread_posix.cc", |
| "base/threading/platform_thread_ref.cc", |
| "base/threading/post_task_and_reply_impl.cc", |
| "base/threading/scoped_blocking_call.cc", |
| "base/threading/scoped_blocking_call_internal.cc", |
| "base/threading/scoped_thread_priority.cc", |
| "base/threading/sequence_local_storage_map.cc", |
| "base/threading/sequence_local_storage_slot.cc", |
| "base/threading/simple_thread.cc", |
| "base/threading/thread.cc", |
| "base/threading/thread_checker.cc", |
| "base/threading/thread_checker_impl.cc", |
| "base/threading/thread_collision_warner.cc", |
| "base/threading/thread_id_name_manager.cc", |
| "base/threading/thread_local_storage.cc", |
| "base/threading/thread_local_storage_posix.cc", |
| "base/threading/thread_restrictions.cc", |
| "base/threading/watchdog.cc", |
| "base/time/clock.cc", |
| "base/time/default_clock.cc", |
| "base/time/default_tick_clock.cc", |
| "base/time/tick_clock.cc", |
| "base/time/time.cc", |
| "base/time/time_conversion_posix.cc", |
| "base/time/time_delta_from_string.cc", |
| "base/time/time_exploded_icu.cc", |
| "base/time/time_exploded_posix.cc", |
| "base/time/time_now_posix.cc", |
| "base/time/time_override.cc", |
| "base/time/time_to_iso8601.cc", |
| "base/timer/elapsed_timer.cc", |
| "base/timer/hi_res_timer_manager_posix.cc", |
| "base/timer/lap_timer.cc", |
| "base/timer/timer.cc", |
| "base/timer/wall_clock_timer.cc", |
| "base/token.cc", |
| "base/trace_event/heap_profiler_allocation_context.cc", |
| "base/trace_event/heap_profiler_allocation_context_tracker.cc", |
| "base/trace_event/memory_allocator_dump_guid.cc", |
| "base/trace_event/memory_usage_estimator.cc", |
| "base/trace_event/trace_event_stub.cc", |
| "base/trace_event/trace_id_helper.cc", |
| "base/unguessable_token.cc", |
| "base/uuid.cc", |
| "base/value_iterators.cc", |
| "base/values.cc", |
| "base/version.cc", |
| "base/vlog.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| host_supported: true, |
| generated_headers: [ |
| "cronet_aml_base_allocator_buildflags__testing", |
| "cronet_aml_base_anchor_functions_buildflags__testing", |
| "cronet_aml_base_build_date__testing", |
| "cronet_aml_base_cfi_buildflags__testing", |
| "cronet_aml_base_clang_profiling_buildflags__testing", |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_feature_list_buildflags__testing", |
| "cronet_aml_base_ios_cronet_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_base_message_pump_buildflags__testing", |
| "cronet_aml_base_orderfile_buildflags__testing", |
| "cronet_aml_base_power_monitor_buildflags__testing", |
| "cronet_aml_base_profiler_buildflags__testing", |
| "cronet_aml_base_rust_buildflags__testing", |
| "cronet_aml_base_sanitizer_buildflags__testing", |
| "cronet_aml_base_synchronization_buildflags__testing", |
| "cronet_aml_base_tracing_buildflags__testing", |
| "cronet_aml_build_blink_buildflags__testing", |
| "cronet_aml_build_branding_buildflags__testing", |
| "cronet_aml_build_chromecast_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| "cronet_aml_build_config_compiler_compiler_buildflags__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_base_allocator_buildflags__testing", |
| "cronet_aml_base_anchor_functions_buildflags__testing", |
| "cronet_aml_base_build_date__testing", |
| "cronet_aml_base_cfi_buildflags__testing", |
| "cronet_aml_base_clang_profiling_buildflags__testing", |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_feature_list_buildflags__testing", |
| "cronet_aml_base_ios_cronet_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_base_message_pump_buildflags__testing", |
| "cronet_aml_base_orderfile_buildflags__testing", |
| "cronet_aml_base_power_monitor_buildflags__testing", |
| "cronet_aml_base_profiler_buildflags__testing", |
| "cronet_aml_base_rust_buildflags__testing", |
| "cronet_aml_base_sanitizer_buildflags__testing", |
| "cronet_aml_base_synchronization_buildflags__testing", |
| "cronet_aml_base_tracing_buildflags__testing", |
| "cronet_aml_build_blink_buildflags__testing", |
| "cronet_aml_build_branding_buildflags__testing", |
| "cronet_aml_build_chromecast_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| "cronet_aml_build_config_compiler_compiler_buildflags__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DBASE_IMPLEMENTATION", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DIS_RAW_PTR_IMPL", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-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_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| ], |
| target: { |
| android: { |
| srcs: [ |
| "base/allocator/partition_allocator/shim/allocator_shim.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| }, |
| android_arm: { |
| srcs: [ |
| "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc", |
| "base/android/android_hardware_buffer_compat.cc", |
| "base/android/android_image_reader_compat.cc", |
| "base/android/apk_assets.cc", |
| "base/android/application_status_listener.cc", |
| "base/android/base_feature_list.cc", |
| "base/android/base_features.cc", |
| "base/android/base_jni_onload.cc", |
| "base/android/build_info.cc", |
| "base/android/bundle_utils.cc", |
| "base/android/callback_android.cc", |
| "base/android/child_process_service.cc", |
| "base/android/command_line_android.cc", |
| "base/android/content_uri_utils.cc", |
| "base/android/cpu_features.cc", |
| "base/android/early_trace_event_binding.cc", |
| "base/android/event_log.cc", |
| "base/android/feature_list_jni.cc", |
| "base/android/features_jni.cc", |
| "base/android/field_trial_list.cc", |
| "base/android/important_file_writer_android.cc", |
| "base/android/int_string_callback.cc", |
| "base/android/java_exception_reporter.cc", |
| "base/android/java_handler_thread.cc", |
| "base/android/java_heap_dump_generator.cc", |
| "base/android/java_runtime.cc", |
| "base/android/jni_android.cc", |
| "base/android/jni_array.cc", |
| "base/android/jni_registrar.cc", |
| "base/android/jni_string.cc", |
| "base/android/jni_utils.cc", |
| "base/android/jni_weak_ref.cc", |
| "base/android/library_loader/anchor_functions.cc", |
| "base/android/library_loader/library_loader_hooks.cc", |
| "base/android/library_loader/library_prefetcher.cc", |
| "base/android/library_loader/library_prefetcher_hooks.cc", |
| "base/android/locale_utils.cc", |
| "base/android/meminfo_dump_provider.cc", |
| "base/android/memory_pressure_listener_android.cc", |
| "base/android/native_uma_recorder.cc", |
| "base/android/path_service_android.cc", |
| "base/android/path_utils.cc", |
| "base/android/radio_utils.cc", |
| "base/android/reached_addresses_bitset.cc", |
| "base/android/reached_code_profiler.cc", |
| "base/android/remove_stale_data.cc", |
| "base/android/scoped_hardware_buffer_fence_sync.cc", |
| "base/android/scoped_hardware_buffer_handle.cc", |
| "base/android/scoped_java_ref.cc", |
| "base/android/statistics_recorder_android.cc", |
| "base/android/sys_utils.cc", |
| "base/android/task_scheduler/post_task_android.cc", |
| "base/android/task_scheduler/task_runner_android.cc", |
| "base/android/thread_instruction_count.cc", |
| "base/android/timezone_utils.cc", |
| "base/android/trace_event_binding.cc", |
| "base/android/unguessable_token_android.cc", |
| "base/base_paths_android.cc", |
| "base/debug/stack_trace_android.cc", |
| "base/files/file_util_android.cc", |
| "base/files/scoped_file_android.cc", |
| "base/memory/platform_shared_memory_mapper_android.cc", |
| "base/memory/platform_shared_memory_region_android.cc", |
| "base/message_loop/message_pump_android.cc", |
| "base/os_compat_android.cc", |
| "base/power_monitor/power_monitor_device_source_android.cc", |
| "base/process/process_android.cc", |
| "base/profiler/chrome_unwind_info_android.cc", |
| "base/profiler/chrome_unwinder_android.cc", |
| "base/profiler/stack_sampler_android.cc", |
| "base/system/sys_info_android.cc", |
| "base/threading/platform_thread_android.cc", |
| "base/time/time_android.cc", |
| "base/trace_event/cfi_backtrace_android.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-fstack-protector", |
| ], |
| local_include_dirs: [ |
| "third_party/android_ndk/sources/android/cpufeatures/", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_android_runtime_jni_headers__testing", |
| "cronet_aml_base_android_runtime_unchecked_jni_headers__testing", |
| "cronet_aml_base_base_jni_headers__testing", |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| ], |
| ldflags: [ |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| }, |
| android_arm64: { |
| srcs: [ |
| "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc", |
| "base/android/android_hardware_buffer_compat.cc", |
| "base/android/android_image_reader_compat.cc", |
| "base/android/apk_assets.cc", |
| "base/android/application_status_listener.cc", |
| "base/android/base_feature_list.cc", |
| "base/android/base_features.cc", |
| "base/android/base_jni_onload.cc", |
| "base/android/build_info.cc", |
| "base/android/bundle_utils.cc", |
| "base/android/callback_android.cc", |
| "base/android/child_process_service.cc", |
| "base/android/command_line_android.cc", |
| "base/android/content_uri_utils.cc", |
| "base/android/cpu_features.cc", |
| "base/android/early_trace_event_binding.cc", |
| "base/android/event_log.cc", |
| "base/android/feature_list_jni.cc", |
| "base/android/features_jni.cc", |
| "base/android/field_trial_list.cc", |
| "base/android/important_file_writer_android.cc", |
| "base/android/int_string_callback.cc", |
| "base/android/java_exception_reporter.cc", |
| "base/android/java_handler_thread.cc", |
| "base/android/java_heap_dump_generator.cc", |
| "base/android/java_runtime.cc", |
| "base/android/jni_android.cc", |
| "base/android/jni_array.cc", |
| "base/android/jni_registrar.cc", |
| "base/android/jni_string.cc", |
| "base/android/jni_utils.cc", |
| "base/android/jni_weak_ref.cc", |
| "base/android/library_loader/anchor_functions.cc", |
| "base/android/library_loader/library_loader_hooks.cc", |
| "base/android/library_loader/library_prefetcher.cc", |
| "base/android/library_loader/library_prefetcher_hooks.cc", |
| "base/android/locale_utils.cc", |
| "base/android/meminfo_dump_provider.cc", |
| "base/android/memory_pressure_listener_android.cc", |
| "base/android/native_uma_recorder.cc", |
| "base/android/path_service_android.cc", |
| "base/android/path_utils.cc", |
| "base/android/radio_utils.cc", |
| "base/android/reached_addresses_bitset.cc", |
| "base/android/reached_code_profiler.cc", |
| "base/android/remove_stale_data.cc", |
| "base/android/scoped_hardware_buffer_fence_sync.cc", |
| "base/android/scoped_hardware_buffer_handle.cc", |
| "base/android/scoped_java_ref.cc", |
| "base/android/statistics_recorder_android.cc", |
| "base/android/sys_utils.cc", |
| "base/android/task_scheduler/post_task_android.cc", |
| "base/android/task_scheduler/task_runner_android.cc", |
| "base/android/thread_instruction_count.cc", |
| "base/android/timezone_utils.cc", |
| "base/android/trace_event_binding.cc", |
| "base/android/unguessable_token_android.cc", |
| "base/base_paths_android.cc", |
| "base/debug/stack_trace_android.cc", |
| "base/files/file_util_android.cc", |
| "base/files/scoped_file_android.cc", |
| "base/memory/platform_shared_memory_mapper_android.cc", |
| "base/memory/platform_shared_memory_region_android.cc", |
| "base/message_loop/message_pump_android.cc", |
| "base/os_compat_android.cc", |
| "base/power_monitor/power_monitor_device_source_android.cc", |
| "base/process/process_android.cc", |
| "base/profiler/frame_pointer_unwinder.cc", |
| "base/profiler/stack_sampler_android.cc", |
| "base/system/sys_info_android.cc", |
| "base/threading/platform_thread_android.cc", |
| "base/time/time_android.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| local_include_dirs: [ |
| "third_party/android_ndk/sources/android/cpufeatures/", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_android_runtime_jni_headers__testing", |
| "cronet_aml_base_android_runtime_unchecked_jni_headers__testing", |
| "cronet_aml_base_base_jni_headers__testing", |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| ], |
| ldflags: [ |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| }, |
| android_x86: { |
| srcs: [ |
| "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc", |
| "base/android/android_hardware_buffer_compat.cc", |
| "base/android/android_image_reader_compat.cc", |
| "base/android/apk_assets.cc", |
| "base/android/application_status_listener.cc", |
| "base/android/base_feature_list.cc", |
| "base/android/base_features.cc", |
| "base/android/base_jni_onload.cc", |
| "base/android/build_info.cc", |
| "base/android/bundle_utils.cc", |
| "base/android/callback_android.cc", |
| "base/android/child_process_service.cc", |
| "base/android/command_line_android.cc", |
| "base/android/content_uri_utils.cc", |
| "base/android/cpu_features.cc", |
| "base/android/early_trace_event_binding.cc", |
| "base/android/event_log.cc", |
| "base/android/feature_list_jni.cc", |
| "base/android/features_jni.cc", |
| "base/android/field_trial_list.cc", |
| "base/android/important_file_writer_android.cc", |
| "base/android/int_string_callback.cc", |
| "base/android/java_exception_reporter.cc", |
| "base/android/java_handler_thread.cc", |
| "base/android/java_heap_dump_generator.cc", |
| "base/android/java_runtime.cc", |
| "base/android/jni_android.cc", |
| "base/android/jni_array.cc", |
| "base/android/jni_registrar.cc", |
| "base/android/jni_string.cc", |
| "base/android/jni_utils.cc", |
| "base/android/jni_weak_ref.cc", |
| "base/android/library_loader/anchor_functions.cc", |
| "base/android/library_loader/library_loader_hooks.cc", |
| "base/android/library_loader/library_prefetcher.cc", |
| "base/android/library_loader/library_prefetcher_hooks.cc", |
| "base/android/locale_utils.cc", |
| "base/android/meminfo_dump_provider.cc", |
| "base/android/memory_pressure_listener_android.cc", |
| "base/android/native_uma_recorder.cc", |
| "base/android/path_service_android.cc", |
| "base/android/path_utils.cc", |
| "base/android/radio_utils.cc", |
| "base/android/reached_addresses_bitset.cc", |
| "base/android/reached_code_profiler_stub.cc", |
| "base/android/remove_stale_data.cc", |
| "base/android/scoped_hardware_buffer_fence_sync.cc", |
| "base/android/scoped_hardware_buffer_handle.cc", |
| "base/android/scoped_java_ref.cc", |
| "base/android/statistics_recorder_android.cc", |
| "base/android/sys_utils.cc", |
| "base/android/task_scheduler/post_task_android.cc", |
| "base/android/task_scheduler/task_runner_android.cc", |
| "base/android/thread_instruction_count.cc", |
| "base/android/timezone_utils.cc", |
| "base/android/trace_event_binding.cc", |
| "base/android/unguessable_token_android.cc", |
| "base/base_paths_android.cc", |
| "base/debug/stack_trace_android.cc", |
| "base/files/file_util_android.cc", |
| "base/files/scoped_file_android.cc", |
| "base/memory/platform_shared_memory_mapper_android.cc", |
| "base/memory/platform_shared_memory_region_android.cc", |
| "base/message_loop/message_pump_android.cc", |
| "base/os_compat_android.cc", |
| "base/power_monitor/power_monitor_device_source_android.cc", |
| "base/process/process_android.cc", |
| "base/profiler/stack_sampler_android.cc", |
| "base/system/sys_info_android.cc", |
| "base/threading/platform_thread_android.cc", |
| "base/time/time_android.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-msse3", |
| ], |
| local_include_dirs: [ |
| "third_party/android_ndk/sources/android/cpufeatures/", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_android_runtime_jni_headers__testing", |
| "cronet_aml_base_android_runtime_unchecked_jni_headers__testing", |
| "cronet_aml_base_base_jni_headers__testing", |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| ], |
| ldflags: [ |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| }, |
| android_x86_64: { |
| srcs: [ |
| "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc", |
| "base/android/android_hardware_buffer_compat.cc", |
| "base/android/android_image_reader_compat.cc", |
| "base/android/apk_assets.cc", |
| "base/android/application_status_listener.cc", |
| "base/android/base_feature_list.cc", |
| "base/android/base_features.cc", |
| "base/android/base_jni_onload.cc", |
| "base/android/build_info.cc", |
| "base/android/bundle_utils.cc", |
| "base/android/callback_android.cc", |
| "base/android/child_process_service.cc", |
| "base/android/command_line_android.cc", |
| "base/android/content_uri_utils.cc", |
| "base/android/cpu_features.cc", |
| "base/android/early_trace_event_binding.cc", |
| "base/android/event_log.cc", |
| "base/android/feature_list_jni.cc", |
| "base/android/features_jni.cc", |
| "base/android/field_trial_list.cc", |
| "base/android/important_file_writer_android.cc", |
| "base/android/int_string_callback.cc", |
| "base/android/java_exception_reporter.cc", |
| "base/android/java_handler_thread.cc", |
| "base/android/java_heap_dump_generator.cc", |
| "base/android/java_runtime.cc", |
| "base/android/jni_android.cc", |
| "base/android/jni_array.cc", |
| "base/android/jni_registrar.cc", |
| "base/android/jni_string.cc", |
| "base/android/jni_utils.cc", |
| "base/android/jni_weak_ref.cc", |
| "base/android/library_loader/anchor_functions.cc", |
| "base/android/library_loader/library_loader_hooks.cc", |
| "base/android/library_loader/library_prefetcher.cc", |
| "base/android/library_loader/library_prefetcher_hooks.cc", |
| "base/android/locale_utils.cc", |
| "base/android/meminfo_dump_provider.cc", |
| "base/android/memory_pressure_listener_android.cc", |
| "base/android/native_uma_recorder.cc", |
| "base/android/path_service_android.cc", |
| "base/android/path_utils.cc", |
| "base/android/radio_utils.cc", |
| "base/android/reached_addresses_bitset.cc", |
| "base/android/reached_code_profiler_stub.cc", |
| "base/android/remove_stale_data.cc", |
| "base/android/scoped_hardware_buffer_fence_sync.cc", |
| "base/android/scoped_hardware_buffer_handle.cc", |
| "base/android/scoped_java_ref.cc", |
| "base/android/statistics_recorder_android.cc", |
| "base/android/sys_utils.cc", |
| "base/android/task_scheduler/post_task_android.cc", |
| "base/android/task_scheduler/task_runner_android.cc", |
| "base/android/thread_instruction_count.cc", |
| "base/android/timezone_utils.cc", |
| "base/android/trace_event_binding.cc", |
| "base/android/unguessable_token_android.cc", |
| "base/base_paths_android.cc", |
| "base/debug/stack_trace_android.cc", |
| "base/files/file_util_android.cc", |
| "base/files/scoped_file_android.cc", |
| "base/memory/platform_shared_memory_mapper_android.cc", |
| "base/memory/platform_shared_memory_region_android.cc", |
| "base/message_loop/message_pump_android.cc", |
| "base/os_compat_android.cc", |
| "base/power_monitor/power_monitor_device_source_android.cc", |
| "base/process/process_android.cc", |
| "base/profiler/stack_sampler_android.cc", |
| "base/system/sys_info_android.cc", |
| "base/threading/platform_thread_android.cc", |
| "base/time/time_android.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| local_include_dirs: [ |
| "third_party/android_ndk/sources/android/cpufeatures/", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_android_runtime_jni_headers__testing", |
| "cronet_aml_base_android_runtime_unchecked_jni_headers__testing", |
| "cronet_aml_base_base_jni_headers__testing", |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| ], |
| ldflags: [ |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| }, |
| glibc: { |
| srcs: [ |
| "base/allocator/partition_allocator/shim/allocator_shim.cc", |
| "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_glibc.cc", |
| ], |
| }, |
| host: { |
| srcs: [ |
| "base/base_paths_posix.cc", |
| "base/debug/stack_trace_posix.cc", |
| "base/files/scoped_file_linux.cc", |
| "base/memory/platform_shared_memory_mapper_posix.cc", |
| "base/memory/platform_shared_memory_region_posix.cc", |
| "base/power_monitor/power_monitor_device_source_stub.cc", |
| "base/process/process_linux.cc", |
| "base/profiler/stack_sampler_posix.cc", |
| "base/stack_canary_linux.cc", |
| "base/threading/platform_thread_linux.cc", |
| "base/threading/thread_type_delegate.cc", |
| ], |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //base:base_android_java_enums_srcjar |
| java_genrule { |
| name: "cronet_aml_base_base_android_java_enums_srcjar", |
| cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " + |
| "$(out) " + |
| "$(location base/android/application_status_listener.h) " + |
| "$(location base/android/child_process_binding_types.h) " + |
| "$(location base/android/library_loader/library_loader_hooks.h) " + |
| "$(location base/android/linker/linker_jni.h) " + |
| "$(location base/android/task_scheduler/task_runner_android.h) " + |
| "$(location base/android/task_scheduler/task_traits_android.h) " + |
| "$(location base/memory/memory_pressure_listener.h) " + |
| "$(location base/metrics/histogram_base.h) " + |
| "$(location base/task/task_traits.h)", |
| out: [ |
| "base/base_android_java_enums_srcjar.srcjar", |
| ], |
| tool_files: [ |
| "base/android/application_status_listener.h", |
| "base/android/child_process_binding_types.h", |
| "base/android/library_loader/library_loader_hooks.h", |
| "base/android/linker/linker_jni.h", |
| "base/android/task_scheduler/task_runner_android.h", |
| "base/android/task_scheduler/task_traits_android.h", |
| "base/memory/memory_pressure_listener.h", |
| "base/metrics/histogram_base.h", |
| "base/task/task_traits.h", |
| "build/action_helpers.py", |
| "build/android/gyp/java_cpp_enum.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/android/gyp/util/java_cpp_utils.py", |
| "build/gn_helpers.py", |
| "build/zip_helpers.py", |
| ], |
| } |
| |
| // GN: //base:base_jni_headers |
| cc_genrule { |
| name: "cronet_aml_base_base_jni_headers", |
| srcs: [ |
| "base/android/java/src/org/chromium/base/ApkAssets.java", |
| "base/android/java/src/org/chromium/base/ApplicationStatus.java", |
| "base/android/java/src/org/chromium/base/BaseFeatureList.java", |
| "base/android/java/src/org/chromium/base/BuildInfo.java", |
| "base/android/java/src/org/chromium/base/BundleUtils.java", |
| "base/android/java/src/org/chromium/base/Callback.java", |
| "base/android/java/src/org/chromium/base/CommandLine.java", |
| "base/android/java/src/org/chromium/base/ContentUriUtils.java", |
| "base/android/java/src/org/chromium/base/CpuFeatures.java", |
| "base/android/java/src/org/chromium/base/EarlyTraceEvent.java", |
| "base/android/java/src/org/chromium/base/EventLog.java", |
| "base/android/java/src/org/chromium/base/FeatureList.java", |
| "base/android/java/src/org/chromium/base/Features.java", |
| "base/android/java/src/org/chromium/base/FieldTrialList.java", |
| "base/android/java/src/org/chromium/base/FileUtils.java", |
| "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java", |
| "base/android/java/src/org/chromium/base/IntStringCallback.java", |
| "base/android/java/src/org/chromium/base/JNIUtils.java", |
| "base/android/java/src/org/chromium/base/JavaExceptionReporter.java", |
| "base/android/java/src/org/chromium/base/JavaHandlerThread.java", |
| "base/android/java/src/org/chromium/base/LocaleUtils.java", |
| "base/android/java/src/org/chromium/base/MemoryPressureListener.java", |
| "base/android/java/src/org/chromium/base/PathService.java", |
| "base/android/java/src/org/chromium/base/PathUtils.java", |
| "base/android/java/src/org/chromium/base/PiiElider.java", |
| "base/android/java/src/org/chromium/base/PowerMonitor.java", |
| "base/android/java/src/org/chromium/base/RadioUtils.java", |
| "base/android/java/src/org/chromium/base/SysUtils.java", |
| "base/android/java/src/org/chromium/base/ThreadUtils.java", |
| "base/android/java/src/org/chromium/base/TimezoneUtils.java", |
| "base/android/java/src/org/chromium/base/TraceEvent.java", |
| "base/android/java/src/org/chromium/base/UnguessableToken.java", |
| "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java", |
| "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java", |
| "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java", |
| "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java", |
| "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java", |
| "base/android/java/src/org/chromium/base/task/PostTask.java", |
| "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java", |
| ], |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/base/base_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--use_proxy_hash " + |
| "--output_name " + |
| "ApkAssets_jni.h " + |
| "--output_name " + |
| "ApplicationStatus_jni.h " + |
| "--output_name " + |
| "BaseFeatureList_jni.h " + |
| "--output_name " + |
| "BuildInfo_jni.h " + |
| "--output_name " + |
| "BundleUtils_jni.h " + |
| "--output_name " + |
| "Callback_jni.h " + |
| "--output_name " + |
| "CommandLine_jni.h " + |
| "--output_name " + |
| "ContentUriUtils_jni.h " + |
| "--output_name " + |
| "CpuFeatures_jni.h " + |
| "--output_name " + |
| "EarlyTraceEvent_jni.h " + |
| "--output_name " + |
| "EventLog_jni.h " + |
| "--output_name " + |
| "FeatureList_jni.h " + |
| "--output_name " + |
| "Features_jni.h " + |
| "--output_name " + |
| "FieldTrialList_jni.h " + |
| "--output_name " + |
| "FileUtils_jni.h " + |
| "--output_name " + |
| "ImportantFileWriterAndroid_jni.h " + |
| "--output_name " + |
| "IntStringCallback_jni.h " + |
| "--output_name " + |
| "JNIUtils_jni.h " + |
| "--output_name " + |
| "JavaExceptionReporter_jni.h " + |
| "--output_name " + |
| "JavaHandlerThread_jni.h " + |
| "--output_name " + |
| "LocaleUtils_jni.h " + |
| "--output_name " + |
| "MemoryPressureListener_jni.h " + |
| "--output_name " + |
| "PathService_jni.h " + |
| "--output_name " + |
| "PathUtils_jni.h " + |
| "--output_name " + |
| "PiiElider_jni.h " + |
| "--output_name " + |
| "PowerMonitor_jni.h " + |
| "--output_name " + |
| "RadioUtils_jni.h " + |
| "--output_name " + |
| "SysUtils_jni.h " + |
| "--output_name " + |
| "ThreadUtils_jni.h " + |
| "--output_name " + |
| "TimezoneUtils_jni.h " + |
| "--output_name " + |
| "TraceEvent_jni.h " + |
| "--output_name " + |
| "UnguessableToken_jni.h " + |
| "--output_name " + |
| "LibraryLoader_jni.h " + |
| "--output_name " + |
| "LibraryPrefetcher_jni.h " + |
| "--output_name " + |
| "JavaHeapDumpGenerator_jni.h " + |
| "--output_name " + |
| "MemoryInfoBridge_jni.h " + |
| "--output_name " + |
| "NativeUmaRecorder_jni.h " + |
| "--output_name " + |
| "StatisticsRecorderAndroid_jni.h " + |
| "--output_name " + |
| "ChildProcessService_jni.h " + |
| "--output_name " + |
| "PostTask_jni.h " + |
| "--output_name " + |
| "TaskRunnerImpl_jni.h " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/ApkAssets.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/ApplicationStatus.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/BaseFeatureList.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/BuildInfo.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/BundleUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/Callback.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/CommandLine.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/ContentUriUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/CpuFeatures.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/EarlyTraceEvent.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/EventLog.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/FeatureList.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/Features.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/FieldTrialList.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/FileUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/IntStringCallback.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/JNIUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/JavaExceptionReporter.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/JavaHandlerThread.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/LocaleUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/MemoryPressureListener.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/PathService.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/PathUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/PiiElider.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/PowerMonitor.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/RadioUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/SysUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/ThreadUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/TimezoneUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/TraceEvent.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/UnguessableToken.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/task/PostTask.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java) " + |
| "--package_prefix " + |
| "android.net.connectivity", |
| out: [ |
| "base/base_jni_headers/ApkAssets_jni.h", |
| "base/base_jni_headers/ApplicationStatus_jni.h", |
| "base/base_jni_headers/BaseFeatureList_jni.h", |
| "base/base_jni_headers/BuildInfo_jni.h", |
| "base/base_jni_headers/BundleUtils_jni.h", |
| "base/base_jni_headers/Callback_jni.h", |
| "base/base_jni_headers/ChildProcessService_jni.h", |
| "base/base_jni_headers/CommandLine_jni.h", |
| "base/base_jni_headers/ContentUriUtils_jni.h", |
| "base/base_jni_headers/CpuFeatures_jni.h", |
| "base/base_jni_headers/EarlyTraceEvent_jni.h", |
| "base/base_jni_headers/EventLog_jni.h", |
| "base/base_jni_headers/FeatureList_jni.h", |
| "base/base_jni_headers/Features_jni.h", |
| "base/base_jni_headers/FieldTrialList_jni.h", |
| "base/base_jni_headers/FileUtils_jni.h", |
| "base/base_jni_headers/ImportantFileWriterAndroid_jni.h", |
| "base/base_jni_headers/IntStringCallback_jni.h", |
| "base/base_jni_headers/JNIUtils_jni.h", |
| "base/base_jni_headers/JavaExceptionReporter_jni.h", |
| "base/base_jni_headers/JavaHandlerThread_jni.h", |
| "base/base_jni_headers/JavaHeapDumpGenerator_jni.h", |
| "base/base_jni_headers/LibraryLoader_jni.h", |
| "base/base_jni_headers/LibraryPrefetcher_jni.h", |
| "base/base_jni_headers/LocaleUtils_jni.h", |
| "base/base_jni_headers/MemoryInfoBridge_jni.h", |
| "base/base_jni_headers/MemoryPressureListener_jni.h", |
| "base/base_jni_headers/NativeUmaRecorder_jni.h", |
| "base/base_jni_headers/PathService_jni.h", |
| "base/base_jni_headers/PathUtils_jni.h", |
| "base/base_jni_headers/PiiElider_jni.h", |
| "base/base_jni_headers/PostTask_jni.h", |
| "base/base_jni_headers/PowerMonitor_jni.h", |
| "base/base_jni_headers/RadioUtils_jni.h", |
| "base/base_jni_headers/StatisticsRecorderAndroid_jni.h", |
| "base/base_jni_headers/SysUtils_jni.h", |
| "base/base_jni_headers/TaskRunnerImpl_jni.h", |
| "base/base_jni_headers/ThreadUtils_jni.h", |
| "base/base_jni_headers/TimezoneUtils_jni.h", |
| "base/base_jni_headers/TraceEvent_jni.h", |
| "base/base_jni_headers/UnguessableToken_jni.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:base_jni_headers__testing |
| cc_genrule { |
| name: "cronet_aml_base_base_jni_headers__testing", |
| srcs: [ |
| "base/android/java/src/org/chromium/base/ApkAssets.java", |
| "base/android/java/src/org/chromium/base/ApplicationStatus.java", |
| "base/android/java/src/org/chromium/base/BaseFeatureList.java", |
| "base/android/java/src/org/chromium/base/BuildInfo.java", |
| "base/android/java/src/org/chromium/base/BundleUtils.java", |
| "base/android/java/src/org/chromium/base/Callback.java", |
| "base/android/java/src/org/chromium/base/CommandLine.java", |
| "base/android/java/src/org/chromium/base/ContentUriUtils.java", |
| "base/android/java/src/org/chromium/base/CpuFeatures.java", |
| "base/android/java/src/org/chromium/base/EarlyTraceEvent.java", |
| "base/android/java/src/org/chromium/base/EventLog.java", |
| "base/android/java/src/org/chromium/base/FeatureList.java", |
| "base/android/java/src/org/chromium/base/Features.java", |
| "base/android/java/src/org/chromium/base/FieldTrialList.java", |
| "base/android/java/src/org/chromium/base/FileUtils.java", |
| "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java", |
| "base/android/java/src/org/chromium/base/IntStringCallback.java", |
| "base/android/java/src/org/chromium/base/JNIUtils.java", |
| "base/android/java/src/org/chromium/base/JavaExceptionReporter.java", |
| "base/android/java/src/org/chromium/base/JavaHandlerThread.java", |
| "base/android/java/src/org/chromium/base/LocaleUtils.java", |
| "base/android/java/src/org/chromium/base/MemoryPressureListener.java", |
| "base/android/java/src/org/chromium/base/PathService.java", |
| "base/android/java/src/org/chromium/base/PathUtils.java", |
| "base/android/java/src/org/chromium/base/PiiElider.java", |
| "base/android/java/src/org/chromium/base/PowerMonitor.java", |
| "base/android/java/src/org/chromium/base/RadioUtils.java", |
| "base/android/java/src/org/chromium/base/SysUtils.java", |
| "base/android/java/src/org/chromium/base/ThreadUtils.java", |
| "base/android/java/src/org/chromium/base/TimezoneUtils.java", |
| "base/android/java/src/org/chromium/base/TraceEvent.java", |
| "base/android/java/src/org/chromium/base/UnguessableToken.java", |
| "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java", |
| "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java", |
| "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java", |
| "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java", |
| "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java", |
| "base/android/java/src/org/chromium/base/task/PostTask.java", |
| "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java", |
| ], |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/base/base_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--use_proxy_hash " + |
| "--output_name " + |
| "ApkAssets_jni.h " + |
| "--output_name " + |
| "ApplicationStatus_jni.h " + |
| "--output_name " + |
| "BaseFeatureList_jni.h " + |
| "--output_name " + |
| "BuildInfo_jni.h " + |
| "--output_name " + |
| "BundleUtils_jni.h " + |
| "--output_name " + |
| "Callback_jni.h " + |
| "--output_name " + |
| "CommandLine_jni.h " + |
| "--output_name " + |
| "ContentUriUtils_jni.h " + |
| "--output_name " + |
| "CpuFeatures_jni.h " + |
| "--output_name " + |
| "EarlyTraceEvent_jni.h " + |
| "--output_name " + |
| "EventLog_jni.h " + |
| "--output_name " + |
| "FeatureList_jni.h " + |
| "--output_name " + |
| "Features_jni.h " + |
| "--output_name " + |
| "FieldTrialList_jni.h " + |
| "--output_name " + |
| "FileUtils_jni.h " + |
| "--output_name " + |
| "ImportantFileWriterAndroid_jni.h " + |
| "--output_name " + |
| "IntStringCallback_jni.h " + |
| "--output_name " + |
| "JNIUtils_jni.h " + |
| "--output_name " + |
| "JavaExceptionReporter_jni.h " + |
| "--output_name " + |
| "JavaHandlerThread_jni.h " + |
| "--output_name " + |
| "LocaleUtils_jni.h " + |
| "--output_name " + |
| "MemoryPressureListener_jni.h " + |
| "--output_name " + |
| "PathService_jni.h " + |
| "--output_name " + |
| "PathUtils_jni.h " + |
| "--output_name " + |
| "PiiElider_jni.h " + |
| "--output_name " + |
| "PowerMonitor_jni.h " + |
| "--output_name " + |
| "RadioUtils_jni.h " + |
| "--output_name " + |
| "SysUtils_jni.h " + |
| "--output_name " + |
| "ThreadUtils_jni.h " + |
| "--output_name " + |
| "TimezoneUtils_jni.h " + |
| "--output_name " + |
| "TraceEvent_jni.h " + |
| "--output_name " + |
| "UnguessableToken_jni.h " + |
| "--output_name " + |
| "LibraryLoader_jni.h " + |
| "--output_name " + |
| "LibraryPrefetcher_jni.h " + |
| "--output_name " + |
| "JavaHeapDumpGenerator_jni.h " + |
| "--output_name " + |
| "MemoryInfoBridge_jni.h " + |
| "--output_name " + |
| "NativeUmaRecorder_jni.h " + |
| "--output_name " + |
| "StatisticsRecorderAndroid_jni.h " + |
| "--output_name " + |
| "ChildProcessService_jni.h " + |
| "--output_name " + |
| "PostTask_jni.h " + |
| "--output_name " + |
| "TaskRunnerImpl_jni.h " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/ApkAssets.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/ApplicationStatus.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/BaseFeatureList.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/BuildInfo.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/BundleUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/Callback.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/CommandLine.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/ContentUriUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/CpuFeatures.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/EarlyTraceEvent.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/EventLog.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/FeatureList.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/Features.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/FieldTrialList.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/FileUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/IntStringCallback.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/JNIUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/JavaExceptionReporter.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/JavaHandlerThread.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/LocaleUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/MemoryPressureListener.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/PathService.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/PathUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/PiiElider.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/PowerMonitor.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/RadioUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/SysUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/ThreadUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/TimezoneUtils.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/TraceEvent.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/UnguessableToken.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/task/PostTask.java) " + |
| "--input_file " + |
| "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java)", |
| out: [ |
| "base/base_jni_headers/ApkAssets_jni.h", |
| "base/base_jni_headers/ApplicationStatus_jni.h", |
| "base/base_jni_headers/BaseFeatureList_jni.h", |
| "base/base_jni_headers/BuildInfo_jni.h", |
| "base/base_jni_headers/BundleUtils_jni.h", |
| "base/base_jni_headers/Callback_jni.h", |
| "base/base_jni_headers/ChildProcessService_jni.h", |
| "base/base_jni_headers/CommandLine_jni.h", |
| "base/base_jni_headers/ContentUriUtils_jni.h", |
| "base/base_jni_headers/CpuFeatures_jni.h", |
| "base/base_jni_headers/EarlyTraceEvent_jni.h", |
| "base/base_jni_headers/EventLog_jni.h", |
| "base/base_jni_headers/FeatureList_jni.h", |
| "base/base_jni_headers/Features_jni.h", |
| "base/base_jni_headers/FieldTrialList_jni.h", |
| "base/base_jni_headers/FileUtils_jni.h", |
| "base/base_jni_headers/ImportantFileWriterAndroid_jni.h", |
| "base/base_jni_headers/IntStringCallback_jni.h", |
| "base/base_jni_headers/JNIUtils_jni.h", |
| "base/base_jni_headers/JavaExceptionReporter_jni.h", |
| "base/base_jni_headers/JavaHandlerThread_jni.h", |
| "base/base_jni_headers/JavaHeapDumpGenerator_jni.h", |
| "base/base_jni_headers/LibraryLoader_jni.h", |
| "base/base_jni_headers/LibraryPrefetcher_jni.h", |
| "base/base_jni_headers/LocaleUtils_jni.h", |
| "base/base_jni_headers/MemoryInfoBridge_jni.h", |
| "base/base_jni_headers/MemoryPressureListener_jni.h", |
| "base/base_jni_headers/NativeUmaRecorder_jni.h", |
| "base/base_jni_headers/PathService_jni.h", |
| "base/base_jni_headers/PathUtils_jni.h", |
| "base/base_jni_headers/PiiElider_jni.h", |
| "base/base_jni_headers/PostTask_jni.h", |
| "base/base_jni_headers/PowerMonitor_jni.h", |
| "base/base_jni_headers/RadioUtils_jni.h", |
| "base/base_jni_headers/StatisticsRecorderAndroid_jni.h", |
| "base/base_jni_headers/SysUtils_jni.h", |
| "base/base_jni_headers/TaskRunnerImpl_jni.h", |
| "base/base_jni_headers/ThreadUtils_jni.h", |
| "base/base_jni_headers/TimezoneUtils_jni.h", |
| "base/base_jni_headers/TraceEvent_jni.h", |
| "base/base_jni_headers/UnguessableToken_jni.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:base_static |
| cc_library_static { |
| name: "cronet_aml_base_base_static", |
| srcs: [ |
| "base/base_switches.cc", |
| ], |
| generated_headers: [ |
| "cronet_aml_build_chromeos_buildflags", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_build_chromeos_buildflags", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //base:base_static__testing |
| cc_library_static { |
| name: "cronet_aml_base_base_static__testing", |
| srcs: [ |
| "base/base_switches.cc", |
| ], |
| host_supported: true, |
| generated_headers: [ |
| "cronet_aml_build_chromeos_buildflags__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_build_chromeos_buildflags__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //base:build_date |
| cc_genrule { |
| name: "cronet_aml_base_build_date", |
| cmd: "$(location base/write_build_date_header.py) $(out) " + |
| "1684972835", |
| out: [ |
| "base/generated_build_date.h", |
| ], |
| tool_files: [ |
| "base/write_build_date_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:build_date__testing |
| cc_genrule { |
| name: "cronet_aml_base_build_date__testing", |
| cmd: "$(location base/write_build_date_header.py) $(out) " + |
| "1684972835", |
| host_supported: true, |
| out: [ |
| "base/generated_build_date.h", |
| ], |
| tool_files: [ |
| "base/write_build_date_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:cfi_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_cfi_buildflags", |
| cmd: "echo '--flags CFI_CAST_CHECK=\"false && false\" CFI_DIAG=\"false && false\" CFI_ICALL_CHECK=\"false && false\" CFI_ENFORCEMENT_TRAP=\"false && !false\" CFI_ENFORCEMENT_DIAGNOSTIC=\"false && false && !false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:cfi_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/cfi_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:cfi_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_cfi_buildflags__testing", |
| cmd: "echo '--flags CFI_CAST_CHECK=\"false && false\" CFI_DIAG=\"false && false\" CFI_ICALL_CHECK=\"false && false\" CFI_ENFORCEMENT_TRAP=\"false && !false\" CFI_ENFORCEMENT_DIAGNOSTIC=\"false && false && !false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:cfi_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "base/cfi_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:clang_profiling_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_clang_profiling_buildflags", |
| cmd: "echo '--flags CLANG_PROFILING=\"false\" CLANG_PROFILING_INSIDE_SANDBOX=\"false\" USE_CLANG_COVERAGE=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:clang_profiling_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/clang_profiling_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:clang_profiling_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_clang_profiling_buildflags__testing", |
| cmd: "echo '--flags CLANG_PROFILING=\"false\" CLANG_PROFILING_INSIDE_SANDBOX=\"false\" USE_CLANG_COVERAGE=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:clang_profiling_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "base/clang_profiling_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:debugging_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_debugging_buildflags", |
| cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:debugging_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:debugging_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"true\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:debugging_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"true\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:debugging_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi;", |
| out: [ |
| "base/debug/debugging_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:debugging_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_debugging_buildflags__testing", |
| cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:debugging_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ $$CC_OS != 'android' ]]; " + |
| "then " + |
| "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"true\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:debugging_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:debugging_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"true\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:debugging_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"true\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:debugging_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi;", |
| host_supported: true, |
| out: [ |
| "base/debug/debugging_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:feature_list_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_feature_list_buildflags", |
| cmd: "echo '--flags ENABLE_BANNED_BASE_FEATURE_PREFIX=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:feature_list_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/feature_list_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:feature_list_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_feature_list_buildflags__testing", |
| cmd: "echo '--flags ENABLE_BANNED_BASE_FEATURE_PREFIX=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:feature_list_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "base/feature_list_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:i18n__testing |
| cc_library_static { |
| name: "cronet_aml_base_i18n__testing", |
| srcs: [ |
| "base/i18n/base_i18n_switches.cc", |
| "base/i18n/break_iterator.cc", |
| "base/i18n/case_conversion.cc", |
| "base/i18n/char_iterator.cc", |
| "base/i18n/character_encoding.cc", |
| "base/i18n/encoding_detection.cc", |
| "base/i18n/file_util_icu.cc", |
| "base/i18n/i18n_constants.cc", |
| "base/i18n/icu_string_conversions.cc", |
| "base/i18n/icu_util.cc", |
| "base/i18n/message_formatter.cc", |
| "base/i18n/number_formatting.cc", |
| "base/i18n/rtl.cc", |
| "base/i18n/streaming_utf8_validator.cc", |
| "base/i18n/string_compare.cc", |
| "base/i18n/string_search.cc", |
| "base/i18n/time_formatting.cc", |
| "base/i18n/timezone.cc", |
| "base/i18n/utf8_validator_tables.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_ced_ced__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_build_chromecast_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_build_chromecast_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DBASE_I18N_IMPLEMENTATION", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-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_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/ced/src/", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //base:ios_cronet_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_ios_cronet_buildflags", |
| cmd: "echo '--flags CRONET_BUILD=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:ios_cronet_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/message_loop/ios_cronet_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:ios_cronet_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_ios_cronet_buildflags__testing", |
| cmd: "echo '--flags CRONET_BUILD=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:ios_cronet_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "base/message_loop/ios_cronet_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:java_features_srcjar |
| java_genrule { |
| name: "cronet_aml_base_java_features_srcjar", |
| srcs: [ |
| "base/android/base_features.cc", |
| "base/features.cc", |
| "base/task/task_features.cc", |
| ], |
| cmd: "$(location build/android/gyp/java_cpp_features.py) --srcjar " + |
| "$(out) " + |
| "--template " + |
| "$(location base/android/java/src/org/chromium/base/BaseFeatures.java.tmpl) " + |
| "$(location base/android/base_features.cc) " + |
| "$(location base/features.cc) " + |
| "$(location base/task/task_features.cc)", |
| out: [ |
| "base/java_features_srcjar.srcjar", |
| ], |
| tool_files: [ |
| "base/android/java/src/org/chromium/base/BaseFeatures.java.tmpl", |
| "build/action_helpers.py", |
| "build/android/gyp/java_cpp_features.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/android/gyp/util/java_cpp_utils.py", |
| "build/gn_helpers.py", |
| "build/zip_helpers.py", |
| ], |
| } |
| |
| // GN: //base:java_switches_srcjar |
| java_genrule { |
| name: "cronet_aml_base_java_switches_srcjar", |
| srcs: [ |
| "base/base_switches.cc", |
| ], |
| cmd: "$(location build/android/gyp/java_cpp_strings.py) --srcjar " + |
| "$(out) " + |
| "--template " + |
| "$(location base/android/java/src/org/chromium/base/BaseSwitches.java.tmpl) " + |
| "$(location base/base_switches.cc)", |
| out: [ |
| "base/java_switches_srcjar.srcjar", |
| ], |
| tool_files: [ |
| "base/android/java/src/org/chromium/base/BaseSwitches.java.tmpl", |
| "build/action_helpers.py", |
| "build/android/gyp/java_cpp_strings.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/android/gyp/util/java_cpp_utils.py", |
| "build/gn_helpers.py", |
| "build/zip_helpers.py", |
| ], |
| } |
| |
| // GN: //base:logging_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_logging_buildflags", |
| cmd: "echo '--flags ENABLE_LOG_ERROR_NOT_REACHED=\"false\" USE_RUNTIME_VLOG=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:logging_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/logging_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:logging_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_logging_buildflags__testing", |
| cmd: "echo '--flags ENABLE_LOG_ERROR_NOT_REACHED=\"false\" USE_RUNTIME_VLOG=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:logging_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "base/logging_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:message_pump_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_message_pump_buildflags", |
| cmd: "echo '--flags ENABLE_MESSAGE_PUMP_EPOLL=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:message_pump_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/message_loop/message_pump_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:message_pump_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_message_pump_buildflags__testing", |
| cmd: "echo '--flags ENABLE_MESSAGE_PUMP_EPOLL=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:message_pump_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "base/message_loop/message_pump_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:nodebug_assertion |
| cc_library_static { |
| name: "cronet_aml_base_nodebug_assertion", |
| srcs: [ |
| "base/nodebug_assertion.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_base_base_static", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DBASE_IMPLEMENTATION", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //base:nodebug_assertion__testing |
| cc_library_static { |
| name: "cronet_aml_base_nodebug_assertion__testing", |
| srcs: [ |
| "base/nodebug_assertion.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_base_base_static__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DBASE_IMPLEMENTATION", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //base:orderfile_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_orderfile_buildflags", |
| cmd: "echo '--flags DEVTOOLS_INSTRUMENTATION_DUMPING=\"false\" ORDERFILE_INSTRUMENTATION=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:orderfile_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/android/orderfile/orderfile_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:orderfile_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_orderfile_buildflags__testing", |
| cmd: "echo '--flags DEVTOOLS_INSTRUMENTATION_DUMPING=\"false\" ORDERFILE_INSTRUMENTATION=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:orderfile_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "base/android/orderfile/orderfile_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:power_monitor_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_power_monitor_buildflags", |
| cmd: "echo '--flags HAS_BATTERY_LEVEL_PROVIDER_IMPL=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:power_monitor_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/power_monitor/power_monitor_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:power_monitor_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_power_monitor_buildflags__testing", |
| cmd: "echo '--flags HAS_BATTERY_LEVEL_PROVIDER_IMPL=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:power_monitor_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "base/power_monitor/power_monitor_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:profiler_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_profiler_buildflags", |
| cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:profiler_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:profiler_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags ENABLE_ARM_CFI_TABLE=\"true\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:profiler_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:profiler_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi;", |
| out: [ |
| "base/profiler/profiler_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:profiler_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_profiler_buildflags__testing", |
| cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:profiler_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ $$CC_OS != 'android' ]]; " + |
| "then " + |
| "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:profiler_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:profiler_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags ENABLE_ARM_CFI_TABLE=\"true\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:profiler_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:profiler_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi;", |
| host_supported: true, |
| out: [ |
| "base/profiler/profiler_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:rust_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_rust_buildflags", |
| cmd: "echo '--flags BUILD_RUST_JSON_READER=\"false\" BUILD_RUST_BASE_CONVERSIONS=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:rust_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/rust_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:rust_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_rust_buildflags__testing", |
| cmd: "echo '--flags BUILD_RUST_JSON_READER=\"false\" BUILD_RUST_BASE_CONVERSIONS=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:rust_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "base/rust_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:sanitizer_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_sanitizer_buildflags", |
| cmd: "echo '--flags IS_HWASAN=\"false\" USING_SANITIZER=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:sanitizer_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/sanitizer_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:sanitizer_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_sanitizer_buildflags__testing", |
| cmd: "echo '--flags IS_HWASAN=\"false\" USING_SANITIZER=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:sanitizer_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "base/sanitizer_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:synchronization_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_synchronization_buildflags", |
| cmd: "echo '--flags ENABLE_MUTEX_PRIORITY_INHERITANCE=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:synchronization_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/synchronization/synchronization_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:synchronization_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_synchronization_buildflags__testing", |
| cmd: "echo '--flags ENABLE_MUTEX_PRIORITY_INHERITANCE=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:synchronization_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "base/synchronization/synchronization_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base/test:base_unittests_jni_headers__testing |
| cc_genrule { |
| name: "cronet_aml_base_test_base_unittests_jni_headers__testing", |
| srcs: [ |
| "base/test/android/java/src/org/chromium/base/ContentUriTestUtils.java", |
| "base/test/android/java/src/org/chromium/base/JavaHandlerThreadHelpers.java", |
| ], |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/base/test/base_unittests_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--use_proxy_hash " + |
| "--output_name " + |
| "ContentUriTestUtils_jni.h " + |
| "--output_name " + |
| "JavaHandlerThreadHelpers_jni.h " + |
| "--input_file " + |
| "$(location base/test/android/java/src/org/chromium/base/ContentUriTestUtils.java) " + |
| "--input_file " + |
| "$(location base/test/android/java/src/org/chromium/base/JavaHandlerThreadHelpers.java)", |
| out: [ |
| "base/test/base_unittests_jni_headers/ContentUriTestUtils_jni.h", |
| "base/test/base_unittests_jni_headers/JavaHandlerThreadHelpers_jni.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base/test:test_config__testing |
| cc_library_static { |
| name: "cronet_aml_base_test_test_config__testing", |
| srcs: [ |
| "base/test/test_switches.cc", |
| "base/test/test_timeouts.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_clang_profiling_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_base_clang_profiling_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //base/test:test_support__testing |
| cc_library_static { |
| name: "cronet_aml_base_test_test_support__testing", |
| srcs: [ |
| "base/task/sequence_manager/test/fake_task.cc", |
| "base/task/sequence_manager/test/mock_time_domain.cc", |
| "base/task/sequence_manager/test/mock_time_message_pump.cc", |
| "base/task/sequence_manager/test/sequence_manager_for_test.cc", |
| "base/test/android/java_handler_thread_helpers.cc", |
| "base/test/android/url_utils.cc", |
| "base/test/bind.cc", |
| "base/test/copy_only_int.cc", |
| "base/test/gtest_links.cc", |
| "base/test/gtest_tags.cc", |
| "base/test/gtest_util.cc", |
| "base/test/gtest_xml_unittest_result_printer.cc", |
| "base/test/gtest_xml_util.cc", |
| "base/test/icu_test_util.cc", |
| "base/test/launcher/test_launcher.cc", |
| "base/test/launcher/test_launcher_test_utils.cc", |
| "base/test/launcher/test_launcher_tracer.cc", |
| "base/test/launcher/test_result.cc", |
| "base/test/launcher/test_results_tracker.cc", |
| "base/test/launcher/unit_test_launcher.cc", |
| "base/test/metrics/histogram_enum_reader.cc", |
| "base/test/metrics/histogram_tester.cc", |
| "base/test/metrics/user_action_tester.cc", |
| "base/test/mock_devices_changed_observer.cc", |
| "base/test/mock_entropy_provider.cc", |
| "base/test/mock_log.cc", |
| "base/test/multiprocess_test.cc", |
| "base/test/multiprocess_test_android.cc", |
| "base/test/null_task_runner.cc", |
| "base/test/perf_log.cc", |
| "base/test/perf_test_suite.cc", |
| "base/test/perf_time_logger.cc", |
| "base/test/power_monitor_test.cc", |
| "base/test/power_monitor_test_utils.cc", |
| "base/test/reached_code_profiler_android.cc", |
| "base/test/scoped_command_line.cc", |
| "base/test/scoped_feature_list.cc", |
| "base/test/scoped_locale.cc", |
| "base/test/scoped_mock_clock_override.cc", |
| "base/test/scoped_mock_time_message_loop_task_runner.cc", |
| "base/test/scoped_path_override.cc", |
| "base/test/scoped_run_loop_timeout.cc", |
| "base/test/sequenced_task_runner_test_template.cc", |
| "base/test/simple_test_clock.cc", |
| "base/test/simple_test_tick_clock.cc", |
| "base/test/task_environment.cc", |
| "base/test/task_runner_test_template.cc", |
| "base/test/test_discardable_memory_allocator.cc", |
| "base/test/test_file_util.cc", |
| "base/test/test_file_util_android.cc", |
| "base/test/test_file_util_linux.cc", |
| "base/test/test_file_util_posix.cc", |
| "base/test/test_io_thread.cc", |
| "base/test/test_message_loop.cc", |
| "base/test/test_mock_time_task_runner.cc", |
| "base/test/test_pending_task.cc", |
| "base/test/test_shared_memory_util.cc", |
| "base/test/test_simple_task_runner.cc", |
| "base/test/test_suite.cc", |
| "base/test/test_support_android.cc", |
| "base/test/test_waitable_event.cc", |
| "base/test/thread_pool_test_helpers_android.cc", |
| "base/test/thread_test_helper.cc", |
| "base/test/values_test_util.cc", |
| "base/test/with_feature_override.cc", |
| "base/timer/mock_timer.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_i18n__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_test_test_config__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_ced_ced__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| "cronet_aml_third_party_libxml_libxml_utils__testing", |
| "cronet_aml_third_party_libxml_xml_reader__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_base_test_base_unittests_jni_headers__testing", |
| "cronet_aml_base_test_test_support_jni_headers__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_base_test_base_unittests_jni_headers__testing", |
| "cronet_aml_base_test_test_support_jni_headers__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-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_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/ced/src/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| "third_party/libxml/linux/include/", |
| "third_party/libxml/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //base/test:test_support_jni_headers__testing |
| cc_genrule { |
| name: "cronet_aml_base_test_test_support_jni_headers__testing", |
| srcs: [ |
| "base/test/android/java/src/org/chromium/base/MainReturnCodeResult.java", |
| "base/test/android/java/src/org/chromium/base/MultiprocessTestClientLauncher.java", |
| "base/test/android/javatests/src/org/chromium/base/test/ReachedCodeProfiler.java", |
| "base/test/android/javatests/src/org/chromium/base/test/task/ThreadPoolTestHelpers.java", |
| "base/test/android/javatests/src/org/chromium/base/test/util/UrlUtils.java", |
| ], |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/base/test/test_support_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--use_proxy_hash " + |
| "--output_name " + |
| "MainReturnCodeResult_jni.h " + |
| "--output_name " + |
| "MultiprocessTestClientLauncher_jni.h " + |
| "--output_name " + |
| "ReachedCodeProfiler_jni.h " + |
| "--output_name " + |
| "ThreadPoolTestHelpers_jni.h " + |
| "--output_name " + |
| "UrlUtils_jni.h " + |
| "--input_file " + |
| "$(location base/test/android/java/src/org/chromium/base/MainReturnCodeResult.java) " + |
| "--input_file " + |
| "$(location base/test/android/java/src/org/chromium/base/MultiprocessTestClientLauncher.java) " + |
| "--input_file " + |
| "$(location base/test/android/javatests/src/org/chromium/base/test/ReachedCodeProfiler.java) " + |
| "--input_file " + |
| "$(location base/test/android/javatests/src/org/chromium/base/test/task/ThreadPoolTestHelpers.java) " + |
| "--input_file " + |
| "$(location base/test/android/javatests/src/org/chromium/base/test/util/UrlUtils.java)", |
| out: [ |
| "base/test/test_support_jni_headers/MainReturnCodeResult_jni.h", |
| "base/test/test_support_jni_headers/MultiprocessTestClientLauncher_jni.h", |
| "base/test/test_support_jni_headers/ReachedCodeProfiler_jni.h", |
| "base/test/test_support_jni_headers/ThreadPoolTestHelpers_jni.h", |
| "base/test/test_support_jni_headers/UrlUtils_jni.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base/third_party/double_conversion:double_conversion |
| cc_library_static { |
| name: "cronet_aml_base_third_party_double_conversion_double_conversion", |
| srcs: [ |
| "base/third_party/double_conversion/double-conversion/bignum-dtoa.cc", |
| "base/third_party/double_conversion/double-conversion/bignum.cc", |
| "base/third_party/double_conversion/double-conversion/cached-powers.cc", |
| "base/third_party/double_conversion/double-conversion/double-to-string.cc", |
| "base/third_party/double_conversion/double-conversion/fast-dtoa.cc", |
| "base/third_party/double_conversion/double-conversion/fixed-dtoa.cc", |
| "base/third_party/double_conversion/double-conversion/string-to-double.cc", |
| "base/third_party/double_conversion/double-conversion/strtod.cc", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //base/third_party/double_conversion:double_conversion__testing |
| cc_library_static { |
| name: "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| srcs: [ |
| "base/third_party/double_conversion/double-conversion/bignum-dtoa.cc", |
| "base/third_party/double_conversion/double-conversion/bignum.cc", |
| "base/third_party/double_conversion/double-conversion/cached-powers.cc", |
| "base/third_party/double_conversion/double-conversion/double-to-string.cc", |
| "base/third_party/double_conversion/double-conversion/fast-dtoa.cc", |
| "base/third_party/double_conversion/double-conversion/fixed-dtoa.cc", |
| "base/third_party/double_conversion/double-conversion/string-to-double.cc", |
| "base/third_party/double_conversion/double-conversion/strtod.cc", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //base/third_party/dynamic_annotations:dynamic_annotations |
| cc_library_static { |
| name: "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| srcs: [ |
| "base/third_party/dynamic_annotations/dynamic_annotations.c", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //base/third_party/dynamic_annotations:dynamic_annotations__testing |
| cc_library_static { |
| name: "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| srcs: [ |
| "base/third_party/dynamic_annotations/dynamic_annotations.c", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //base:tracing_buildflags |
| cc_genrule { |
| name: "cronet_aml_base_tracing_buildflags", |
| cmd: "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:tracing_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "base/tracing_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //base:tracing_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_base_tracing_buildflags__testing", |
| cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:tracing_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ $$CC_OS != 'android' ]]; " + |
| "then " + |
| "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"true\" OPTIONAL_TRACE_EVENTS_ENABLED=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:tracing_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:tracing_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:tracing_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//base:tracing_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi;", |
| host_supported: true, |
| out: [ |
| "base/tracing_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //build/android:build_config_gen |
| genrule { |
| name: "cronet_aml_build_android_build_config_gen", |
| srcs: [ |
| ":cronet_aml_build_android_build_config_gen_preprocess", |
| ], |
| tools: [ |
| "soong_zip", |
| ], |
| cmd: "cp $(in) $(genDir)/BuildConfig.java && " + |
| "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/BuildConfig.java", |
| out: [ |
| "BuildConfig.srcjar", |
| ], |
| } |
| |
| // GN: //build/android:build_config_gen |
| cc_object { |
| name: "cronet_aml_build_android_build_config_gen_preprocess", |
| srcs: [ |
| ":cronet_aml_build_android_build_config_gen_rename", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-E", |
| "-P", |
| ], |
| compile_multilib: "first", |
| } |
| |
| // GN: //build/android:build_config_gen |
| genrule { |
| name: "cronet_aml_build_android_build_config_gen_rename", |
| srcs: [ |
| "build/android/java/templates/BuildConfig.template", |
| ], |
| cmd: "cp $(in) $(out)", |
| out: [ |
| "BuildConfig.cc", |
| ], |
| } |
| |
| // GN: //build/android:native_libraries_gen |
| java_genrule { |
| name: "cronet_aml_build_android_native_libraries_gen", |
| cmd: "$(location build/android/gyp/write_native_libraries_java.py) --output " + |
| "$(out) " + |
| "--cpu-family " + |
| "CPU_FAMILY_ARM", |
| out: [ |
| "build/android/native_libraries_gen.srcjar", |
| ], |
| tool_files: [ |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/android/gyp/write_native_libraries_java.py", |
| "build/gn_helpers.py", |
| "build/zip_helpers.py", |
| ], |
| } |
| |
| // GN: //build:blink_buildflags |
| cc_genrule { |
| name: "cronet_aml_build_blink_buildflags", |
| cmd: "echo '--flags USE_BLINK=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//build:blink_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "build/blink_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //build:blink_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_build_blink_buildflags__testing", |
| cmd: "echo '--flags USE_BLINK=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//build:blink_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "build/blink_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //build:branding_buildflags |
| cc_genrule { |
| name: "cronet_aml_build_branding_buildflags", |
| cmd: "echo '--flags CHROMIUM_BRANDING=\"1\" GOOGLE_CHROME_BRANDING=\"0\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//build:branding_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "build/branding_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //build:branding_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_build_branding_buildflags__testing", |
| cmd: "echo '--flags CHROMIUM_BRANDING=\"1\" GOOGLE_CHROME_BRANDING=\"0\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//build:branding_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "build/branding_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //build:chromecast_buildflags |
| cc_genrule { |
| name: "cronet_aml_build_chromecast_buildflags", |
| cmd: "echo '--flags IS_CASTOS=\"false\" IS_CAST_ANDROID=\"false\" ENABLE_CAST_RECEIVER=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//build:chromecast_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "build/chromecast_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //build:chromecast_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_build_chromecast_buildflags__testing", |
| cmd: "echo '--flags IS_CASTOS=\"false\" IS_CAST_ANDROID=\"false\" ENABLE_CAST_RECEIVER=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//build:chromecast_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "build/chromecast_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //build:chromeos_buildflags |
| cc_genrule { |
| name: "cronet_aml_build_chromeos_buildflags", |
| cmd: "echo '--flags IS_CHROMEOS_DEVICE=\"false\" IS_CHROMEOS_LACROS=\"false\" IS_CHROMEOS_ASH=\"false\" IS_CHROMEOS_WITH_HW_DETAILS=\"false\" IS_REVEN=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//build:chromeos_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "build/chromeos_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //build:chromeos_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_build_chromeos_buildflags__testing", |
| cmd: "echo '--flags IS_CHROMEOS_DEVICE=\"false\" IS_CHROMEOS_LACROS=\"false\" IS_CHROMEOS_ASH=\"false\" IS_CHROMEOS_WITH_HW_DETAILS=\"false\" IS_REVEN=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//build:chromeos_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "build/chromeos_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //build/config/compiler:compiler_buildflags |
| cc_genrule { |
| name: "cronet_aml_build_config_compiler_compiler_buildflags", |
| cmd: "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//build/config/compiler:compiler_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "build/config/compiler/compiler_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //build/config/compiler:compiler_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_build_config_compiler_compiler_buildflags__testing", |
| cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//build/config/compiler:compiler_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ $$CC_OS != 'android' ]]; " + |
| "then " + |
| "echo '--flags CLANG_PGO=\"2\" SYMBOL_LEVEL=\"1\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//build/config/compiler:compiler_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//build/config/compiler:compiler_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//build/config/compiler:compiler_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//build/config/compiler:compiler_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi;", |
| host_supported: true, |
| out: [ |
| "build/config/compiler/compiler_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //buildtools/third_party/libc++:libc++ |
| cc_library_static { |
| name: "cronet_aml_buildtools_third_party_libc___libc__", |
| srcs: [ |
| "buildtools/third_party/libc++/trunk/src/algorithm.cpp", |
| "buildtools/third_party/libc++/trunk/src/any.cpp", |
| "buildtools/third_party/libc++/trunk/src/atomic.cpp", |
| "buildtools/third_party/libc++/trunk/src/barrier.cpp", |
| "buildtools/third_party/libc++/trunk/src/bind.cpp", |
| "buildtools/third_party/libc++/trunk/src/charconv.cpp", |
| "buildtools/third_party/libc++/trunk/src/chrono.cpp", |
| "buildtools/third_party/libc++/trunk/src/condition_variable.cpp", |
| "buildtools/third_party/libc++/trunk/src/condition_variable_destructor.cpp", |
| "buildtools/third_party/libc++/trunk/src/exception.cpp", |
| "buildtools/third_party/libc++/trunk/src/format.cpp", |
| "buildtools/third_party/libc++/trunk/src/functional.cpp", |
| "buildtools/third_party/libc++/trunk/src/future.cpp", |
| "buildtools/third_party/libc++/trunk/src/hash.cpp", |
| "buildtools/third_party/libc++/trunk/src/ios.cpp", |
| "buildtools/third_party/libc++/trunk/src/ios.instantiations.cpp", |
| "buildtools/third_party/libc++/trunk/src/iostream.cpp", |
| "buildtools/third_party/libc++/trunk/src/legacy_pointer_safety.cpp", |
| "buildtools/third_party/libc++/trunk/src/locale.cpp", |
| "buildtools/third_party/libc++/trunk/src/memory.cpp", |
| "buildtools/third_party/libc++/trunk/src/mutex.cpp", |
| "buildtools/third_party/libc++/trunk/src/mutex_destructor.cpp", |
| "buildtools/third_party/libc++/trunk/src/new.cpp", |
| "buildtools/third_party/libc++/trunk/src/optional.cpp", |
| "buildtools/third_party/libc++/trunk/src/random.cpp", |
| "buildtools/third_party/libc++/trunk/src/random_shuffle.cpp", |
| "buildtools/third_party/libc++/trunk/src/regex.cpp", |
| "buildtools/third_party/libc++/trunk/src/ryu/d2fixed.cpp", |
| "buildtools/third_party/libc++/trunk/src/ryu/d2s.cpp", |
| "buildtools/third_party/libc++/trunk/src/ryu/f2s.cpp", |
| "buildtools/third_party/libc++/trunk/src/shared_mutex.cpp", |
| "buildtools/third_party/libc++/trunk/src/stdexcept.cpp", |
| "buildtools/third_party/libc++/trunk/src/string.cpp", |
| "buildtools/third_party/libc++/trunk/src/strstream.cpp", |
| "buildtools/third_party/libc++/trunk/src/system_error.cpp", |
| "buildtools/third_party/libc++/trunk/src/thread.cpp", |
| "buildtools/third_party/libc++/trunk/src/typeinfo.cpp", |
| "buildtools/third_party/libc++/trunk/src/utility.cpp", |
| "buildtools/third_party/libc++/trunk/src/valarray.cpp", |
| "buildtools/third_party/libc++/trunk/src/variant.cpp", |
| "buildtools/third_party/libc++/trunk/src/vector.cpp", |
| "buildtools/third_party/libc++/trunk/src/verbose_abort.cpp", |
| ], |
| static_libs: [ |
| "cronet_aml_buildtools_third_party_libc__abi_libc__abi", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DLIBCXX_BUILDING_LIBCXXABI", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_BUILDING_LIBRARY", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCPP_OVERRIDABLE_FUNC_VIS=__attribute__((__visibility__(\"default\")))", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++/trunk/src/", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| cppflags: [ |
| "-fexceptions", |
| ], |
| rtti: true, |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //buildtools/third_party/libc++:libc++__testing |
| cc_library_static { |
| name: "cronet_aml_buildtools_third_party_libc___libc____testing", |
| srcs: [ |
| "buildtools/third_party/libc++/trunk/src/algorithm.cpp", |
| "buildtools/third_party/libc++/trunk/src/any.cpp", |
| "buildtools/third_party/libc++/trunk/src/atomic.cpp", |
| "buildtools/third_party/libc++/trunk/src/barrier.cpp", |
| "buildtools/third_party/libc++/trunk/src/bind.cpp", |
| "buildtools/third_party/libc++/trunk/src/charconv.cpp", |
| "buildtools/third_party/libc++/trunk/src/chrono.cpp", |
| "buildtools/third_party/libc++/trunk/src/condition_variable.cpp", |
| "buildtools/third_party/libc++/trunk/src/condition_variable_destructor.cpp", |
| "buildtools/third_party/libc++/trunk/src/exception.cpp", |
| "buildtools/third_party/libc++/trunk/src/format.cpp", |
| "buildtools/third_party/libc++/trunk/src/functional.cpp", |
| "buildtools/third_party/libc++/trunk/src/future.cpp", |
| "buildtools/third_party/libc++/trunk/src/hash.cpp", |
| "buildtools/third_party/libc++/trunk/src/ios.cpp", |
| "buildtools/third_party/libc++/trunk/src/ios.instantiations.cpp", |
| "buildtools/third_party/libc++/trunk/src/iostream.cpp", |
| "buildtools/third_party/libc++/trunk/src/legacy_pointer_safety.cpp", |
| "buildtools/third_party/libc++/trunk/src/locale.cpp", |
| "buildtools/third_party/libc++/trunk/src/memory.cpp", |
| "buildtools/third_party/libc++/trunk/src/mutex.cpp", |
| "buildtools/third_party/libc++/trunk/src/mutex_destructor.cpp", |
| "buildtools/third_party/libc++/trunk/src/new.cpp", |
| "buildtools/third_party/libc++/trunk/src/optional.cpp", |
| "buildtools/third_party/libc++/trunk/src/random.cpp", |
| "buildtools/third_party/libc++/trunk/src/random_shuffle.cpp", |
| "buildtools/third_party/libc++/trunk/src/regex.cpp", |
| "buildtools/third_party/libc++/trunk/src/ryu/d2fixed.cpp", |
| "buildtools/third_party/libc++/trunk/src/ryu/d2s.cpp", |
| "buildtools/third_party/libc++/trunk/src/ryu/f2s.cpp", |
| "buildtools/third_party/libc++/trunk/src/shared_mutex.cpp", |
| "buildtools/third_party/libc++/trunk/src/stdexcept.cpp", |
| "buildtools/third_party/libc++/trunk/src/string.cpp", |
| "buildtools/third_party/libc++/trunk/src/strstream.cpp", |
| "buildtools/third_party/libc++/trunk/src/system_error.cpp", |
| "buildtools/third_party/libc++/trunk/src/thread.cpp", |
| "buildtools/third_party/libc++/trunk/src/typeinfo.cpp", |
| "buildtools/third_party/libc++/trunk/src/utility.cpp", |
| "buildtools/third_party/libc++/trunk/src/valarray.cpp", |
| "buildtools/third_party/libc++/trunk/src/variant.cpp", |
| "buildtools/third_party/libc++/trunk/src/vector.cpp", |
| "buildtools/third_party/libc++/trunk/src/verbose_abort.cpp", |
| ], |
| static_libs: [ |
| "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DLIBCXX_BUILDING_LIBCXXABI", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_BUILDING_LIBRARY", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCPP_OVERRIDABLE_FUNC_VIS=__attribute__((__visibility__(\"default\")))", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++/trunk/src/", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| cppflags: [ |
| "-fexceptions", |
| ], |
| rtti: true, |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //buildtools/third_party/libc++abi:libc++abi |
| cc_library_static { |
| name: "cronet_aml_buildtools_third_party_libc__abi_libc__abi", |
| srcs: [ |
| "buildtools/third_party/libc++abi/trunk/src/abort_message.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_aux_runtime.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_default_handlers.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_exception.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_exception_storage.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_guard.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_handlers.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_personality.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_thread_atexit.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_vector.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_virtual.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/fallback_malloc.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/private_typeinfo.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/stdlib_exception.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/stdlib_stdexcept.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/stdlib_typeinfo.cpp", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DLIBCXXABI_SILENT_TERMINATE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_BUILDING_LIBRARY", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++/trunk/src/", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| cppflags: [ |
| "-fexceptions", |
| ], |
| rtti: true, |
| target: { |
| android_arm: { |
| srcs: [ |
| "buildtools/third_party/libc++abi/cxa_demangle_stub.cc", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| srcs: [ |
| "buildtools/third_party/libc++abi/cxa_demangle_stub.cc", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| srcs: [ |
| "buildtools/third_party/libc++abi/cxa_demangle_stub.cc", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| srcs: [ |
| "buildtools/third_party/libc++abi/cxa_demangle_stub.cc", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| srcs: [ |
| "buildtools/third_party/libc++abi/trunk/src/cxa_demangle.cpp", |
| ], |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //buildtools/third_party/libc++abi:libc++abi__testing |
| cc_library_static { |
| name: "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing", |
| srcs: [ |
| "buildtools/third_party/libc++abi/trunk/src/abort_message.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_aux_runtime.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_default_handlers.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_exception.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_exception_storage.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_guard.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_handlers.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_personality.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_thread_atexit.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_vector.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/cxa_virtual.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/fallback_malloc.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/private_typeinfo.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/stdlib_exception.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/stdlib_stdexcept.cpp", |
| "buildtools/third_party/libc++abi/trunk/src/stdlib_typeinfo.cpp", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DLIBCXXABI_SILENT_TERMINATE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_BUILDING_LIBRARY", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++/trunk/src/", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| cppflags: [ |
| "-fexceptions", |
| ], |
| rtti: true, |
| target: { |
| android_arm: { |
| srcs: [ |
| "buildtools/third_party/libc++abi/cxa_demangle_stub.cc", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| srcs: [ |
| "buildtools/third_party/libc++abi/cxa_demangle_stub.cc", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| srcs: [ |
| "buildtools/third_party/libc++abi/cxa_demangle_stub.cc", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| srcs: [ |
| "buildtools/third_party/libc++abi/cxa_demangle_stub.cc", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| srcs: [ |
| "buildtools/third_party/libc++abi/trunk/src/cxa_demangle.cpp", |
| ], |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //components/cronet/android:buildflags |
| cc_genrule { |
| name: "cronet_aml_components_cronet_android_buildflags", |
| cmd: "echo '--flags INTEGRATED_MODE=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//components/cronet/android:buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "components/cronet/android/buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/cronet/android:buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_components_cronet_android_buildflags__testing", |
| cmd: "echo '--flags INTEGRATED_MODE=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//components/cronet/android:buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "components/cronet/android/buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/cronet/android:cronet |
| cc_library_shared { |
| name: "cronet_aml_components_cronet_android_cronet", |
| srcs: [ |
| "components/cronet/android/cronet_jni.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_components_prefs_prefs", |
| "cronet_aml_crypto_crypto", |
| "cronet_aml_net_net", |
| "cronet_aml_net_preload_decoder", |
| "cronet_aml_net_third_party_quiche_quiche", |
| "cronet_aml_net_uri_template", |
| "cronet_aml_third_party_brotli_common", |
| "cronet_aml_third_party_brotli_dec", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| "cronet_aml_third_party_protobuf_protobuf_lite", |
| "cronet_aml_url_url", |
| ], |
| whole_static_libs: [ |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_buildtools_third_party_libc___libc__", |
| "cronet_aml_buildtools_third_party_libc__abi_libc__abi", |
| "cronet_aml_components_cronet_android_cronet_static", |
| "cronet_aml_components_cronet_cronet_common", |
| "cronet_aml_components_cronet_cronet_version_header", |
| "cronet_aml_components_cronet_metrics_util", |
| "cronet_aml_components_metrics_library_support", |
| "cronet_aml_components_prefs_prefs_features", |
| "cronet_aml_net_dns_dns", |
| "cronet_aml_net_dns_public_public", |
| "cronet_aml_net_http_transport_security_state_generated_files", |
| "cronet_aml_net_net_deps", |
| "cronet_aml_net_net_public_deps", |
| "cronet_aml_net_traffic_annotation_traffic_annotation", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| stem: "libcronet.114.0.5735.84", |
| visibility: [ |
| "//packages/modules/Connectivity:__subpackages__", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/cronet/android:cronet__testing |
| cc_library_shared { |
| name: "cronet_aml_components_cronet_android_cronet__testing", |
| srcs: [ |
| "components/cronet/android/cronet_jni.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_components_prefs_prefs__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| whole_static_libs: [ |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_buildtools_third_party_libc___libc____testing", |
| "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing", |
| "cronet_aml_components_cronet_android_cronet_static__testing", |
| "cronet_aml_components_cronet_cronet_common__testing", |
| "cronet_aml_components_cronet_cronet_version_header__testing", |
| "cronet_aml_components_cronet_metrics_util__testing", |
| "cronet_aml_components_metrics_library_support__testing", |
| "cronet_aml_components_prefs_prefs_features__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/cronet/android:cronet_jni_headers |
| cc_genrule { |
| name: "cronet_aml_components_cronet_android_cronet_jni_headers", |
| srcs: [ |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java", |
| ], |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/components/cronet/android/cronet_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--use_proxy_hash " + |
| "--output_name " + |
| "CronetBidirectionalStream_jni.h " + |
| "--output_name " + |
| "CronetLibraryLoader_jni.h " + |
| "--output_name " + |
| "CronetUploadDataStream_jni.h " + |
| "--output_name " + |
| "CronetUrlRequest_jni.h " + |
| "--output_name " + |
| "CronetUrlRequestContext_jni.h " + |
| "--input_file " + |
| "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java) " + |
| "--input_file " + |
| "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java) " + |
| "--input_file " + |
| "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java) " + |
| "--input_file " + |
| "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java) " + |
| "--input_file " + |
| "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java) " + |
| "--package_prefix " + |
| "android.net.connectivity", |
| out: [ |
| "components/cronet/android/cronet_jni_headers/CronetBidirectionalStream_jni.h", |
| "components/cronet/android/cronet_jni_headers/CronetLibraryLoader_jni.h", |
| "components/cronet/android/cronet_jni_headers/CronetUploadDataStream_jni.h", |
| "components/cronet/android/cronet_jni_headers/CronetUrlRequestContext_jni.h", |
| "components/cronet/android/cronet_jni_headers/CronetUrlRequest_jni.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/cronet/android:cronet_jni_headers__testing |
| cc_genrule { |
| name: "cronet_aml_components_cronet_android_cronet_jni_headers__testing", |
| srcs: [ |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java", |
| ], |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/components/cronet/android/cronet_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--use_proxy_hash " + |
| "--output_name " + |
| "CronetBidirectionalStream_jni.h " + |
| "--output_name " + |
| "CronetLibraryLoader_jni.h " + |
| "--output_name " + |
| "CronetUploadDataStream_jni.h " + |
| "--output_name " + |
| "CronetUrlRequest_jni.h " + |
| "--output_name " + |
| "CronetUrlRequestContext_jni.h " + |
| "--input_file " + |
| "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java) " + |
| "--input_file " + |
| "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java) " + |
| "--input_file " + |
| "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java) " + |
| "--input_file " + |
| "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java) " + |
| "--input_file " + |
| "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java)", |
| out: [ |
| "components/cronet/android/cronet_jni_headers/CronetBidirectionalStream_jni.h", |
| "components/cronet/android/cronet_jni_headers/CronetLibraryLoader_jni.h", |
| "components/cronet/android/cronet_jni_headers/CronetUploadDataStream_jni.h", |
| "components/cronet/android/cronet_jni_headers/CronetUrlRequestContext_jni.h", |
| "components/cronet/android/cronet_jni_headers/CronetUrlRequest_jni.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/cronet/android:cronet_jni_registration |
| cc_genrule { |
| name: "cronet_aml_components_cronet_android_cronet_jni_registration", |
| srcs: [ |
| "base/android/java/src/org/chromium/base/ActivityState.java", |
| "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java", |
| "base/android/java/src/org/chromium/base/ApkAssets.java", |
| "base/android/java/src/org/chromium/base/ApplicationStatus.java", |
| "base/android/java/src/org/chromium/base/BaseFeatureList.java", |
| "base/android/java/src/org/chromium/base/BuildInfo.java", |
| "base/android/java/src/org/chromium/base/BundleUtils.java", |
| "base/android/java/src/org/chromium/base/Callback.java", |
| "base/android/java/src/org/chromium/base/CallbackController.java", |
| "base/android/java/src/org/chromium/base/CollectionUtil.java", |
| "base/android/java/src/org/chromium/base/CommandLine.java", |
| "base/android/java/src/org/chromium/base/CommandLineInitUtil.java", |
| "base/android/java/src/org/chromium/base/ContentUriUtils.java", |
| "base/android/java/src/org/chromium/base/ContextUtils.java", |
| "base/android/java/src/org/chromium/base/CpuFeatures.java", |
| "base/android/java/src/org/chromium/base/DiscardableReferencePool.java", |
| "base/android/java/src/org/chromium/base/EarlyTraceEvent.java", |
| "base/android/java/src/org/chromium/base/EventLog.java", |
| "base/android/java/src/org/chromium/base/FeatureList.java", |
| "base/android/java/src/org/chromium/base/Features.java", |
| "base/android/java/src/org/chromium/base/FieldTrialList.java", |
| "base/android/java/src/org/chromium/base/FileUtils.java", |
| "base/android/java/src/org/chromium/base/Flag.java", |
| "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java", |
| "base/android/java/src/org/chromium/base/IntStringCallback.java", |
| "base/android/java/src/org/chromium/base/JNIUtils.java", |
| "base/android/java/src/org/chromium/base/JavaExceptionReporter.java", |
| "base/android/java/src/org/chromium/base/JavaHandlerThread.java", |
| "base/android/java/src/org/chromium/base/JniException.java", |
| "base/android/java/src/org/chromium/base/JniStaticTestMocker.java", |
| "base/android/java/src/org/chromium/base/LifetimeAssert.java", |
| "base/android/java/src/org/chromium/base/LocaleUtils.java", |
| "base/android/java/src/org/chromium/base/Log.java", |
| "base/android/java/src/org/chromium/base/MathUtils.java", |
| "base/android/java/src/org/chromium/base/MemoryPressureListener.java", |
| "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java", |
| "base/android/java/src/org/chromium/base/ObserverList.java", |
| "base/android/java/src/org/chromium/base/PackageManagerUtils.java", |
| "base/android/java/src/org/chromium/base/PackageUtils.java", |
| "base/android/java/src/org/chromium/base/PathService.java", |
| "base/android/java/src/org/chromium/base/PathUtils.java", |
| "base/android/java/src/org/chromium/base/PiiElider.java", |
| "base/android/java/src/org/chromium/base/PowerMonitor.java", |
| "base/android/java/src/org/chromium/base/PowerMonitorForQ.java", |
| "base/android/java/src/org/chromium/base/Promise.java", |
| "base/android/java/src/org/chromium/base/RadioUtils.java", |
| "base/android/java/src/org/chromium/base/RequiredCallback.java", |
| "base/android/java/src/org/chromium/base/ResettersForTesting.java", |
| "base/android/java/src/org/chromium/base/StreamUtil.java", |
| "base/android/java/src/org/chromium/base/StrictModeContext.java", |
| "base/android/java/src/org/chromium/base/SysUtils.java", |
| "base/android/java/src/org/chromium/base/ThreadUtils.java", |
| "base/android/java/src/org/chromium/base/TimeUtils.java", |
| "base/android/java/src/org/chromium/base/TimezoneUtils.java", |
| "base/android/java/src/org/chromium/base/TraceEvent.java", |
| "base/android/java/src/org/chromium/base/UnguessableToken.java", |
| "base/android/java/src/org/chromium/base/UnownedUserData.java", |
| "base/android/java/src/org/chromium/base/UnownedUserDataHost.java", |
| "base/android/java/src/org/chromium/base/UnownedUserDataKey.java", |
| "base/android/java/src/org/chromium/base/UserData.java", |
| "base/android/java/src/org/chromium/base/UserDataHost.java", |
| "base/android/java/src/org/chromium/base/WrappedClassLoader.java", |
| "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNative.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java", |
| "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java", |
| "base/android/java/src/org/chromium/base/annotations/JNINamespace.java", |
| "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java", |
| "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java", |
| "base/android/java/src/org/chromium/base/annotations/NativeMethods.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java", |
| "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java", |
| "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java", |
| "base/android/java/src/org/chromium/base/library_loader/Linker.java", |
| "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java", |
| "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java", |
| "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java", |
| "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java", |
| "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java", |
| "base/android/java/src/org/chromium/base/lifetime/Destroyable.java", |
| "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java", |
| "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/HistogramBucket.java", |
| "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java", |
| "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java", |
| "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java", |
| "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java", |
| "base/android/java/src/org/chromium/base/metrics/TimingMetric.java", |
| "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java", |
| "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java", |
| "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java", |
| "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java", |
| "base/android/java/src/org/chromium/base/supplier/Supplier.java", |
| "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java", |
| "base/android/java/src/org/chromium/base/task/AsyncTask.java", |
| "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java", |
| "base/android/java/src/org/chromium/base/task/ChainedTasks.java", |
| "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java", |
| "base/android/java/src/org/chromium/base/task/PostTask.java", |
| "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/SerialExecutor.java", |
| "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/TaskExecutor.java", |
| "base/android/java/src/org/chromium/base/task/TaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/ThreadPoolTaskExecutor.java", |
| "base/android/java/src/org/chromium/base/task/UiThreadTaskExecutor.java", |
| "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java", |
| "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotInline.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotStripLogs.java", |
| "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java", |
| "build/android/java/src/org/chromium/build/annotations/MainDex.java", |
| "build/android/java/src/org/chromium/build/annotations/MockedInTests.java", |
| "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/HeaderBlockImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java", |
| "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java", |
| "net/android/java/src/org/chromium/net/AndroidKeyStore.java", |
| "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java", |
| "net/android/java/src/org/chromium/net/AndroidTrafficStats.java", |
| "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java", |
| "net/android/java/src/org/chromium/net/DnsStatus.java", |
| "net/android/java/src/org/chromium/net/GURLUtils.java", |
| "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java", |
| "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java", |
| "net/android/java/src/org/chromium/net/HttpUtil.java", |
| "net/android/java/src/org/chromium/net/MimeTypeFilter.java", |
| "net/android/java/src/org/chromium/net/NetStringUtil.java", |
| "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java", |
| "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java", |
| "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java", |
| "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java", |
| "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java", |
| "net/android/java/src/org/chromium/net/ProxyChangeListener.java", |
| "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java", |
| "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java", |
| "net/android/java/src/org/chromium/net/ThreadStatsUid.java", |
| "net/android/java/src/org/chromium/net/X509Util.java", |
| "url/android/java/src/org/chromium/url/IDNStringUtil.java", |
| ], |
| cmd: "current_dir=`basename \\`pwd\\``; " + |
| "for f in $(in); " + |
| "do " + |
| "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " + |
| "done; " + |
| "python3 $(location base/android/jni_generator/jni_registration_generator.py) --srcjar-path " + |
| "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " + |
| "--depfile " + |
| "$(genDir)/components/cronet/android/cronet_jni_registration.d " + |
| "--sources-files " + |
| "$(genDir)/java.sources " + |
| "--include-test-only " + |
| "--use-proxy-hash " + |
| "--manual-jni-registration " + |
| "--header-path " + |
| "$(genDir)/components/cronet/android/cronet_jni_registration_generated.h " + |
| "--package_prefix " + |
| "android.net.connectivity", |
| out: [ |
| "components/cronet/android/cronet_jni_registration.srcjar", |
| "components/cronet/android/cronet_jni_registration_generated.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/jni_generator.py", |
| "base/android/jni_generator/jni_registration_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| "build/zip_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/cronet/android:cronet_jni_registration |
| java_genrule { |
| name: "cronet_aml_components_cronet_android_cronet_jni_registration__java", |
| srcs: [ |
| "base/android/java/src/org/chromium/base/ActivityState.java", |
| "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java", |
| "base/android/java/src/org/chromium/base/ApkAssets.java", |
| "base/android/java/src/org/chromium/base/ApplicationStatus.java", |
| "base/android/java/src/org/chromium/base/BaseFeatureList.java", |
| "base/android/java/src/org/chromium/base/BuildInfo.java", |
| "base/android/java/src/org/chromium/base/BundleUtils.java", |
| "base/android/java/src/org/chromium/base/Callback.java", |
| "base/android/java/src/org/chromium/base/CallbackController.java", |
| "base/android/java/src/org/chromium/base/CollectionUtil.java", |
| "base/android/java/src/org/chromium/base/CommandLine.java", |
| "base/android/java/src/org/chromium/base/CommandLineInitUtil.java", |
| "base/android/java/src/org/chromium/base/ContentUriUtils.java", |
| "base/android/java/src/org/chromium/base/ContextUtils.java", |
| "base/android/java/src/org/chromium/base/CpuFeatures.java", |
| "base/android/java/src/org/chromium/base/DiscardableReferencePool.java", |
| "base/android/java/src/org/chromium/base/EarlyTraceEvent.java", |
| "base/android/java/src/org/chromium/base/EventLog.java", |
| "base/android/java/src/org/chromium/base/FeatureList.java", |
| "base/android/java/src/org/chromium/base/Features.java", |
| "base/android/java/src/org/chromium/base/FieldTrialList.java", |
| "base/android/java/src/org/chromium/base/FileUtils.java", |
| "base/android/java/src/org/chromium/base/Flag.java", |
| "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java", |
| "base/android/java/src/org/chromium/base/IntStringCallback.java", |
| "base/android/java/src/org/chromium/base/JNIUtils.java", |
| "base/android/java/src/org/chromium/base/JavaExceptionReporter.java", |
| "base/android/java/src/org/chromium/base/JavaHandlerThread.java", |
| "base/android/java/src/org/chromium/base/JniException.java", |
| "base/android/java/src/org/chromium/base/JniStaticTestMocker.java", |
| "base/android/java/src/org/chromium/base/LifetimeAssert.java", |
| "base/android/java/src/org/chromium/base/LocaleUtils.java", |
| "base/android/java/src/org/chromium/base/Log.java", |
| "base/android/java/src/org/chromium/base/MathUtils.java", |
| "base/android/java/src/org/chromium/base/MemoryPressureListener.java", |
| "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java", |
| "base/android/java/src/org/chromium/base/ObserverList.java", |
| "base/android/java/src/org/chromium/base/PackageManagerUtils.java", |
| "base/android/java/src/org/chromium/base/PackageUtils.java", |
| "base/android/java/src/org/chromium/base/PathService.java", |
| "base/android/java/src/org/chromium/base/PathUtils.java", |
| "base/android/java/src/org/chromium/base/PiiElider.java", |
| "base/android/java/src/org/chromium/base/PowerMonitor.java", |
| "base/android/java/src/org/chromium/base/PowerMonitorForQ.java", |
| "base/android/java/src/org/chromium/base/Promise.java", |
| "base/android/java/src/org/chromium/base/RadioUtils.java", |
| "base/android/java/src/org/chromium/base/RequiredCallback.java", |
| "base/android/java/src/org/chromium/base/ResettersForTesting.java", |
| "base/android/java/src/org/chromium/base/StreamUtil.java", |
| "base/android/java/src/org/chromium/base/StrictModeContext.java", |
| "base/android/java/src/org/chromium/base/SysUtils.java", |
| "base/android/java/src/org/chromium/base/ThreadUtils.java", |
| "base/android/java/src/org/chromium/base/TimeUtils.java", |
| "base/android/java/src/org/chromium/base/TimezoneUtils.java", |
| "base/android/java/src/org/chromium/base/TraceEvent.java", |
| "base/android/java/src/org/chromium/base/UnguessableToken.java", |
| "base/android/java/src/org/chromium/base/UnownedUserData.java", |
| "base/android/java/src/org/chromium/base/UnownedUserDataHost.java", |
| "base/android/java/src/org/chromium/base/UnownedUserDataKey.java", |
| "base/android/java/src/org/chromium/base/UserData.java", |
| "base/android/java/src/org/chromium/base/UserDataHost.java", |
| "base/android/java/src/org/chromium/base/WrappedClassLoader.java", |
| "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNative.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java", |
| "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java", |
| "base/android/java/src/org/chromium/base/annotations/JNINamespace.java", |
| "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java", |
| "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java", |
| "base/android/java/src/org/chromium/base/annotations/NativeMethods.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java", |
| "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java", |
| "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java", |
| "base/android/java/src/org/chromium/base/library_loader/Linker.java", |
| "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java", |
| "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java", |
| "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java", |
| "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java", |
| "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java", |
| "base/android/java/src/org/chromium/base/lifetime/Destroyable.java", |
| "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java", |
| "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/HistogramBucket.java", |
| "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java", |
| "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java", |
| "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java", |
| "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java", |
| "base/android/java/src/org/chromium/base/metrics/TimingMetric.java", |
| "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java", |
| "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java", |
| "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java", |
| "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java", |
| "base/android/java/src/org/chromium/base/supplier/Supplier.java", |
| "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java", |
| "base/android/java/src/org/chromium/base/task/AsyncTask.java", |
| "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java", |
| "base/android/java/src/org/chromium/base/task/ChainedTasks.java", |
| "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java", |
| "base/android/java/src/org/chromium/base/task/PostTask.java", |
| "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/SerialExecutor.java", |
| "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/TaskExecutor.java", |
| "base/android/java/src/org/chromium/base/task/TaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/ThreadPoolTaskExecutor.java", |
| "base/android/java/src/org/chromium/base/task/UiThreadTaskExecutor.java", |
| "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java", |
| "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotInline.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotStripLogs.java", |
| "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java", |
| "build/android/java/src/org/chromium/build/annotations/MainDex.java", |
| "build/android/java/src/org/chromium/build/annotations/MockedInTests.java", |
| "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/HeaderBlockImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java", |
| "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java", |
| "net/android/java/src/org/chromium/net/AndroidKeyStore.java", |
| "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java", |
| "net/android/java/src/org/chromium/net/AndroidTrafficStats.java", |
| "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java", |
| "net/android/java/src/org/chromium/net/DnsStatus.java", |
| "net/android/java/src/org/chromium/net/GURLUtils.java", |
| "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java", |
| "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java", |
| "net/android/java/src/org/chromium/net/HttpUtil.java", |
| "net/android/java/src/org/chromium/net/MimeTypeFilter.java", |
| "net/android/java/src/org/chromium/net/NetStringUtil.java", |
| "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java", |
| "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java", |
| "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java", |
| "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java", |
| "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java", |
| "net/android/java/src/org/chromium/net/ProxyChangeListener.java", |
| "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java", |
| "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java", |
| "net/android/java/src/org/chromium/net/ThreadStatsUid.java", |
| "net/android/java/src/org/chromium/net/X509Util.java", |
| "url/android/java/src/org/chromium/url/IDNStringUtil.java", |
| ], |
| cmd: "current_dir=`basename \\`pwd\\``; " + |
| "for f in $(in); " + |
| "do " + |
| "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " + |
| "done; " + |
| "python3 $(location base/android/jni_generator/jni_registration_generator.py) --srcjar-path " + |
| "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " + |
| "--depfile " + |
| "$(genDir)/components/cronet/android/cronet_jni_registration.d " + |
| "--sources-files " + |
| "$(genDir)/java.sources " + |
| "--include-test-only " + |
| "--use-proxy-hash " + |
| "--manual-jni-registration " + |
| "--header-path " + |
| "$(genDir)/components/cronet/android/cronet_jni_registration_generated.h " + |
| "--package_prefix " + |
| "android.net.connectivity", |
| out: [ |
| "components/cronet/android/cronet_jni_registration.srcjar", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/jni_generator.py", |
| "base/android/jni_generator/jni_registration_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| "build/zip_helpers.py", |
| ], |
| } |
| |
| // GN: //components/cronet/android:cronet_jni_registration |
| // HACK! Do not try to replicate this in gn2bp. |
| // We eventually want to explore an approach of collecting all test-related sources and placing them |
| // inside the cronet_aml_java__testing jar as well (as opposed to manually specifying them in |
| // Android.extras.bp). But since this is purely exploratory and not nearly ready yet, this manual |
| // hack is required to release Cronet in U. |
| genrule_defaults { |
| name: "cronet_aml_components_cronet_android_cronet_jni_registration__java__testing_defaults", |
| srcs: [ |
| "base/android/java/src/org/chromium/base/ActivityState.java", |
| "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java", |
| "base/android/java/src/org/chromium/base/ApkAssets.java", |
| "base/android/java/src/org/chromium/base/ApplicationStatus.java", |
| "base/android/java/src/org/chromium/base/BaseFeatureList.java", |
| "base/android/java/src/org/chromium/base/BuildInfo.java", |
| "base/android/java/src/org/chromium/base/BundleUtils.java", |
| "base/android/java/src/org/chromium/base/Callback.java", |
| "base/android/java/src/org/chromium/base/CallbackController.java", |
| "base/android/java/src/org/chromium/base/CollectionUtil.java", |
| "base/android/java/src/org/chromium/base/CommandLine.java", |
| "base/android/java/src/org/chromium/base/CommandLineInitUtil.java", |
| "base/android/java/src/org/chromium/base/ContentUriUtils.java", |
| "base/android/java/src/org/chromium/base/ContextUtils.java", |
| "base/android/java/src/org/chromium/base/CpuFeatures.java", |
| "base/android/java/src/org/chromium/base/DiscardableReferencePool.java", |
| "base/android/java/src/org/chromium/base/EarlyTraceEvent.java", |
| "base/android/java/src/org/chromium/base/EventLog.java", |
| "base/android/java/src/org/chromium/base/FeatureList.java", |
| "base/android/java/src/org/chromium/base/Features.java", |
| "base/android/java/src/org/chromium/base/FieldTrialList.java", |
| "base/android/java/src/org/chromium/base/FileUtils.java", |
| "base/android/java/src/org/chromium/base/Flag.java", |
| "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java", |
| "base/android/java/src/org/chromium/base/IntStringCallback.java", |
| "base/android/java/src/org/chromium/base/JNIUtils.java", |
| "base/android/java/src/org/chromium/base/JavaExceptionReporter.java", |
| "base/android/java/src/org/chromium/base/JavaHandlerThread.java", |
| "base/android/java/src/org/chromium/base/JniException.java", |
| "base/android/java/src/org/chromium/base/JniStaticTestMocker.java", |
| "base/android/java/src/org/chromium/base/LifetimeAssert.java", |
| "base/android/java/src/org/chromium/base/LocaleUtils.java", |
| "base/android/java/src/org/chromium/base/Log.java", |
| "base/android/java/src/org/chromium/base/MathUtils.java", |
| "base/android/java/src/org/chromium/base/MemoryPressureListener.java", |
| "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java", |
| "base/android/java/src/org/chromium/base/ObserverList.java", |
| "base/android/java/src/org/chromium/base/PackageManagerUtils.java", |
| "base/android/java/src/org/chromium/base/PackageUtils.java", |
| "base/android/java/src/org/chromium/base/PathService.java", |
| "base/android/java/src/org/chromium/base/PathUtils.java", |
| "base/android/java/src/org/chromium/base/PiiElider.java", |
| "base/android/java/src/org/chromium/base/PowerMonitor.java", |
| "base/android/java/src/org/chromium/base/PowerMonitorForQ.java", |
| "base/android/java/src/org/chromium/base/Promise.java", |
| "base/android/java/src/org/chromium/base/RadioUtils.java", |
| "base/android/java/src/org/chromium/base/RequiredCallback.java", |
| "base/android/java/src/org/chromium/base/ResettersForTesting.java", |
| "base/android/java/src/org/chromium/base/StreamUtil.java", |
| "base/android/java/src/org/chromium/base/StrictModeContext.java", |
| "base/android/java/src/org/chromium/base/SysUtils.java", |
| "base/android/java/src/org/chromium/base/ThreadUtils.java", |
| "base/android/java/src/org/chromium/base/TimeUtils.java", |
| "base/android/java/src/org/chromium/base/TimezoneUtils.java", |
| "base/android/java/src/org/chromium/base/TraceEvent.java", |
| "base/android/java/src/org/chromium/base/UnguessableToken.java", |
| "base/android/java/src/org/chromium/base/UnownedUserData.java", |
| "base/android/java/src/org/chromium/base/UnownedUserDataHost.java", |
| "base/android/java/src/org/chromium/base/UnownedUserDataKey.java", |
| "base/android/java/src/org/chromium/base/UserData.java", |
| "base/android/java/src/org/chromium/base/UserDataHost.java", |
| "base/android/java/src/org/chromium/base/WrappedClassLoader.java", |
| "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNative.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java", |
| "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java", |
| "base/android/java/src/org/chromium/base/annotations/JNINamespace.java", |
| "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java", |
| "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java", |
| "base/android/java/src/org/chromium/base/annotations/NativeMethods.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java", |
| "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java", |
| "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java", |
| "base/android/java/src/org/chromium/base/library_loader/Linker.java", |
| "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java", |
| "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java", |
| "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java", |
| "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java", |
| "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java", |
| "base/android/java/src/org/chromium/base/lifetime/Destroyable.java", |
| "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java", |
| "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/HistogramBucket.java", |
| "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java", |
| "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java", |
| "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java", |
| "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java", |
| "base/android/java/src/org/chromium/base/metrics/TimingMetric.java", |
| "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java", |
| "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java", |
| "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java", |
| "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java", |
| "base/android/java/src/org/chromium/base/supplier/Supplier.java", |
| "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java", |
| "base/android/java/src/org/chromium/base/task/AsyncTask.java", |
| "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java", |
| "base/android/java/src/org/chromium/base/task/ChainedTasks.java", |
| "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java", |
| "base/android/java/src/org/chromium/base/task/PostTask.java", |
| "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/SerialExecutor.java", |
| "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/TaskExecutor.java", |
| "base/android/java/src/org/chromium/base/task/TaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/ThreadPoolTaskExecutor.java", |
| "base/android/java/src/org/chromium/base/task/UiThreadTaskExecutor.java", |
| "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java", |
| "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotInline.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotStripLogs.java", |
| "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java", |
| "build/android/java/src/org/chromium/build/annotations/MainDex.java", |
| "build/android/java/src/org/chromium/build/annotations/MockedInTests.java", |
| "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/HeaderBlockImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java", |
| "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java", |
| "net/android/java/src/org/chromium/net/AndroidKeyStore.java", |
| "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java", |
| "net/android/java/src/org/chromium/net/AndroidTrafficStats.java", |
| "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java", |
| "net/android/java/src/org/chromium/net/DnsStatus.java", |
| "net/android/java/src/org/chromium/net/GURLUtils.java", |
| "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java", |
| "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java", |
| "net/android/java/src/org/chromium/net/HttpUtil.java", |
| "net/android/java/src/org/chromium/net/MimeTypeFilter.java", |
| "net/android/java/src/org/chromium/net/NetStringUtil.java", |
| "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java", |
| "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java", |
| "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java", |
| "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java", |
| "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java", |
| "net/android/java/src/org/chromium/net/ProxyChangeListener.java", |
| "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java", |
| "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java", |
| "net/android/java/src/org/chromium/net/ThreadStatsUid.java", |
| "net/android/java/src/org/chromium/net/X509Util.java", |
| "url/android/java/src/org/chromium/url/IDNStringUtil.java", |
| ], |
| cmd: "current_dir=`basename \\`pwd\\``; " + |
| "for f in $(in); " + |
| "do " + |
| "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " + |
| "done; " + |
| "python3 $(location base/android/jni_generator/jni_registration_generator.py) --srcjar-path " + |
| "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " + |
| "--depfile " + |
| "$(genDir)/components/cronet/android/cronet_jni_registration.d " + |
| "--sources-files " + |
| "$(genDir)/java.sources " + |
| "--include-test-only " + |
| "--use-proxy-hash " + |
| "--manual-jni-registration " + |
| "--header-path " + |
| "$(genDir)/components/cronet/android/cronet_jni_registration_generated.h", |
| out: [ |
| "components/cronet/android/cronet_jni_registration.srcjar", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/jni_generator.py", |
| "base/android/jni_generator/jni_registration_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| "build/zip_helpers.py", |
| ], |
| } |
| |
| genrule { |
| name: "cronet_aml_components_cronet_android_cronet_jni_registration__java__testing", |
| defaults: ["cronet_aml_components_cronet_android_cronet_jni_registration__java__testing_defaults"], |
| } |
| |
| // GN: //components/cronet/android:cronet_jni_registration__testing |
| cc_genrule { |
| name: "cronet_aml_components_cronet_android_cronet_jni_registration__testing", |
| srcs: [ |
| "base/android/java/src/org/chromium/base/ActivityState.java", |
| "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java", |
| "base/android/java/src/org/chromium/base/ApkAssets.java", |
| "base/android/java/src/org/chromium/base/ApplicationStatus.java", |
| "base/android/java/src/org/chromium/base/BaseFeatureList.java", |
| "base/android/java/src/org/chromium/base/BuildInfo.java", |
| "base/android/java/src/org/chromium/base/BundleUtils.java", |
| "base/android/java/src/org/chromium/base/Callback.java", |
| "base/android/java/src/org/chromium/base/CallbackController.java", |
| "base/android/java/src/org/chromium/base/CollectionUtil.java", |
| "base/android/java/src/org/chromium/base/CommandLine.java", |
| "base/android/java/src/org/chromium/base/CommandLineInitUtil.java", |
| "base/android/java/src/org/chromium/base/ContentUriUtils.java", |
| "base/android/java/src/org/chromium/base/ContextUtils.java", |
| "base/android/java/src/org/chromium/base/CpuFeatures.java", |
| "base/android/java/src/org/chromium/base/DiscardableReferencePool.java", |
| "base/android/java/src/org/chromium/base/EarlyTraceEvent.java", |
| "base/android/java/src/org/chromium/base/EventLog.java", |
| "base/android/java/src/org/chromium/base/FeatureList.java", |
| "base/android/java/src/org/chromium/base/Features.java", |
| "base/android/java/src/org/chromium/base/FieldTrialList.java", |
| "base/android/java/src/org/chromium/base/FileUtils.java", |
| "base/android/java/src/org/chromium/base/Flag.java", |
| "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java", |
| "base/android/java/src/org/chromium/base/IntStringCallback.java", |
| "base/android/java/src/org/chromium/base/JNIUtils.java", |
| "base/android/java/src/org/chromium/base/JavaExceptionReporter.java", |
| "base/android/java/src/org/chromium/base/JavaHandlerThread.java", |
| "base/android/java/src/org/chromium/base/JniException.java", |
| "base/android/java/src/org/chromium/base/JniStaticTestMocker.java", |
| "base/android/java/src/org/chromium/base/LifetimeAssert.java", |
| "base/android/java/src/org/chromium/base/LocaleUtils.java", |
| "base/android/java/src/org/chromium/base/Log.java", |
| "base/android/java/src/org/chromium/base/MathUtils.java", |
| "base/android/java/src/org/chromium/base/MemoryPressureListener.java", |
| "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java", |
| "base/android/java/src/org/chromium/base/ObserverList.java", |
| "base/android/java/src/org/chromium/base/PackageManagerUtils.java", |
| "base/android/java/src/org/chromium/base/PackageUtils.java", |
| "base/android/java/src/org/chromium/base/PathService.java", |
| "base/android/java/src/org/chromium/base/PathUtils.java", |
| "base/android/java/src/org/chromium/base/PiiElider.java", |
| "base/android/java/src/org/chromium/base/PowerMonitor.java", |
| "base/android/java/src/org/chromium/base/PowerMonitorForQ.java", |
| "base/android/java/src/org/chromium/base/Promise.java", |
| "base/android/java/src/org/chromium/base/RadioUtils.java", |
| "base/android/java/src/org/chromium/base/RequiredCallback.java", |
| "base/android/java/src/org/chromium/base/ResettersForTesting.java", |
| "base/android/java/src/org/chromium/base/StreamUtil.java", |
| "base/android/java/src/org/chromium/base/StrictModeContext.java", |
| "base/android/java/src/org/chromium/base/SysUtils.java", |
| "base/android/java/src/org/chromium/base/ThreadUtils.java", |
| "base/android/java/src/org/chromium/base/TimeUtils.java", |
| "base/android/java/src/org/chromium/base/TimezoneUtils.java", |
| "base/android/java/src/org/chromium/base/TraceEvent.java", |
| "base/android/java/src/org/chromium/base/UnguessableToken.java", |
| "base/android/java/src/org/chromium/base/UnownedUserData.java", |
| "base/android/java/src/org/chromium/base/UnownedUserDataHost.java", |
| "base/android/java/src/org/chromium/base/UnownedUserDataKey.java", |
| "base/android/java/src/org/chromium/base/UserData.java", |
| "base/android/java/src/org/chromium/base/UserDataHost.java", |
| "base/android/java/src/org/chromium/base/WrappedClassLoader.java", |
| "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNative.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java", |
| "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java", |
| "base/android/java/src/org/chromium/base/annotations/JNINamespace.java", |
| "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java", |
| "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java", |
| "base/android/java/src/org/chromium/base/annotations/NativeMethods.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java", |
| "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java", |
| "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java", |
| "base/android/java/src/org/chromium/base/library_loader/Linker.java", |
| "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java", |
| "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java", |
| "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java", |
| "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java", |
| "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java", |
| "base/android/java/src/org/chromium/base/lifetime/Destroyable.java", |
| "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java", |
| "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/HistogramBucket.java", |
| "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java", |
| "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java", |
| "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java", |
| "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java", |
| "base/android/java/src/org/chromium/base/metrics/TimingMetric.java", |
| "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java", |
| "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java", |
| "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java", |
| "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java", |
| "base/android/java/src/org/chromium/base/supplier/Supplier.java", |
| "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java", |
| "base/android/java/src/org/chromium/base/task/AsyncTask.java", |
| "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java", |
| "base/android/java/src/org/chromium/base/task/ChainedTasks.java", |
| "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java", |
| "base/android/java/src/org/chromium/base/task/PostTask.java", |
| "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/SerialExecutor.java", |
| "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/TaskExecutor.java", |
| "base/android/java/src/org/chromium/base/task/TaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/ThreadPoolTaskExecutor.java", |
| "base/android/java/src/org/chromium/base/task/UiThreadTaskExecutor.java", |
| "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java", |
| "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotInline.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotStripLogs.java", |
| "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java", |
| "build/android/java/src/org/chromium/build/annotations/MainDex.java", |
| "build/android/java/src/org/chromium/build/annotations/MockedInTests.java", |
| "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/HeaderBlockImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java", |
| "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java", |
| "net/android/java/src/org/chromium/net/AndroidKeyStore.java", |
| "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java", |
| "net/android/java/src/org/chromium/net/AndroidTrafficStats.java", |
| "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java", |
| "net/android/java/src/org/chromium/net/DnsStatus.java", |
| "net/android/java/src/org/chromium/net/GURLUtils.java", |
| "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java", |
| "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java", |
| "net/android/java/src/org/chromium/net/HttpUtil.java", |
| "net/android/java/src/org/chromium/net/MimeTypeFilter.java", |
| "net/android/java/src/org/chromium/net/NetStringUtil.java", |
| "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java", |
| "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java", |
| "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java", |
| "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java", |
| "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java", |
| "net/android/java/src/org/chromium/net/ProxyChangeListener.java", |
| "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java", |
| "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java", |
| "net/android/java/src/org/chromium/net/ThreadStatsUid.java", |
| "net/android/java/src/org/chromium/net/X509Util.java", |
| "url/android/java/src/org/chromium/url/IDNStringUtil.java", |
| ], |
| cmd: "current_dir=`basename \\`pwd\\``; " + |
| "for f in $(in); " + |
| "do " + |
| "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " + |
| "done; " + |
| "python3 $(location base/android/jni_generator/jni_registration_generator.py) --srcjar-path " + |
| "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " + |
| "--depfile " + |
| "$(genDir)/components/cronet/android/cronet_jni_registration.d " + |
| "--sources-files " + |
| "$(genDir)/java.sources " + |
| "--include-test-only " + |
| "--use-proxy-hash " + |
| "--manual-jni-registration " + |
| "--header-path " + |
| "$(genDir)/components/cronet/android/cronet_jni_registration_generated.h", |
| out: [ |
| "components/cronet/android/cronet_jni_registration.srcjar", |
| "components/cronet/android/cronet_jni_registration_generated.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/jni_generator.py", |
| "base/android/jni_generator/jni_registration_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| "build/zip_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/cronet/android:cronet_static |
| cc_library_static { |
| name: "cronet_aml_components_cronet_android_cronet_static", |
| srcs: [ |
| ":cronet_aml_components_cronet_android_request_context_config_proto_gen", |
| "components/cronet/android/cronet_bidirectional_stream_adapter.cc", |
| "components/cronet/android/cronet_context_adapter.cc", |
| "components/cronet/android/cronet_library_loader.cc", |
| "components/cronet/android/cronet_upload_data_stream_adapter.cc", |
| "components/cronet/android/cronet_url_request_adapter.cc", |
| "components/cronet/android/io_buffer_with_byte_buffer.cc", |
| "components/cronet/android/url_request_error.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| "libprotobuf-cpp-lite", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_components_cronet_cronet_common", |
| "cronet_aml_components_cronet_cronet_version_header", |
| "cronet_aml_components_cronet_metrics_util", |
| "cronet_aml_components_metrics_library_support", |
| "cronet_aml_components_prefs_prefs", |
| "cronet_aml_components_prefs_prefs_features", |
| "cronet_aml_crypto_crypto", |
| "cronet_aml_net_dns_dns", |
| "cronet_aml_net_dns_public_public", |
| "cronet_aml_net_http_transport_security_state_generated_files", |
| "cronet_aml_net_net", |
| "cronet_aml_net_net_deps", |
| "cronet_aml_net_net_public_deps", |
| "cronet_aml_net_preload_decoder", |
| "cronet_aml_net_third_party_quiche_quiche", |
| "cronet_aml_net_traffic_annotation_traffic_annotation", |
| "cronet_aml_net_uri_template", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_brotli_common", |
| "cronet_aml_third_party_brotli_dec", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| "cronet_aml_third_party_protobuf_protobuf_lite", |
| "cronet_aml_url_url", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_debugging_buildflags", |
| "cronet_aml_base_logging_buildflags", |
| "cronet_aml_build_chromeos_buildflags", |
| "cronet_aml_components_cronet_android_buildflags", |
| "cronet_aml_components_cronet_android_cronet_jni_headers", |
| "cronet_aml_components_cronet_android_cronet_jni_registration", |
| "cronet_aml_components_cronet_android_request_context_config_proto_gen_headers", |
| "cronet_aml_url_buildflags", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_base_debugging_buildflags", |
| "cronet_aml_base_logging_buildflags", |
| "cronet_aml_build_chromeos_buildflags", |
| "cronet_aml_components_cronet_android_buildflags", |
| "cronet_aml_components_cronet_android_cronet_jni_headers", |
| "cronet_aml_components_cronet_android_cronet_jni_registration", |
| "cronet_aml_components_cronet_android_request_context_config_proto_gen_headers", |
| "cronet_aml_url_buildflags", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/cronet/android:cronet_static__testing |
| cc_library_static { |
| name: "cronet_aml_components_cronet_android_cronet_static__testing", |
| srcs: [ |
| ":cronet_aml_components_cronet_android_request_context_config_proto__testing_gen", |
| "components/cronet/android/cronet_bidirectional_stream_adapter.cc", |
| "components/cronet/android/cronet_context_adapter.cc", |
| "components/cronet/android/cronet_library_loader.cc", |
| "components/cronet/android/cronet_upload_data_stream_adapter.cc", |
| "components/cronet/android/cronet_url_request_adapter.cc", |
| "components/cronet/android/io_buffer_with_byte_buffer.cc", |
| "components/cronet/android/url_request_error.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libprotobuf-cpp-lite", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_components_cronet_cronet_common__testing", |
| "cronet_aml_components_cronet_cronet_version_header__testing", |
| "cronet_aml_components_cronet_metrics_util__testing", |
| "cronet_aml_components_metrics_library_support__testing", |
| "cronet_aml_components_prefs_prefs__testing", |
| "cronet_aml_components_prefs_prefs_features__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| "cronet_aml_components_cronet_android_buildflags__testing", |
| "cronet_aml_components_cronet_android_cronet_jni_headers__testing", |
| "cronet_aml_components_cronet_android_cronet_jni_registration__testing", |
| "cronet_aml_components_cronet_android_request_context_config_proto__testing_gen_headers", |
| "cronet_aml_url_buildflags__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| "cronet_aml_components_cronet_android_buildflags__testing", |
| "cronet_aml_components_cronet_android_cronet_jni_headers__testing", |
| "cronet_aml_components_cronet_android_cronet_jni_registration__testing", |
| "cronet_aml_components_cronet_android_request_context_config_proto__testing_gen_headers", |
| "cronet_aml_url_buildflags__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/cronet/android:cronet_tests__testing |
| cc_library_shared { |
| name: "cronet_aml_components_cronet_android_cronet_tests__testing", |
| srcs: [ |
| "components/cronet/android/test/cronet_test_jni.cc", |
| "components/cronet/android/test/cronet_test_util.cc", |
| "components/cronet/android/test/cronet_url_request_context_config_test.cc", |
| "components/cronet/android/test/cronet_url_request_test.cc", |
| "components/cronet/android/test/experimental_options_test.cc", |
| "components/cronet/android/test/mock_cert_verifier.cc", |
| "components/cronet/android/test/mock_url_request_job_factory.cc", |
| "components/cronet/android/test/native_test_server.cc", |
| "components/cronet/android/test/quic_test_server.cc", |
| "components/cronet/android/test/test_upload_data_stream_handler.cc", |
| "components/cronet/android/test/url_request_intercepting_job_factory.cc", |
| ], |
| shared_libs: [ |
| "cronet_aml_components_cronet_android_cronet__testing", |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_i18n__testing", |
| "cronet_aml_base_test_test_config__testing", |
| "cronet_aml_base_test_test_support__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_components_prefs_prefs__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_gtest_util__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_test_support__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_third_party_quiche_quiche_tool_support__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_ced_ced__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| "cronet_aml_third_party_libxml_libxml_utils__testing", |
| "cronet_aml_third_party_libxml_xml_reader__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| whole_static_libs: [ |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_buildtools_third_party_libc___libc____testing", |
| "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing", |
| "cronet_aml_components_cronet_android_cronet_static__testing", |
| "cronet_aml_components_cronet_cronet_common__testing", |
| "cronet_aml_components_cronet_cronet_version_header__testing", |
| "cronet_aml_components_cronet_metrics_util__testing", |
| "cronet_aml_components_cronet_testing_test_support__testing", |
| "cronet_aml_components_metrics_library_support__testing", |
| "cronet_aml_components_prefs_prefs_features__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_dns_test_support__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_quic_test_flags_utils__testing", |
| "cronet_aml_net_simple_quic_tools__testing", |
| "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| "cronet_aml_components_cronet_android_cronet_tests_jni_headers__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUNIT_TEST", |
| "-DUSE_CHROMIUM_ICU=1", |
| "-DUSE_REMOTE_TEST_SERVER", |
| "-DU_ENABLE_DYLOAD=0", |
| "-DU_ENABLE_RESOURCE_TRACING=0", |
| "-DU_ENABLE_TRACING=1", |
| "-DU_STATIC_IMPLEMENTATION", |
| "-DU_USING_ICU_NAMESPACE=0", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/ced/src/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| stem: "libcronet_tests", |
| visibility: [ |
| "//packages/modules/Connectivity:__subpackages__", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/cronet/android:cronet_tests_jni_headers__testing |
| cc_genrule { |
| name: "cronet_aml_components_cronet_android_cronet_tests_jni_headers__testing", |
| srcs: [ |
| "components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java", |
| "components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestTest.java", |
| "components/cronet/android/test/javatests/src/org/chromium/net/ExperimentalOptionsTest.java", |
| "components/cronet/android/test/src/org/chromium/net/CronetTestUtil.java", |
| "components/cronet/android/test/src/org/chromium/net/MockCertVerifier.java", |
| "components/cronet/android/test/src/org/chromium/net/MockUrlRequestJobFactory.java", |
| "components/cronet/android/test/src/org/chromium/net/NativeTestServer.java", |
| "components/cronet/android/test/src/org/chromium/net/QuicTestServer.java", |
| "components/cronet/android/test/src/org/chromium/net/TestUploadDataStreamHandler.java", |
| ], |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/components/cronet/android/cronet_tests_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--use_proxy_hash " + |
| "--output_name " + |
| "CronetUrlRequestContextTest_jni.h " + |
| "--output_name " + |
| "CronetUrlRequestTest_jni.h " + |
| "--output_name " + |
| "ExperimentalOptionsTest_jni.h " + |
| "--output_name " + |
| "CronetTestUtil_jni.h " + |
| "--output_name " + |
| "MockCertVerifier_jni.h " + |
| "--output_name " + |
| "MockUrlRequestJobFactory_jni.h " + |
| "--output_name " + |
| "NativeTestServer_jni.h " + |
| "--output_name " + |
| "QuicTestServer_jni.h " + |
| "--output_name " + |
| "TestUploadDataStreamHandler_jni.h " + |
| "--input_file " + |
| "$(location components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java) " + |
| "--input_file " + |
| "$(location components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestTest.java) " + |
| "--input_file " + |
| "$(location components/cronet/android/test/javatests/src/org/chromium/net/ExperimentalOptionsTest.java) " + |
| "--input_file " + |
| "$(location components/cronet/android/test/src/org/chromium/net/CronetTestUtil.java) " + |
| "--input_file " + |
| "$(location components/cronet/android/test/src/org/chromium/net/MockCertVerifier.java) " + |
| "--input_file " + |
| "$(location components/cronet/android/test/src/org/chromium/net/MockUrlRequestJobFactory.java) " + |
| "--input_file " + |
| "$(location components/cronet/android/test/src/org/chromium/net/NativeTestServer.java) " + |
| "--input_file " + |
| "$(location components/cronet/android/test/src/org/chromium/net/QuicTestServer.java) " + |
| "--input_file " + |
| "$(location components/cronet/android/test/src/org/chromium/net/TestUploadDataStreamHandler.java)", |
| out: [ |
| "components/cronet/android/cronet_tests_jni_headers/CronetTestUtil_jni.h", |
| "components/cronet/android/cronet_tests_jni_headers/CronetUrlRequestContextTest_jni.h", |
| "components/cronet/android/cronet_tests_jni_headers/CronetUrlRequestTest_jni.h", |
| "components/cronet/android/cronet_tests_jni_headers/ExperimentalOptionsTest_jni.h", |
| "components/cronet/android/cronet_tests_jni_headers/MockCertVerifier_jni.h", |
| "components/cronet/android/cronet_tests_jni_headers/MockUrlRequestJobFactory_jni.h", |
| "components/cronet/android/cronet_tests_jni_headers/NativeTestServer_jni.h", |
| "components/cronet/android/cronet_tests_jni_headers/QuicTestServer_jni.h", |
| "components/cronet/android/cronet_tests_jni_headers/TestUploadDataStreamHandler_jni.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/cronet/android:cronet_unittests_android__library__testing |
| cc_library_shared { |
| name: "cronet_aml_components_cronet_android_cronet_unittests_android__library__testing", |
| srcs: [ |
| "components/cronet/run_all_unittests.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_i18n__testing", |
| "cronet_aml_base_test_test_config__testing", |
| "cronet_aml_base_test_test_support__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_components_prefs_prefs__testing", |
| "cronet_aml_components_prefs_test_support__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_gtest_util__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_test_support__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_third_party_quiche_quiche_tool_support__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_ced_ced__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| "cronet_aml_third_party_libxml_libxml_utils__testing", |
| "cronet_aml_third_party_libxml_xml_reader__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| whole_static_libs: [ |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_buildtools_third_party_libc___libc____testing", |
| "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing", |
| "cronet_aml_components_cronet_android_cronet_static__testing", |
| "cronet_aml_components_cronet_cronet_common__testing", |
| "cronet_aml_components_cronet_cronet_common_unittests__testing", |
| "cronet_aml_components_cronet_cronet_version_header__testing", |
| "cronet_aml_components_cronet_metrics_util__testing", |
| "cronet_aml_components_metrics_library_support__testing", |
| "cronet_aml_components_prefs_prefs_features__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_dns_test_support__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_quic_test_flags_utils__testing", |
| "cronet_aml_net_simple_quic_tools__testing", |
| "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_testing_android_native_test_native_test_native_code__testing", |
| "cronet_aml_testing_android_native_test_native_test_support__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUNIT_TEST", |
| "-DUSE_CHROMIUM_ICU=1", |
| "-DUSE_REMOTE_TEST_SERVER", |
| "-DU_ENABLE_DYLOAD=0", |
| "-DU_ENABLE_RESOURCE_TRACING=0", |
| "-DU_ENABLE_TRACING=1", |
| "-DU_STATIC_IMPLEMENTATION", |
| "-DU_USING_ICU_NAMESPACE=0", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/ced/src/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| stem: "libcronet_unittests_android__library", |
| visibility: [ |
| "//packages/modules/Connectivity:__subpackages__", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/cronet/android:http_cache_type_java |
| java_genrule { |
| name: "cronet_aml_components_cronet_android_http_cache_type_java", |
| cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " + |
| "$(out) " + |
| "$(location components/cronet/url_request_context_config.h)", |
| out: [ |
| "components/cronet/android/http_cache_type_java.srcjar", |
| ], |
| tool_files: [ |
| "build/action_helpers.py", |
| "build/android/gyp/java_cpp_enum.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/android/gyp/util/java_cpp_utils.py", |
| "build/gn_helpers.py", |
| "build/zip_helpers.py", |
| "components/cronet/url_request_context_config.h", |
| ], |
| } |
| |
| // GN: //components/cronet/android:implementation_api_version |
| java_genrule { |
| name: "cronet_aml_components_cronet_android_implementation_api_version", |
| cmd: "$(location build/util/version.py) --official " + |
| "-f " + |
| "$(location chrome/VERSION) " + |
| "-f " + |
| "$(location build/util/LASTCHANGE) " + |
| "-e " + |
| "'API_LEVEL=24' " + |
| "-o " + |
| "$(out) " + |
| "$(location components/cronet/android/java/src/org/chromium/net/impl/ImplVersion.template)", |
| out: [ |
| "components/cronet/android/templates/org/chromium/net/impl/ImplVersion.java", |
| ], |
| tool_files: [ |
| "build/util/LASTCHANGE", |
| "build/util/android_chrome_version.py", |
| "build/util/version.py", |
| "chrome/VERSION", |
| "components/cronet/android/java/src/org/chromium/net/impl/ImplVersion.template", |
| ], |
| } |
| |
| // GN: //components/cronet/android:integrated_mode_state |
| genrule { |
| name: "cronet_aml_components_cronet_android_integrated_mode_state", |
| srcs: [ |
| ":cronet_aml_components_cronet_android_integrated_mode_state_preprocess", |
| ], |
| tools: [ |
| "soong_zip", |
| ], |
| cmd: "cp $(in) $(genDir)/IntegratedModeState.java && " + |
| "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/IntegratedModeState.java", |
| out: [ |
| "IntegratedModeState.srcjar", |
| ], |
| } |
| |
| // GN: //components/cronet/android:integrated_mode_state |
| cc_object { |
| name: "cronet_aml_components_cronet_android_integrated_mode_state_preprocess", |
| srcs: [ |
| ":cronet_aml_components_cronet_android_integrated_mode_state_rename", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-E", |
| "-P", |
| ], |
| compile_multilib: "first", |
| } |
| |
| // GN: //components/cronet/android:integrated_mode_state |
| genrule { |
| name: "cronet_aml_components_cronet_android_integrated_mode_state_rename", |
| srcs: [ |
| "components/cronet/android/java/src/org/chromium/net/impl/IntegratedModeState.template", |
| ], |
| cmd: "cp $(in) $(out)", |
| out: [ |
| "IntegratedModeState.cc", |
| ], |
| } |
| |
| // GN: //components/cronet/android:interface_api_version |
| java_genrule { |
| name: "cronet_aml_components_cronet_android_interface_api_version", |
| cmd: "$(location build/util/version.py) --official " + |
| "-f " + |
| "$(location chrome/VERSION) " + |
| "-f " + |
| "$(location build/util/LASTCHANGE) " + |
| "-e " + |
| "'API_LEVEL=24' " + |
| "-o " + |
| "$(out) " + |
| "$(location components/cronet/android/api/src/android/net/http/ApiVersion.template)", |
| out: [ |
| "components/cronet/android/templates/org/chromium/net/ApiVersion.java", |
| ], |
| tool_files: [ |
| "build/util/LASTCHANGE", |
| "build/util/android_chrome_version.py", |
| "build/util/version.py", |
| "chrome/VERSION", |
| "components/cronet/android/api/src/android/net/http/ApiVersion.template", |
| ], |
| } |
| |
| // GN: //components/cronet/android:load_states_list |
| genrule { |
| name: "cronet_aml_components_cronet_android_load_states_list", |
| srcs: [ |
| ":cronet_aml_components_cronet_android_load_states_list_preprocess", |
| ], |
| tools: [ |
| "soong_zip", |
| ], |
| cmd: "cp $(in) $(genDir)/LoadState.java && " + |
| "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/LoadState.java", |
| out: [ |
| "LoadState.srcjar", |
| ], |
| } |
| |
| // GN: //components/cronet/android:load_states_list |
| cc_object { |
| name: "cronet_aml_components_cronet_android_load_states_list_preprocess", |
| srcs: [ |
| ":cronet_aml_components_cronet_android_load_states_list_rename", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-E", |
| "-P", |
| ], |
| compile_multilib: "first", |
| } |
| |
| // GN: //components/cronet/android:load_states_list |
| genrule { |
| name: "cronet_aml_components_cronet_android_load_states_list_rename", |
| srcs: [ |
| "components/cronet/android/java/src/org/chromium/net/impl/LoadState.template", |
| ], |
| cmd: "cp $(in) $(out)", |
| out: [ |
| "LoadState.cc", |
| ], |
| } |
| |
| // GN: //components/cronet/android:net_idempotency_java |
| java_genrule { |
| name: "cronet_aml_components_cronet_android_net_idempotency_java", |
| cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " + |
| "$(out) " + |
| "$(location net/base/idempotency.h)", |
| out: [ |
| "components/cronet/android/net_idempotency_java.srcjar", |
| ], |
| tool_files: [ |
| "build/action_helpers.py", |
| "build/android/gyp/java_cpp_enum.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/android/gyp/util/java_cpp_utils.py", |
| "build/gn_helpers.py", |
| "build/zip_helpers.py", |
| "net/base/idempotency.h", |
| ], |
| } |
| |
| // GN: //components/cronet/android:net_request_priority_java |
| java_genrule { |
| name: "cronet_aml_components_cronet_android_net_request_priority_java", |
| cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " + |
| "$(out) " + |
| "$(location net/base/request_priority.h)", |
| out: [ |
| "components/cronet/android/net_request_priority_java.srcjar", |
| ], |
| tool_files: [ |
| "build/action_helpers.py", |
| "build/android/gyp/java_cpp_enum.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/android/gyp/util/java_cpp_utils.py", |
| "build/gn_helpers.py", |
| "build/zip_helpers.py", |
| "net/base/request_priority.h", |
| ], |
| } |
| |
| // GN: //components/cronet/android:network_quality_observation_source_java |
| java_genrule { |
| name: "cronet_aml_components_cronet_android_network_quality_observation_source_java", |
| cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " + |
| "$(out) " + |
| "$(location net/nqe/network_quality_observation_source.h)", |
| out: [ |
| "components/cronet/android/network_quality_observation_source_java.srcjar", |
| ], |
| tool_files: [ |
| "build/action_helpers.py", |
| "build/android/gyp/java_cpp_enum.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/android/gyp/util/java_cpp_utils.py", |
| "build/gn_helpers.py", |
| "build/zip_helpers.py", |
| "net/nqe/network_quality_observation_source.h", |
| ], |
| } |
| |
| // GN: //components/cronet/android:request_context_config_java_proto__protoc_java |
| java_genrule { |
| name: "cronet_aml_components_cronet_android_request_context_config_java_proto__protoc_java", |
| srcs: [ |
| "components/cronet/android/proto/request_context_config.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location build/protoc_java.py) --protoc " + |
| "$(location cronet_aml_third_party_protobuf_protoc) " + |
| "--proto-path " + |
| "external/cronet/components/cronet/android " + |
| "--srcjar " + |
| "$(out) " + |
| "$(location components/cronet/android/proto/request_context_config.proto)", |
| out: [ |
| "components/cronet/android/request_context_config_java_proto__protoc_java.srcjar", |
| ], |
| tool_files: [ |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| "build/protoc_java.py", |
| "build/zip_helpers.py", |
| ], |
| } |
| |
| // GN: //components/cronet/android:request_context_config_proto__testing |
| cc_genrule { |
| name: "cronet_aml_components_cronet_android_request_context_config_proto__testing_gen", |
| srcs: [ |
| "components/cronet/android/proto/request_context_config.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/components/cronet/android/proto --cpp_out=lite=true:$(genDir)/external/cronet/components/cronet/android/proto/ $(in)", |
| out: [ |
| "external/cronet/components/cronet/android/proto/request_context_config.pb.cc", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/cronet/android:request_context_config_proto__testing |
| cc_genrule { |
| name: "cronet_aml_components_cronet_android_request_context_config_proto__testing_gen_headers", |
| srcs: [ |
| "components/cronet/android/proto/request_context_config.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/components/cronet/android/proto --cpp_out=lite=true:$(genDir)/external/cronet/components/cronet/android/proto/ $(in)", |
| out: [ |
| "external/cronet/components/cronet/android/proto/request_context_config.pb.h", |
| ], |
| export_include_dirs: [ |
| ".", |
| "components/cronet/android/proto", |
| "protos", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/cronet/android:request_context_config_proto |
| cc_genrule { |
| name: "cronet_aml_components_cronet_android_request_context_config_proto_gen", |
| srcs: [ |
| "components/cronet/android/proto/request_context_config.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/components/cronet/android/proto --cpp_out=lite=true:$(genDir)/external/cronet/components/cronet/android/proto/ $(in)", |
| out: [ |
| "external/cronet/components/cronet/android/proto/request_context_config.pb.cc", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/cronet/android:request_context_config_proto |
| cc_genrule { |
| name: "cronet_aml_components_cronet_android_request_context_config_proto_gen_headers", |
| srcs: [ |
| "components/cronet/android/proto/request_context_config.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/components/cronet/android/proto --cpp_out=lite=true:$(genDir)/external/cronet/components/cronet/android/proto/ $(in)", |
| out: [ |
| "external/cronet/components/cronet/android/proto/request_context_config.pb.h", |
| ], |
| export_include_dirs: [ |
| ".", |
| "components/cronet/android/proto", |
| "protos", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/cronet/android:rtt_throughput_values_java |
| java_genrule { |
| name: "cronet_aml_components_cronet_android_rtt_throughput_values_java", |
| cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " + |
| "$(out) " + |
| "$(location net/nqe/network_quality.h)", |
| out: [ |
| "components/cronet/android/rtt_throughput_values_java.srcjar", |
| ], |
| tool_files: [ |
| "build/action_helpers.py", |
| "build/android/gyp/java_cpp_enum.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/android/gyp/util/java_cpp_utils.py", |
| "build/gn_helpers.py", |
| "build/zip_helpers.py", |
| "net/nqe/network_quality.h", |
| ], |
| } |
| |
| // GN: //components/cronet/android:url_request_error_java |
| java_genrule { |
| name: "cronet_aml_components_cronet_android_url_request_error_java", |
| cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " + |
| "$(out) " + |
| "$(location components/cronet/android/url_request_error.h)", |
| out: [ |
| "components/cronet/android/url_request_error_java.srcjar", |
| ], |
| tool_files: [ |
| "build/action_helpers.py", |
| "build/android/gyp/java_cpp_enum.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/android/gyp/util/java_cpp_utils.py", |
| "build/gn_helpers.py", |
| "build/zip_helpers.py", |
| "components/cronet/android/url_request_error.h", |
| ], |
| } |
| |
| // GN: //components/cronet:cronet_buildflags |
| cc_genrule { |
| name: "cronet_aml_components_cronet_cronet_buildflags", |
| cmd: "echo '--flags DISABLE_HISTOGRAM_SUPPORT=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//components/cronet:cronet_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "components/cronet/cronet_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/cronet:cronet_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_components_cronet_cronet_buildflags__testing", |
| cmd: "echo '--flags DISABLE_HISTOGRAM_SUPPORT=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//components/cronet:cronet_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "components/cronet/cronet_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/cronet:cronet_common |
| cc_library_static { |
| name: "cronet_aml_components_cronet_cronet_common", |
| srcs: [ |
| "components/cronet/cronet_context.cc", |
| "components/cronet/cronet_prefs_manager.cc", |
| "components/cronet/cronet_upload_data_stream.cc", |
| "components/cronet/cronet_url_request.cc", |
| "components/cronet/host_cache_persistence_manager.cc", |
| "components/cronet/stale_host_resolver.cc", |
| "components/cronet/url_request_context_config.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_components_cronet_cronet_version_header", |
| "cronet_aml_components_metrics_library_support", |
| "cronet_aml_components_prefs_prefs", |
| "cronet_aml_components_prefs_prefs_features", |
| "cronet_aml_crypto_crypto", |
| "cronet_aml_net_dns_dns", |
| "cronet_aml_net_dns_public_public", |
| "cronet_aml_net_http_transport_security_state_generated_files", |
| "cronet_aml_net_net", |
| "cronet_aml_net_net_deps", |
| "cronet_aml_net_net_public_deps", |
| "cronet_aml_net_preload_decoder", |
| "cronet_aml_net_third_party_quiche_quiche", |
| "cronet_aml_net_traffic_annotation_traffic_annotation", |
| "cronet_aml_net_uri_template", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_brotli_common", |
| "cronet_aml_third_party_brotli_dec", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| "cronet_aml_third_party_protobuf_protobuf_lite", |
| "cronet_aml_url_url", |
| ], |
| generated_headers: [ |
| "cronet_aml_components_cronet_cronet_buildflags", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_components_cronet_cronet_buildflags", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/cronet:cronet_common__testing |
| cc_library_static { |
| name: "cronet_aml_components_cronet_cronet_common__testing", |
| srcs: [ |
| "components/cronet/cronet_context.cc", |
| "components/cronet/cronet_prefs_manager.cc", |
| "components/cronet/cronet_upload_data_stream.cc", |
| "components/cronet/cronet_url_request.cc", |
| "components/cronet/host_cache_persistence_manager.cc", |
| "components/cronet/stale_host_resolver.cc", |
| "components/cronet/url_request_context_config.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_components_cronet_cronet_version_header__testing", |
| "cronet_aml_components_metrics_library_support__testing", |
| "cronet_aml_components_prefs_prefs__testing", |
| "cronet_aml_components_prefs_prefs_features__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_components_cronet_cronet_buildflags__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_components_cronet_cronet_buildflags__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/cronet:cronet_common_unittests__testing |
| cc_library_static { |
| name: "cronet_aml_components_cronet_cronet_common_unittests__testing", |
| srcs: [ |
| "components/cronet/host_cache_persistence_manager_unittest.cc", |
| "components/cronet/network_tasks_unittest.cc", |
| "components/cronet/stale_host_resolver_unittest.cc", |
| "components/cronet/url_request_context_config_unittest.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_i18n__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_test_test_config__testing", |
| "cronet_aml_base_test_test_support__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_components_cronet_cronet_common__testing", |
| "cronet_aml_components_cronet_cronet_version_header__testing", |
| "cronet_aml_components_metrics_library_support__testing", |
| "cronet_aml_components_prefs_prefs__testing", |
| "cronet_aml_components_prefs_prefs_features__testing", |
| "cronet_aml_components_prefs_test_support__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_dns_test_support__testing", |
| "cronet_aml_net_gtest_util__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_quic_test_flags_utils__testing", |
| "cronet_aml_net_simple_quic_tools__testing", |
| "cronet_aml_net_test_support__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_third_party_quiche_quiche_tool_support__testing", |
| "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_ced_ced__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| "cronet_aml_third_party_libxml_libxml_utils__testing", |
| "cronet_aml_third_party_libxml_xml_reader__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUNIT_TEST", |
| "-DUSE_CHROMIUM_ICU=1", |
| "-DUSE_REMOTE_TEST_SERVER", |
| "-DU_ENABLE_DYLOAD=0", |
| "-DU_ENABLE_RESOURCE_TRACING=0", |
| "-DU_ENABLE_TRACING=1", |
| "-DU_STATIC_IMPLEMENTATION", |
| "-DU_USING_ICU_NAMESPACE=0", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/ced/src/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/cronet:cronet_version_header |
| cc_library_static { |
| name: "cronet_aml_components_cronet_cronet_version_header", |
| generated_headers: [ |
| "cronet_aml_components_cronet_cronet_version_header_action", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_components_cronet_cronet_version_header_action", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/cronet:cronet_version_header__testing |
| cc_library_static { |
| name: "cronet_aml_components_cronet_cronet_version_header__testing", |
| generated_headers: [ |
| "cronet_aml_components_cronet_cronet_version_header_action__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_components_cronet_cronet_version_header_action__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/cronet:cronet_version_header_action |
| cc_genrule { |
| name: "cronet_aml_components_cronet_cronet_version_header_action", |
| cmd: "$(location build/util/version.py) --official " + |
| "-f " + |
| "$(location chrome/VERSION) " + |
| "-e " + |
| "'VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)' " + |
| "-o " + |
| "$(out) " + |
| "$(location components/cronet/version.h.in)", |
| out: [ |
| "components/cronet/version.h", |
| ], |
| tool_files: [ |
| "build/util/LASTCHANGE", |
| "build/util/android_chrome_version.py", |
| "build/util/version.py", |
| "chrome/VERSION", |
| "components/cronet/version.h.in", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/cronet:cronet_version_header_action__testing |
| cc_genrule { |
| name: "cronet_aml_components_cronet_cronet_version_header_action__testing", |
| cmd: "$(location build/util/version.py) --official " + |
| "-f " + |
| "$(location chrome/VERSION) " + |
| "-e " + |
| "'VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)' " + |
| "-o " + |
| "$(out) " + |
| "$(location components/cronet/version.h.in)", |
| out: [ |
| "components/cronet/version.h", |
| ], |
| tool_files: [ |
| "build/util/LASTCHANGE", |
| "build/util/android_chrome_version.py", |
| "build/util/version.py", |
| "chrome/VERSION", |
| "components/cronet/version.h.in", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/cronet:metrics_util |
| cc_library_static { |
| name: "cronet_aml_components_cronet_metrics_util", |
| srcs: [ |
| "components/cronet/metrics_util.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/cronet:metrics_util__testing |
| cc_library_static { |
| name: "cronet_aml_components_cronet_metrics_util__testing", |
| srcs: [ |
| "components/cronet/metrics_util.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/cronet/testing:test_support__testing |
| cc_library_static { |
| name: "cronet_aml_components_cronet_testing_test_support__testing", |
| srcs: [ |
| "components/cronet/testing/test_server/test_server.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_i18n__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_test_test_config__testing", |
| "cronet_aml_base_test_test_support__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_dns_test_support__testing", |
| "cronet_aml_net_gtest_util__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_quic_test_flags_utils__testing", |
| "cronet_aml_net_simple_quic_tools__testing", |
| "cronet_aml_net_test_support__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_third_party_quiche_quiche_tool_support__testing", |
| "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_ced_ced__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| "cronet_aml_third_party_libxml_libxml_utils__testing", |
| "cronet_aml_third_party_libxml_xml_reader__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUNIT_TEST", |
| "-DUSE_CHROMIUM_ICU=1", |
| "-DUSE_REMOTE_TEST_SERVER", |
| "-DU_ENABLE_DYLOAD=0", |
| "-DU_ENABLE_RESOURCE_TRACING=0", |
| "-DU_ENABLE_TRACING=1", |
| "-DU_STATIC_IMPLEMENTATION", |
| "-DU_USING_ICU_NAMESPACE=0", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/ced/src/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/metrics:library_support |
| cc_library_static { |
| name: "cronet_aml_components_metrics_library_support", |
| srcs: [ |
| ":cronet_aml_third_party_metrics_proto_metrics_proto_gen", |
| "components/metrics/histogram_encoder.cc", |
| "components/metrics/library_support/histogram_manager.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| "libprotobuf-cpp-lite", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| "cronet_aml_third_party_protobuf_protobuf_lite", |
| ], |
| generated_headers: [ |
| "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/metrics:library_support__testing |
| cc_library_static { |
| name: "cronet_aml_components_metrics_library_support__testing", |
| srcs: [ |
| ":cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen", |
| "components/metrics/histogram_encoder.cc", |
| "components/metrics/library_support/histogram_manager.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libprotobuf-cpp-lite", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/prefs/android:jni_headers |
| cc_genrule { |
| name: "cronet_aml_components_prefs_android_jni_headers", |
| srcs: [ |
| "components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java", |
| ], |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/components/prefs/android/jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--use_proxy_hash " + |
| "--output_name " + |
| "PrefService_jni.h " + |
| "--input_file " + |
| "$(location components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java) " + |
| "--package_prefix " + |
| "android.net.connectivity", |
| out: [ |
| "components/prefs/android/jni_headers/PrefService_jni.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/prefs/android:jni_headers__testing |
| cc_genrule { |
| name: "cronet_aml_components_prefs_android_jni_headers__testing", |
| srcs: [ |
| "components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java", |
| ], |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/components/prefs/android/jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--use_proxy_hash " + |
| "--output_name " + |
| "PrefService_jni.h " + |
| "--input_file " + |
| "$(location components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java)", |
| out: [ |
| "components/prefs/android/jni_headers/PrefService_jni.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //components/prefs:prefs |
| cc_library_static { |
| name: "cronet_aml_components_prefs_prefs", |
| srcs: [ |
| "components/prefs/android/pref_service_android.cc", |
| "components/prefs/command_line_pref_store.cc", |
| "components/prefs/default_pref_store.cc", |
| "components/prefs/in_memory_pref_store.cc", |
| "components/prefs/json_pref_store.cc", |
| "components/prefs/overlay_user_pref_store.cc", |
| "components/prefs/persistent_pref_store.cc", |
| "components/prefs/pref_change_registrar.cc", |
| "components/prefs/pref_member.cc", |
| "components/prefs/pref_notifier_impl.cc", |
| "components/prefs/pref_registry.cc", |
| "components/prefs/pref_registry_simple.cc", |
| "components/prefs/pref_service.cc", |
| "components/prefs/pref_service_factory.cc", |
| "components/prefs/pref_store.cc", |
| "components/prefs/pref_value_map.cc", |
| "components/prefs/pref_value_store.cc", |
| "components/prefs/scoped_user_pref_update.cc", |
| "components/prefs/segregated_pref_store.cc", |
| "components/prefs/value_map_pref_store.cc", |
| "components/prefs/writeable_pref_store.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_components_prefs_prefs_features", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_debugging_buildflags", |
| "cronet_aml_base_logging_buildflags", |
| "cronet_aml_build_chromeos_buildflags", |
| "cronet_aml_components_prefs_android_jni_headers", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_base_debugging_buildflags", |
| "cronet_aml_base_logging_buildflags", |
| "cronet_aml_build_chromeos_buildflags", |
| "cronet_aml_components_prefs_android_jni_headers", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCOMPONENTS_PREFS_IMPLEMENTATION", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/prefs:prefs__testing |
| cc_library_static { |
| name: "cronet_aml_components_prefs_prefs__testing", |
| srcs: [ |
| "components/prefs/android/pref_service_android.cc", |
| "components/prefs/command_line_pref_store.cc", |
| "components/prefs/default_pref_store.cc", |
| "components/prefs/in_memory_pref_store.cc", |
| "components/prefs/json_pref_store.cc", |
| "components/prefs/overlay_user_pref_store.cc", |
| "components/prefs/persistent_pref_store.cc", |
| "components/prefs/pref_change_registrar.cc", |
| "components/prefs/pref_member.cc", |
| "components/prefs/pref_notifier_impl.cc", |
| "components/prefs/pref_registry.cc", |
| "components/prefs/pref_registry_simple.cc", |
| "components/prefs/pref_service.cc", |
| "components/prefs/pref_service_factory.cc", |
| "components/prefs/pref_store.cc", |
| "components/prefs/pref_value_map.cc", |
| "components/prefs/pref_value_store.cc", |
| "components/prefs/scoped_user_pref_update.cc", |
| "components/prefs/segregated_pref_store.cc", |
| "components/prefs/value_map_pref_store.cc", |
| "components/prefs/writeable_pref_store.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_components_prefs_prefs_features__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| "cronet_aml_components_prefs_android_jni_headers__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| "cronet_aml_components_prefs_android_jni_headers__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCOMPONENTS_PREFS_IMPLEMENTATION", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/prefs:prefs_features |
| cc_library_static { |
| name: "cronet_aml_components_prefs_prefs_features", |
| srcs: [ |
| "components/prefs/prefs_features.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/prefs:prefs_features__testing |
| cc_library_static { |
| name: "cronet_aml_components_prefs_prefs_features__testing", |
| srcs: [ |
| "components/prefs/prefs_features.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //components/prefs:test_support__testing |
| cc_library_static { |
| name: "cronet_aml_components_prefs_test_support__testing", |
| srcs: [ |
| "components/prefs/mock_pref_change_callback.cc", |
| "components/prefs/pref_store_observer_mock.cc", |
| "components/prefs/pref_test_utils.cc", |
| "components/prefs/testing_pref_service.cc", |
| "components/prefs/testing_pref_store.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_i18n__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_test_test_config__testing", |
| "cronet_aml_base_test_test_support__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_components_prefs_prefs__testing", |
| "cronet_aml_components_prefs_prefs_features__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_ced_ced__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| "cronet_aml_third_party_libxml_libxml_utils__testing", |
| "cronet_aml_third_party_libxml_xml_reader__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-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_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/ced/src/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //crypto:buildflags |
| cc_genrule { |
| name: "cronet_aml_crypto_buildflags", |
| cmd: "echo '--flags USE_NSS_CERTS=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//crypto:buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "crypto/crypto_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //crypto:buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_crypto_buildflags__testing", |
| cmd: "echo '--flags USE_NSS_CERTS=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//crypto:buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| host_supported: true, |
| out: [ |
| "crypto/crypto_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //crypto:crypto |
| cc_library_static { |
| name: "cronet_aml_crypto_crypto", |
| srcs: [ |
| "crypto/aead.cc", |
| "crypto/ec_private_key.cc", |
| "crypto/ec_signature_creator.cc", |
| "crypto/ec_signature_creator_impl.cc", |
| "crypto/encryptor.cc", |
| "crypto/hkdf.cc", |
| "crypto/hmac.cc", |
| "crypto/openssl_util.cc", |
| "crypto/p224_spake.cc", |
| "crypto/random.cc", |
| "crypto/rsa_private_key.cc", |
| "crypto/secure_hash.cc", |
| "crypto/secure_util.cc", |
| "crypto/sha2.cc", |
| "crypto/signature_creator.cc", |
| "crypto/signature_verifier.cc", |
| "crypto/symmetric_key.cc", |
| "crypto/unexportable_key.cc", |
| "crypto/unexportable_key_metrics.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| ], |
| generated_headers: [ |
| "cronet_aml_crypto_buildflags", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_crypto_buildflags", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCRYPTO_IMPLEMENTATION", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //crypto:crypto__testing |
| cc_library_static { |
| name: "cronet_aml_crypto_crypto__testing", |
| srcs: [ |
| "crypto/aead.cc", |
| "crypto/ec_private_key.cc", |
| "crypto/ec_signature_creator.cc", |
| "crypto/ec_signature_creator_impl.cc", |
| "crypto/encryptor.cc", |
| "crypto/hkdf.cc", |
| "crypto/hmac.cc", |
| "crypto/openssl_util.cc", |
| "crypto/p224_spake.cc", |
| "crypto/random.cc", |
| "crypto/rsa_private_key.cc", |
| "crypto/secure_hash.cc", |
| "crypto/secure_util.cc", |
| "crypto/sha2.cc", |
| "crypto/signature_creator.cc", |
| "crypto/signature_verifier.cc", |
| "crypto/symmetric_key.cc", |
| "crypto/unexportable_key.cc", |
| "crypto/unexportable_key_metrics.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| host_supported: true, |
| generated_headers: [ |
| "cronet_aml_crypto_buildflags__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_crypto_buildflags__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCRYPTO_IMPLEMENTATION", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| ], |
| target: { |
| android: { |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| }, |
| android_arm: { |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| ldflags: [ |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| }, |
| android_arm64: { |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| ldflags: [ |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| }, |
| android_x86: { |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| ldflags: [ |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| }, |
| android_x86_64: { |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| ldflags: [ |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //crypto:test_support__testing |
| cc_library_static { |
| name: "cronet_aml_crypto_test_support__testing", |
| srcs: [ |
| "crypto/scoped_mock_unexportable_key_provider.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //gn:default_deps |
| cc_defaults { |
| name: "cronet_aml_defaults", |
| cflags: [ |
| "-DBORINGSSL_SHARED_LIBRARY", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-Wno-ambiguous-reversed-operator", |
| "-Wno-c++11-narrowing", |
| "-Wno-error=return-type", |
| "-Wno-macro-redefined", |
| "-Wno-missing-field-initializers", |
| "-Wno-non-virtual-dtor", |
| "-Wno-null-pointer-subtraction", |
| "-Wno-sign-compare", |
| "-Wno-sign-promo", |
| "-Wno-unreachable-code-loop-increment", |
| "-Wno-unused-parameter", |
| "-fPIC", |
| ], |
| stl: "none", |
| cpp_std: "c++17", |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| min_sdk_version: "29", |
| c_std: "gnu11", |
| target: { |
| android: { |
| shared_libs: [ |
| "libmediandk", |
| ], |
| header_libs: [ |
| "jni_headers", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-UANDROID", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //gn:java |
| java_library { |
| name: "cronet_aml_java", |
| srcs: [ |
| ":cronet_aml_base_base_android_java_enums_srcjar", |
| ":cronet_aml_base_java_features_srcjar", |
| ":cronet_aml_base_java_switches_srcjar", |
| ":cronet_aml_build_android_build_config_gen", |
| ":cronet_aml_build_android_native_libraries_gen", |
| ":cronet_aml_components_cronet_android_cronet_jni_registration__java", |
| ":cronet_aml_components_cronet_android_http_cache_type_java", |
| ":cronet_aml_components_cronet_android_implementation_api_version", |
| ":cronet_aml_components_cronet_android_integrated_mode_state", |
| ":cronet_aml_components_cronet_android_interface_api_version", |
| ":cronet_aml_components_cronet_android_load_states_list", |
| ":cronet_aml_components_cronet_android_net_idempotency_java", |
| ":cronet_aml_components_cronet_android_net_request_priority_java", |
| ":cronet_aml_components_cronet_android_network_quality_observation_source_java", |
| ":cronet_aml_components_cronet_android_request_context_config_java_proto__protoc_java", |
| ":cronet_aml_components_cronet_android_rtt_throughput_values_java", |
| ":cronet_aml_components_cronet_android_url_request_error_java", |
| ":cronet_aml_net_android_net_android_java_enums_srcjar", |
| ":cronet_aml_net_android_net_errors_java", |
| ":cronet_aml_net_effective_connection_type_java", |
| "base/android/java/src/org/chromium/base/ActivityState.java", |
| "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java", |
| "base/android/java/src/org/chromium/base/ApkAssets.java", |
| "base/android/java/src/org/chromium/base/ApplicationStatus.java", |
| "base/android/java/src/org/chromium/base/BaseFeatureList.java", |
| "base/android/java/src/org/chromium/base/BuildInfo.java", |
| "base/android/java/src/org/chromium/base/BundleUtils.java", |
| "base/android/java/src/org/chromium/base/Callback.java", |
| "base/android/java/src/org/chromium/base/CallbackController.java", |
| "base/android/java/src/org/chromium/base/CollectionUtil.java", |
| "base/android/java/src/org/chromium/base/CommandLine.java", |
| "base/android/java/src/org/chromium/base/CommandLineInitUtil.java", |
| "base/android/java/src/org/chromium/base/ContentUriUtils.java", |
| "base/android/java/src/org/chromium/base/ContextUtils.java", |
| "base/android/java/src/org/chromium/base/CpuFeatures.java", |
| "base/android/java/src/org/chromium/base/DiscardableReferencePool.java", |
| "base/android/java/src/org/chromium/base/EarlyTraceEvent.java", |
| "base/android/java/src/org/chromium/base/EventLog.java", |
| "base/android/java/src/org/chromium/base/FeatureList.java", |
| "base/android/java/src/org/chromium/base/Features.java", |
| "base/android/java/src/org/chromium/base/FieldTrialList.java", |
| "base/android/java/src/org/chromium/base/FileUtils.java", |
| "base/android/java/src/org/chromium/base/Flag.java", |
| "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java", |
| "base/android/java/src/org/chromium/base/IntStringCallback.java", |
| "base/android/java/src/org/chromium/base/JNIUtils.java", |
| "base/android/java/src/org/chromium/base/JavaExceptionReporter.java", |
| "base/android/java/src/org/chromium/base/JavaHandlerThread.java", |
| "base/android/java/src/org/chromium/base/JniException.java", |
| "base/android/java/src/org/chromium/base/JniStaticTestMocker.java", |
| "base/android/java/src/org/chromium/base/LifetimeAssert.java", |
| "base/android/java/src/org/chromium/base/LocaleUtils.java", |
| "base/android/java/src/org/chromium/base/Log.java", |
| "base/android/java/src/org/chromium/base/MathUtils.java", |
| "base/android/java/src/org/chromium/base/MemoryPressureListener.java", |
| "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java", |
| "base/android/java/src/org/chromium/base/ObserverList.java", |
| "base/android/java/src/org/chromium/base/PackageManagerUtils.java", |
| "base/android/java/src/org/chromium/base/PackageUtils.java", |
| "base/android/java/src/org/chromium/base/PathService.java", |
| "base/android/java/src/org/chromium/base/PathUtils.java", |
| "base/android/java/src/org/chromium/base/PiiElider.java", |
| "base/android/java/src/org/chromium/base/PowerMonitor.java", |
| "base/android/java/src/org/chromium/base/PowerMonitorForQ.java", |
| "base/android/java/src/org/chromium/base/Promise.java", |
| "base/android/java/src/org/chromium/base/RadioUtils.java", |
| "base/android/java/src/org/chromium/base/RequiredCallback.java", |
| "base/android/java/src/org/chromium/base/ResettersForTesting.java", |
| "base/android/java/src/org/chromium/base/StreamUtil.java", |
| "base/android/java/src/org/chromium/base/StrictModeContext.java", |
| "base/android/java/src/org/chromium/base/SysUtils.java", |
| "base/android/java/src/org/chromium/base/ThreadUtils.java", |
| "base/android/java/src/org/chromium/base/TimeUtils.java", |
| "base/android/java/src/org/chromium/base/TimezoneUtils.java", |
| "base/android/java/src/org/chromium/base/TraceEvent.java", |
| "base/android/java/src/org/chromium/base/UnguessableToken.java", |
| "base/android/java/src/org/chromium/base/UnownedUserData.java", |
| "base/android/java/src/org/chromium/base/UnownedUserDataHost.java", |
| "base/android/java/src/org/chromium/base/UnownedUserDataKey.java", |
| "base/android/java/src/org/chromium/base/UserData.java", |
| "base/android/java/src/org/chromium/base/UserDataHost.java", |
| "base/android/java/src/org/chromium/base/WrappedClassLoader.java", |
| "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNative.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java", |
| "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java", |
| "base/android/java/src/org/chromium/base/annotations/JNINamespace.java", |
| "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java", |
| "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java", |
| "base/android/java/src/org/chromium/base/annotations/NativeMethods.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java", |
| "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java", |
| "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java", |
| "base/android/java/src/org/chromium/base/library_loader/Linker.java", |
| "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java", |
| "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java", |
| "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java", |
| "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java", |
| "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java", |
| "base/android/java/src/org/chromium/base/lifetime/Destroyable.java", |
| "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java", |
| "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/HistogramBucket.java", |
| "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java", |
| "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java", |
| "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java", |
| "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java", |
| "base/android/java/src/org/chromium/base/metrics/TimingMetric.java", |
| "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java", |
| "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java", |
| "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java", |
| "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java", |
| "base/android/java/src/org/chromium/base/supplier/Supplier.java", |
| "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java", |
| "base/android/java/src/org/chromium/base/task/AsyncTask.java", |
| "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java", |
| "base/android/java/src/org/chromium/base/task/ChainedTasks.java", |
| "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java", |
| "base/android/java/src/org/chromium/base/task/PostTask.java", |
| "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/SerialExecutor.java", |
| "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/TaskExecutor.java", |
| "base/android/java/src/org/chromium/base/task/TaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/ThreadPoolTaskExecutor.java", |
| "base/android/java/src/org/chromium/base/task/UiThreadTaskExecutor.java", |
| "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java", |
| "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotInline.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotStripLogs.java", |
| "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java", |
| "build/android/java/src/org/chromium/build/annotations/MainDex.java", |
| "build/android/java/src/org/chromium/build/annotations/MockedInTests.java", |
| "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/HeaderBlockImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java", |
| "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java", |
| "net/android/java/src/org/chromium/net/AndroidKeyStore.java", |
| "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java", |
| "net/android/java/src/org/chromium/net/AndroidTrafficStats.java", |
| "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java", |
| "net/android/java/src/org/chromium/net/DnsStatus.java", |
| "net/android/java/src/org/chromium/net/GURLUtils.java", |
| "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java", |
| "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java", |
| "net/android/java/src/org/chromium/net/HttpUtil.java", |
| "net/android/java/src/org/chromium/net/MimeTypeFilter.java", |
| "net/android/java/src/org/chromium/net/NetStringUtil.java", |
| "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java", |
| "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java", |
| "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java", |
| "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java", |
| "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java", |
| "net/android/java/src/org/chromium/net/ProxyChangeListener.java", |
| "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java", |
| "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java", |
| "net/android/java/src/org/chromium/net/ThreadStatsUid.java", |
| "net/android/java/src/org/chromium/net/X509Util.java", |
| "url/android/java/src/org/chromium/url/IDNStringUtil.java", |
| ], |
| static_libs: [ |
| "libprotobuf-java-lite", |
| "modules-utils-build_system", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| min_sdk_version: "30", |
| libs: [ |
| "androidx.annotation_annotation", |
| "androidx.annotation_annotation-experimental-nodeps", |
| "cronet_aml_api_java", |
| "error_prone_annotations", |
| "framework-connectivity-t.stubs.module_lib", |
| "framework-connectivity.stubs.module_lib", |
| "framework-mediaprovider.stubs.module_lib", |
| "framework-tethering.stubs.module_lib", |
| "framework-wifi.stubs.module_lib", |
| "jsr305", |
| ], |
| aidl: { |
| include_dirs: [ |
| "frameworks/base/core/java/", |
| ], |
| }, |
| plugins: [ |
| "cronet_aml_java_jni_annotation_preprocessor", |
| ], |
| sdk_version: "module_current", |
| javacflags: [ |
| "-Aorg.chromium.chrome.skipGenJni", |
| "-Apackage_prefix=android.net.connectivity", |
| ], |
| visibility: [ |
| "//packages/modules/Connectivity:__subpackages__", |
| ], |
| } |
| |
| // GN: //gn:java |
| java_library { |
| name: "cronet_aml_java__testing", |
| srcs: [ |
| ":cronet_aml_base_base_android_java_enums_srcjar", |
| ":cronet_aml_base_java_features_srcjar", |
| ":cronet_aml_base_java_switches_srcjar", |
| ":cronet_aml_build_android_build_config_gen", |
| ":cronet_aml_build_android_native_libraries_gen", |
| ":cronet_aml_components_cronet_android_cronet_jni_registration__java__testing", |
| ":cronet_aml_components_cronet_android_http_cache_type_java", |
| ":cronet_aml_components_cronet_android_implementation_api_version", |
| ":cronet_aml_components_cronet_android_integrated_mode_state", |
| ":cronet_aml_components_cronet_android_interface_api_version", |
| ":cronet_aml_components_cronet_android_load_states_list", |
| ":cronet_aml_components_cronet_android_net_idempotency_java", |
| ":cronet_aml_components_cronet_android_net_request_priority_java", |
| ":cronet_aml_components_cronet_android_network_quality_observation_source_java", |
| ":cronet_aml_components_cronet_android_request_context_config_java_proto__protoc_java", |
| ":cronet_aml_components_cronet_android_rtt_throughput_values_java", |
| ":cronet_aml_components_cronet_android_url_request_error_java", |
| ":cronet_aml_net_android_net_android_java_enums_srcjar", |
| ":cronet_aml_net_android_net_errors_java", |
| ":cronet_aml_net_effective_connection_type_java", |
| "base/android/java/src/org/chromium/base/ActivityState.java", |
| "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java", |
| "base/android/java/src/org/chromium/base/ApkAssets.java", |
| "base/android/java/src/org/chromium/base/ApplicationStatus.java", |
| "base/android/java/src/org/chromium/base/BaseFeatureList.java", |
| "base/android/java/src/org/chromium/base/BuildInfo.java", |
| "base/android/java/src/org/chromium/base/BundleUtils.java", |
| "base/android/java/src/org/chromium/base/Callback.java", |
| "base/android/java/src/org/chromium/base/CallbackController.java", |
| "base/android/java/src/org/chromium/base/CollectionUtil.java", |
| "base/android/java/src/org/chromium/base/CommandLine.java", |
| "base/android/java/src/org/chromium/base/CommandLineInitUtil.java", |
| "base/android/java/src/org/chromium/base/ContentUriUtils.java", |
| "base/android/java/src/org/chromium/base/ContextUtils.java", |
| "base/android/java/src/org/chromium/base/CpuFeatures.java", |
| "base/android/java/src/org/chromium/base/DiscardableReferencePool.java", |
| "base/android/java/src/org/chromium/base/EarlyTraceEvent.java", |
| "base/android/java/src/org/chromium/base/EventLog.java", |
| "base/android/java/src/org/chromium/base/FeatureList.java", |
| "base/android/java/src/org/chromium/base/Features.java", |
| "base/android/java/src/org/chromium/base/FieldTrialList.java", |
| "base/android/java/src/org/chromium/base/FileUtils.java", |
| "base/android/java/src/org/chromium/base/Flag.java", |
| "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java", |
| "base/android/java/src/org/chromium/base/IntStringCallback.java", |
| "base/android/java/src/org/chromium/base/JNIUtils.java", |
| "base/android/java/src/org/chromium/base/JavaExceptionReporter.java", |
| "base/android/java/src/org/chromium/base/JavaHandlerThread.java", |
| "base/android/java/src/org/chromium/base/JniException.java", |
| "base/android/java/src/org/chromium/base/JniStaticTestMocker.java", |
| "base/android/java/src/org/chromium/base/LifetimeAssert.java", |
| "base/android/java/src/org/chromium/base/LocaleUtils.java", |
| "base/android/java/src/org/chromium/base/Log.java", |
| "base/android/java/src/org/chromium/base/MathUtils.java", |
| "base/android/java/src/org/chromium/base/MemoryPressureListener.java", |
| "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java", |
| "base/android/java/src/org/chromium/base/ObserverList.java", |
| "base/android/java/src/org/chromium/base/PackageManagerUtils.java", |
| "base/android/java/src/org/chromium/base/PackageUtils.java", |
| "base/android/java/src/org/chromium/base/PathService.java", |
| "base/android/java/src/org/chromium/base/PathUtils.java", |
| "base/android/java/src/org/chromium/base/PiiElider.java", |
| "base/android/java/src/org/chromium/base/PowerMonitor.java", |
| "base/android/java/src/org/chromium/base/PowerMonitorForQ.java", |
| "base/android/java/src/org/chromium/base/Promise.java", |
| "base/android/java/src/org/chromium/base/RadioUtils.java", |
| "base/android/java/src/org/chromium/base/RequiredCallback.java", |
| "base/android/java/src/org/chromium/base/ResettersForTesting.java", |
| "base/android/java/src/org/chromium/base/StreamUtil.java", |
| "base/android/java/src/org/chromium/base/StrictModeContext.java", |
| "base/android/java/src/org/chromium/base/SysUtils.java", |
| "base/android/java/src/org/chromium/base/ThreadUtils.java", |
| "base/android/java/src/org/chromium/base/TimeUtils.java", |
| "base/android/java/src/org/chromium/base/TimezoneUtils.java", |
| "base/android/java/src/org/chromium/base/TraceEvent.java", |
| "base/android/java/src/org/chromium/base/UnguessableToken.java", |
| "base/android/java/src/org/chromium/base/UnownedUserData.java", |
| "base/android/java/src/org/chromium/base/UnownedUserDataHost.java", |
| "base/android/java/src/org/chromium/base/UnownedUserDataKey.java", |
| "base/android/java/src/org/chromium/base/UserData.java", |
| "base/android/java/src/org/chromium/base/UserDataHost.java", |
| "base/android/java/src/org/chromium/base/WrappedClassLoader.java", |
| "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNative.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java", |
| "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java", |
| "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java", |
| "base/android/java/src/org/chromium/base/annotations/JNINamespace.java", |
| "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java", |
| "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java", |
| "base/android/java/src/org/chromium/base/annotations/NativeMethods.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java", |
| "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java", |
| "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java", |
| "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java", |
| "base/android/java/src/org/chromium/base/library_loader/Linker.java", |
| "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java", |
| "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java", |
| "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java", |
| "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java", |
| "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java", |
| "base/android/java/src/org/chromium/base/lifetime/Destroyable.java", |
| "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java", |
| "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java", |
| "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/HistogramBucket.java", |
| "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java", |
| "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java", |
| "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java", |
| "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java", |
| "base/android/java/src/org/chromium/base/metrics/TimingMetric.java", |
| "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java", |
| "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java", |
| "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java", |
| "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java", |
| "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java", |
| "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java", |
| "base/android/java/src/org/chromium/base/supplier/Supplier.java", |
| "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java", |
| "base/android/java/src/org/chromium/base/task/AsyncTask.java", |
| "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java", |
| "base/android/java/src/org/chromium/base/task/ChainedTasks.java", |
| "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java", |
| "base/android/java/src/org/chromium/base/task/PostTask.java", |
| "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/SerialExecutor.java", |
| "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/TaskExecutor.java", |
| "base/android/java/src/org/chromium/base/task/TaskRunner.java", |
| "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java", |
| "base/android/java/src/org/chromium/base/task/ThreadPoolTaskExecutor.java", |
| "base/android/java/src/org/chromium/base/task/UiThreadTaskExecutor.java", |
| "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java", |
| "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotInline.java", |
| "build/android/java/src/org/chromium/build/annotations/DoNotStripLogs.java", |
| "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java", |
| "build/android/java/src/org/chromium/build/annotations/MainDex.java", |
| "build/android/java/src/org/chromium/build/annotations/MockedInTests.java", |
| "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/HeaderBlockImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java", |
| "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java", |
| "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java", |
| "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java", |
| "net/android/java/src/org/chromium/net/AndroidKeyStore.java", |
| "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java", |
| "net/android/java/src/org/chromium/net/AndroidTrafficStats.java", |
| "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java", |
| "net/android/java/src/org/chromium/net/DnsStatus.java", |
| "net/android/java/src/org/chromium/net/GURLUtils.java", |
| "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java", |
| "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java", |
| "net/android/java/src/org/chromium/net/HttpUtil.java", |
| "net/android/java/src/org/chromium/net/MimeTypeFilter.java", |
| "net/android/java/src/org/chromium/net/NetStringUtil.java", |
| "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java", |
| "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java", |
| "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java", |
| "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java", |
| "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java", |
| "net/android/java/src/org/chromium/net/ProxyChangeListener.java", |
| "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java", |
| "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java", |
| "net/android/java/src/org/chromium/net/ThreadStatsUid.java", |
| "net/android/java/src/org/chromium/net/X509Util.java", |
| "url/android/java/src/org/chromium/url/IDNStringUtil.java", |
| ], |
| static_libs: [ |
| "libprotobuf-java-lite", |
| "modules-utils-build_system", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| min_sdk_version: "30", |
| libs: [ |
| "androidx.annotation_annotation", |
| "androidx.annotation_annotation-experimental-nodeps", |
| "cronet_aml_api_java", |
| "error_prone_annotations", |
| "framework-connectivity-t.stubs.module_lib", |
| "framework-connectivity.stubs.module_lib", |
| "framework-mediaprovider.stubs.module_lib", |
| "framework-tethering.stubs.module_lib", |
| "framework-wifi.stubs.module_lib", |
| "jsr305", |
| ], |
| aidl: { |
| include_dirs: [ |
| "frameworks/base/core/java/", |
| ], |
| }, |
| plugins: [ |
| "cronet_aml_java_jni_annotation_preprocessor", |
| ], |
| sdk_version: "module_current", |
| javacflags: [ |
| "-Aorg.chromium.chrome.skipGenJni", |
| ], |
| visibility: [ |
| "//packages/modules/Connectivity:__subpackages__", |
| ], |
| } |
| |
| // GN: //base/android/jni_generator:jni_processor |
| java_plugin { |
| name: "cronet_aml_java_jni_annotation_preprocessor", |
| srcs: [ |
| ":cronet_aml_build_android_build_config_gen", |
| "base/android/java/src/org/chromium/base/JniException.java", |
| "base/android/java/src/org/chromium/base/JniStaticTestMocker.java", |
| "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java", |
| "base/android/java/src/org/chromium/base/annotations/NativeMethods.java", |
| "base/android/jni_generator/java/src/org/chromium/jni_generator/JniProcessor.java", |
| "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java", |
| "build/android/java/src/org/chromium/build/annotations/MainDex.java", |
| ], |
| static_libs: [ |
| "auto_service_annotations", |
| "guava", |
| "javapoet", |
| ], |
| processor_class: "org.chromium.jni_generator.JniProcessor", |
| } |
| |
| // GN: //net/android:net_android_java_enums_srcjar |
| java_genrule { |
| name: "cronet_aml_net_android_net_android_java_enums_srcjar", |
| srcs: [ |
| "net/android/network_change_notifier_android.cc", |
| "net/android/traffic_stats.cc", |
| "net/socket/socket_tag.cc", |
| ], |
| cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " + |
| "$(out) " + |
| "$(location net/base/network_change_notifier.h) " + |
| "$(location net/socket/socket_tag.cc) " + |
| "$(location net/android/cert_verify_result_android.h) " + |
| "$(location net/android/keystore.h) " + |
| "$(location net/android/network_change_notifier_android.cc) " + |
| "$(location net/android/traffic_stats.cc)", |
| out: [ |
| "net/android/net_android_java_enums_srcjar.srcjar", |
| ], |
| tool_files: [ |
| "build/action_helpers.py", |
| "build/android/gyp/java_cpp_enum.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/android/gyp/util/java_cpp_utils.py", |
| "build/gn_helpers.py", |
| "build/zip_helpers.py", |
| "net/android/cert_verify_result_android.h", |
| "net/android/keystore.h", |
| "net/base/network_change_notifier.h", |
| ], |
| } |
| |
| // GN: //net/android:net_errors_java |
| genrule { |
| name: "cronet_aml_net_android_net_errors_java", |
| srcs: [ |
| ":cronet_aml_net_android_net_errors_java_preprocess", |
| ], |
| tools: [ |
| "soong_zip", |
| ], |
| cmd: "cp $(in) $(genDir)/NetError.java && " + |
| "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/NetError.java", |
| out: [ |
| "NetError.srcjar", |
| ], |
| } |
| |
| // GN: //net/android:net_errors_java |
| cc_object { |
| name: "cronet_aml_net_android_net_errors_java_preprocess", |
| srcs: [ |
| ":cronet_aml_net_android_net_errors_java_rename", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-E", |
| "-P", |
| ], |
| compile_multilib: "first", |
| } |
| |
| // GN: //net/android:net_errors_java |
| genrule { |
| name: "cronet_aml_net_android_net_errors_java_rename", |
| srcs: [ |
| "net/android/java/NetError.template", |
| ], |
| cmd: "cp $(in) $(out)", |
| out: [ |
| "NetError.cc", |
| ], |
| } |
| |
| // GN: //net/base/registry_controlled_domains:lookup_strings_test_sets__testing |
| cc_genrule { |
| name: "cronet_aml_net_base_registry_controlled_domains_lookup_strings_test_sets__testing", |
| cmd: "$(location net/tools/dafsa/make_dafsa.py) $(location net/base/registry_controlled_domains/effective_tld_names.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-inc.cc)", |
| out: [ |
| "net/base/registry_controlled_domains/effective_tld_names-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest1-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest2-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest3-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest4-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest5-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest6-inc.cc", |
| ], |
| tool_files: [ |
| "net/base/registry_controlled_domains/effective_tld_names.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf", |
| "net/tools/dafsa/make_dafsa.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net/base/registry_controlled_domains:registry_controlled_domains |
| cc_genrule { |
| name: "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains", |
| cmd: "$(location net/tools/dafsa/make_dafsa.py) --reverse " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "--reverse " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "--reverse " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "--reverse " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "--reverse " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "--reverse " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "--reverse " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc)", |
| out: [ |
| "net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc", |
| ], |
| tool_files: [ |
| "net/base/registry_controlled_domains/effective_tld_names.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf", |
| "net/tools/dafsa/make_dafsa.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net/base/registry_controlled_domains:registry_controlled_domains__testing |
| cc_genrule { |
| name: "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing", |
| cmd: "$(location net/tools/dafsa/make_dafsa.py) --reverse " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "--reverse " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "--reverse " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "--reverse " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "--reverse " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "--reverse " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc) " + |
| "&& " + |
| "python3 $(location net/tools/dafsa/make_dafsa.py) " + |
| "--reverse " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " + |
| "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc)", |
| out: [ |
| "net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc", |
| ], |
| tool_files: [ |
| "net/base/registry_controlled_domains/effective_tld_names.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf", |
| "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf", |
| "net/tools/dafsa/make_dafsa.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net:buildflags |
| cc_genrule { |
| name: "cronet_aml_net_buildflags", |
| cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" TRIAL_COMPARISON_CERT_VERIFIER_SUPPORTED=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//net:buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags POSIX_BYPASS_MMAP=\"false\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" TRIAL_COMPARISON_CERT_VERIFIER_SUPPORTED=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//net:buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" TRIAL_COMPARISON_CERT_VERIFIER_SUPPORTED=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//net:buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" TRIAL_COMPARISON_CERT_VERIFIER_SUPPORTED=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//net:buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi;", |
| out: [ |
| "net/net_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net:buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_net_buildflags__testing", |
| cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" TRIAL_COMPARISON_CERT_VERIFIER_SUPPORTED=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//net:buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags POSIX_BYPASS_MMAP=\"false\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" TRIAL_COMPARISON_CERT_VERIFIER_SUPPORTED=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//net:buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" TRIAL_COMPARISON_CERT_VERIFIER_SUPPORTED=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//net:buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi; " + |
| "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " + |
| "then " + |
| "echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" TRIAL_COMPARISON_CERT_VERIFIER_SUPPORTED=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//net:buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin; " + |
| "fi;", |
| out: [ |
| "net/net_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net:cronet_buildflags |
| cc_genrule { |
| name: "cronet_aml_net_cronet_buildflags", |
| cmd: "echo '--flags CRONET_BUILD=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//net:cronet_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "net/base/cronet_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net:cronet_buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_net_cronet_buildflags__testing", |
| cmd: "echo '--flags CRONET_BUILD=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//net:cronet_buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "net/base/cronet_buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net/dns:dns |
| cc_library_static { |
| name: "cronet_aml_net_dns_dns", |
| srcs: [ |
| "net/dns/address_info.cc", |
| "net/dns/address_sorter_posix.cc", |
| "net/dns/context_host_resolver.cc", |
| "net/dns/dns_alias_utility.cc", |
| "net/dns/dns_client.cc", |
| "net/dns/dns_config.cc", |
| "net/dns/dns_config_service.cc", |
| "net/dns/dns_config_service_android.cc", |
| "net/dns/dns_hosts.cc", |
| "net/dns/dns_names_util.cc", |
| "net/dns/dns_query.cc", |
| "net/dns/dns_reloader.cc", |
| "net/dns/dns_response.cc", |
| "net/dns/dns_response_result_extractor.cc", |
| "net/dns/dns_server_iterator.cc", |
| "net/dns/dns_session.cc", |
| "net/dns/dns_transaction.cc", |
| "net/dns/dns_udp_tracker.cc", |
| "net/dns/dns_util.cc", |
| "net/dns/host_cache.cc", |
| "net/dns/host_resolver.cc", |
| "net/dns/host_resolver_internal_result.cc", |
| "net/dns/host_resolver_manager.cc", |
| "net/dns/host_resolver_mdns_listener_impl.cc", |
| "net/dns/host_resolver_mdns_task.cc", |
| "net/dns/host_resolver_nat64_task.cc", |
| "net/dns/host_resolver_proc.cc", |
| "net/dns/host_resolver_system_task.cc", |
| "net/dns/https_record_rdata.cc", |
| "net/dns/httpssvc_metrics.cc", |
| "net/dns/mapped_host_resolver.cc", |
| "net/dns/nsswitch_reader.cc", |
| "net/dns/opt_record_rdata.cc", |
| "net/dns/record_parsed.cc", |
| "net/dns/record_rdata.cc", |
| "net/dns/resolve_context.cc", |
| "net/dns/serial_worker.cc", |
| "net/dns/system_dns_config_change_notifier.cc", |
| "net/dns/test_dns_config_service.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_crypto_crypto", |
| "cronet_aml_net_dns_public_public", |
| "cronet_aml_net_net_deps", |
| "cronet_aml_net_net_public_deps", |
| "cronet_aml_net_preload_decoder", |
| "cronet_aml_net_third_party_quiche_quiche", |
| "cronet_aml_net_traffic_annotation_traffic_annotation", |
| "cronet_aml_net_uri_template", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_brotli_common", |
| "cronet_aml_third_party_brotli_dec", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| "cronet_aml_third_party_protobuf_protobuf_lite", |
| "cronet_aml_url_url", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DENABLE_BUILT_IN_DNS", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNET_IMPLEMENTATION", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/brotli/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/dns:dns__testing |
| cc_library_static { |
| name: "cronet_aml_net_dns_dns__testing", |
| srcs: [ |
| "net/dns/address_info.cc", |
| "net/dns/address_sorter_posix.cc", |
| "net/dns/context_host_resolver.cc", |
| "net/dns/dns_alias_utility.cc", |
| "net/dns/dns_client.cc", |
| "net/dns/dns_config.cc", |
| "net/dns/dns_config_service.cc", |
| "net/dns/dns_config_service_android.cc", |
| "net/dns/dns_hosts.cc", |
| "net/dns/dns_names_util.cc", |
| "net/dns/dns_query.cc", |
| "net/dns/dns_reloader.cc", |
| "net/dns/dns_response.cc", |
| "net/dns/dns_response_result_extractor.cc", |
| "net/dns/dns_server_iterator.cc", |
| "net/dns/dns_session.cc", |
| "net/dns/dns_transaction.cc", |
| "net/dns/dns_udp_tracker.cc", |
| "net/dns/dns_util.cc", |
| "net/dns/host_cache.cc", |
| "net/dns/host_resolver.cc", |
| "net/dns/host_resolver_internal_result.cc", |
| "net/dns/host_resolver_manager.cc", |
| "net/dns/host_resolver_mdns_listener_impl.cc", |
| "net/dns/host_resolver_mdns_task.cc", |
| "net/dns/host_resolver_nat64_task.cc", |
| "net/dns/host_resolver_proc.cc", |
| "net/dns/host_resolver_system_task.cc", |
| "net/dns/https_record_rdata.cc", |
| "net/dns/httpssvc_metrics.cc", |
| "net/dns/mapped_host_resolver.cc", |
| "net/dns/nsswitch_reader.cc", |
| "net/dns/opt_record_rdata.cc", |
| "net/dns/record_parsed.cc", |
| "net/dns/record_rdata.cc", |
| "net/dns/resolve_context.cc", |
| "net/dns/serial_worker.cc", |
| "net/dns/system_dns_config_change_notifier.cc", |
| "net/dns/test_dns_config_service.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DENABLE_BUILT_IN_DNS", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNET_IMPLEMENTATION", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/brotli/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/dns/public:public |
| cc_library_static { |
| name: "cronet_aml_net_dns_public_public", |
| srcs: [ |
| "net/dns/public/dns_config_overrides.cc", |
| "net/dns/public/dns_over_https_config.cc", |
| "net/dns/public/dns_over_https_server_config.cc", |
| "net/dns/public/dns_query_type.cc", |
| "net/dns/public/doh_provider_entry.cc", |
| "net/dns/public/host_resolver_results.cc", |
| "net/dns/public/resolve_error_info.cc", |
| "net/dns/public/util.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_crypto_crypto", |
| "cronet_aml_net_net_deps", |
| "cronet_aml_net_net_public_deps", |
| "cronet_aml_net_preload_decoder", |
| "cronet_aml_net_third_party_quiche_quiche", |
| "cronet_aml_net_traffic_annotation_traffic_annotation", |
| "cronet_aml_net_uri_template", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_brotli_common", |
| "cronet_aml_third_party_brotli_dec", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| "cronet_aml_third_party_protobuf_protobuf_lite", |
| "cronet_aml_url_url", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DENABLE_BUILT_IN_DNS", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNET_IMPLEMENTATION", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/brotli/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/dns/public:public__testing |
| cc_library_static { |
| name: "cronet_aml_net_dns_public_public__testing", |
| srcs: [ |
| "net/dns/public/dns_config_overrides.cc", |
| "net/dns/public/dns_over_https_config.cc", |
| "net/dns/public/dns_over_https_server_config.cc", |
| "net/dns/public/dns_query_type.cc", |
| "net/dns/public/doh_provider_entry.cc", |
| "net/dns/public/host_resolver_results.cc", |
| "net/dns/public/resolve_error_info.cc", |
| "net/dns/public/util.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DENABLE_BUILT_IN_DNS", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNET_IMPLEMENTATION", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/brotli/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/dns/public:tests__testing |
| cc_library_static { |
| name: "cronet_aml_net_dns_public_tests__testing", |
| srcs: [ |
| "net/dns/public/dns_over_https_config_unittest.cc", |
| "net/dns/public/dns_over_https_server_config_unittest.cc", |
| "net/dns/public/doh_provider_entry_unittest.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUNIT_TEST", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/dns:test_support__testing |
| cc_library_static { |
| name: "cronet_aml_net_dns_test_support__testing", |
| srcs: [ |
| "net/dns/dns_test_util.cc", |
| "net/dns/host_resolver_internal_result_test_util.cc", |
| "net/dns/host_resolver_results_test_util.cc", |
| "net/dns/mock_host_resolver.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUNIT_TEST", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/dns:tests__testing |
| cc_library_static { |
| name: "cronet_aml_net_dns_tests__testing", |
| srcs: [ |
| "net/dns/address_info_unittest.cc", |
| "net/dns/address_sorter_posix_unittest.cc", |
| "net/dns/address_sorter_unittest.cc", |
| "net/dns/context_host_resolver_unittest.cc", |
| "net/dns/dns_alias_utility_unittest.cc", |
| "net/dns/dns_client_unittest.cc", |
| "net/dns/dns_config_service_android_unittest.cc", |
| "net/dns/dns_config_service_unittest.cc", |
| "net/dns/dns_hosts_unittest.cc", |
| "net/dns/dns_names_util_unittest.cc", |
| "net/dns/dns_query_unittest.cc", |
| "net/dns/dns_response_result_extractor_unittest.cc", |
| "net/dns/dns_response_unittest.cc", |
| "net/dns/dns_transaction_unittest.cc", |
| "net/dns/dns_udp_tracker_unittest.cc", |
| "net/dns/dns_util_unittest.cc", |
| "net/dns/host_cache_unittest.cc", |
| "net/dns/host_resolver_internal_result_unittest.cc", |
| "net/dns/host_resolver_manager_unittest.cc", |
| "net/dns/https_record_rdata_unittest.cc", |
| "net/dns/httpssvc_metrics_unittest.cc", |
| "net/dns/mapped_host_resolver_unittest.cc", |
| "net/dns/nsswitch_reader_unittest.cc", |
| "net/dns/opt_record_rdata_unittest.cc", |
| "net/dns/record_parsed_unittest.cc", |
| "net/dns/record_rdata_unittest.cc", |
| "net/dns/resolve_context_unittest.cc", |
| "net/dns/serial_worker_unittest.cc", |
| "net/dns/system_dns_config_change_notifier_unittest.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_i18n__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_test_test_config__testing", |
| "cronet_aml_base_test_test_support__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_dns_test_support__testing", |
| "cronet_aml_net_gtest_util__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_quic_test_flags_utils__testing", |
| "cronet_aml_net_simple_quic_tools__testing", |
| "cronet_aml_net_test_support__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_third_party_quiche_quiche_tool_support__testing", |
| "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_ced_ced__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| "cronet_aml_third_party_libxml_libxml_utils__testing", |
| "cronet_aml_third_party_libxml_xml_reader__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUNIT_TEST", |
| "-DUSE_CHROMIUM_ICU=1", |
| "-DUSE_REMOTE_TEST_SERVER", |
| "-DU_ENABLE_DYLOAD=0", |
| "-DU_ENABLE_RESOURCE_TRACING=0", |
| "-DU_ENABLE_TRACING=1", |
| "-DU_STATIC_IMPLEMENTATION", |
| "-DU_USING_ICU_NAMESPACE=0", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/ced/src/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net:effective_connection_type_java |
| java_genrule { |
| name: "cronet_aml_net_effective_connection_type_java", |
| cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " + |
| "$(out) " + |
| "$(location net/nqe/effective_connection_type.h)", |
| out: [ |
| "net/effective_connection_type_java.srcjar", |
| ], |
| tool_files: [ |
| "build/action_helpers.py", |
| "build/android/gyp/java_cpp_enum.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/android/gyp/util/java_cpp_utils.py", |
| "build/gn_helpers.py", |
| "build/zip_helpers.py", |
| "net/nqe/effective_connection_type.h", |
| ], |
| } |
| |
| // GN: //net:gtest_util__testing |
| cc_library_static { |
| name: "cronet_aml_net_gtest_util__testing", |
| srcs: [ |
| "net/test/scoped_disable_exit_on_dfatal.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_i18n__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_test_test_config__testing", |
| "cronet_aml_base_test_test_support__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_ced_ced__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| "cronet_aml_third_party_libxml_libxml_utils__testing", |
| "cronet_aml_third_party_libxml_xml_reader__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-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_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/ced/src/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/http:transport_security_state_generated_files |
| cc_library_static { |
| name: "cronet_aml_net_http_transport_security_state_generated_files", |
| srcs: [ |
| "net/http/transport_security_state.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_crypto_crypto", |
| "cronet_aml_net_dns_dns", |
| "cronet_aml_net_dns_public_public", |
| "cronet_aml_net_net_deps", |
| "cronet_aml_net_net_public_deps", |
| "cronet_aml_net_preload_decoder", |
| "cronet_aml_net_third_party_quiche_quiche", |
| "cronet_aml_net_traffic_annotation_traffic_annotation", |
| "cronet_aml_net_uri_template", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_brotli_common", |
| "cronet_aml_third_party_brotli_dec", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| "cronet_aml_third_party_protobuf_protobuf_lite", |
| "cronet_aml_url_url", |
| ], |
| generated_headers: [ |
| "cronet_aml_build_branding_buildflags", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_build_branding_buildflags", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DENABLE_BUILT_IN_DNS", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNET_IMPLEMENTATION", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/brotli/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/http:transport_security_state_generated_files__testing |
| cc_library_static { |
| name: "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| srcs: [ |
| "net/http/transport_security_state.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_build_branding_buildflags__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_build_branding_buildflags__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DENABLE_BUILT_IN_DNS", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNET_IMPLEMENTATION", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/brotli/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/http:transport_security_state_unittest_data__testing |
| cc_genrule { |
| name: "cronet_aml_net_http_transport_security_state_unittest_data__testing", |
| tools: [ |
| "cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing", |
| ], |
| cmd: "$(location cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing) " + |
| "$(location net/http/transport_security_state_static_unittest1.json) " + |
| "$(location net/http/transport_security_state_static_unittest1_pins.json) " + |
| "$(location net/http/transport_security_state_static_unittest.pins) " + |
| "$(location net/http/transport_security_state_static_unittest.template) " + |
| "$(location net/http/transport_security_state_static_unittest1.h) " + |
| "&& " + |
| "$(location cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing) " + |
| "$(location net/http/transport_security_state_static_unittest2.json) " + |
| "$(location net/http/transport_security_state_static_unittest2_pins.json) " + |
| "$(location net/http/transport_security_state_static_unittest.pins) " + |
| "$(location net/http/transport_security_state_static_unittest.template) " + |
| "$(location net/http/transport_security_state_static_unittest2.h) " + |
| "&& " + |
| "$(location cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing) " + |
| "$(location net/http/transport_security_state_static_unittest3.json) " + |
| "$(location net/http/transport_security_state_static_unittest3_pins.json) " + |
| "$(location net/http/transport_security_state_static_unittest.pins) " + |
| "$(location net/http/transport_security_state_static_unittest.template) " + |
| "$(location net/http/transport_security_state_static_unittest3.h)", |
| out: [ |
| "net/http/transport_security_state_static_unittest1.h", |
| "net/http/transport_security_state_static_unittest2.h", |
| "net/http/transport_security_state_static_unittest3.h", |
| ], |
| tool_files: [ |
| "build/gn_run_binary.py", |
| "net/http/transport_security_state_static_unittest.pins", |
| "net/http/transport_security_state_static_unittest.template", |
| "net/http/transport_security_state_static_unittest1.json", |
| "net/http/transport_security_state_static_unittest1_pins.json", |
| "net/http/transport_security_state_static_unittest2.json", |
| "net/http/transport_security_state_static_unittest2_pins.json", |
| "net/http/transport_security_state_static_unittest3.json", |
| "net/http/transport_security_state_static_unittest3_pins.json", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net/http:transport_security_state_unittest_data_default__testing |
| cc_genrule { |
| name: "cronet_aml_net_http_transport_security_state_unittest_data_default__testing", |
| tools: [ |
| "cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing", |
| ], |
| cmd: "$(location cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing) " + |
| "$(location net/http/transport_security_state_static_unittest_default.json) " + |
| "$(location net/http/transport_security_state_static_unittest_default_pins.json) " + |
| "$(location net/http/transport_security_state_static_unittest_default.pins) " + |
| "$(location net/http/transport_security_state_static_unittest.template) " + |
| "$(location net/http/transport_security_state_static_unittest_default.h)", |
| out: [ |
| "net/http/transport_security_state_static_unittest_default.h", |
| ], |
| tool_files: [ |
| "build/gn_run_binary.py", |
| "net/http/transport_security_state_static_unittest.template", |
| "net/http/transport_security_state_static_unittest_default.json", |
| "net/http/transport_security_state_static_unittest_default.pins", |
| "net/http/transport_security_state_static_unittest_default_pins.json", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net:isolation_info_proto__testing |
| cc_genrule { |
| name: "cronet_aml_net_isolation_info_proto__testing_gen", |
| srcs: [ |
| "net/base/isolation_info.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/base --cpp_out=lite=true:$(genDir)/external/cronet/net/base/ $(in)", |
| out: [ |
| "external/cronet/net/base/isolation_info.pb.cc", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net:isolation_info_proto__testing |
| cc_genrule { |
| name: "cronet_aml_net_isolation_info_proto__testing_gen_headers", |
| srcs: [ |
| "net/base/isolation_info.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/base --cpp_out=lite=true:$(genDir)/external/cronet/net/base/ $(in)", |
| out: [ |
| "external/cronet/net/base/isolation_info.pb.h", |
| ], |
| export_include_dirs: [ |
| ".", |
| "net/base", |
| "protos", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net:isolation_info_proto |
| cc_genrule { |
| name: "cronet_aml_net_isolation_info_proto_gen", |
| srcs: [ |
| "net/base/isolation_info.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/base --cpp_out=lite=true:$(genDir)/external/cronet/net/base/ $(in)", |
| out: [ |
| "external/cronet/net/base/isolation_info.pb.cc", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net:isolation_info_proto |
| cc_genrule { |
| name: "cronet_aml_net_isolation_info_proto_gen_headers", |
| srcs: [ |
| "net/base/isolation_info.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/base --cpp_out=lite=true:$(genDir)/external/cronet/net/base/ $(in)", |
| out: [ |
| "external/cronet/net/base/isolation_info.pb.h", |
| ], |
| export_include_dirs: [ |
| ".", |
| "net/base", |
| "protos", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net:net |
| cc_library_static { |
| name: "cronet_aml_net_net", |
| srcs: [ |
| "net/android/android_http_util.cc", |
| "net/android/cert_verify_result_android.cc", |
| "net/android/gurl_utils.cc", |
| "net/android/http_auth_negotiate_android.cc", |
| "net/android/keystore.cc", |
| "net/android/network_change_notifier_android.cc", |
| "net/android/network_change_notifier_delegate_android.cc", |
| "net/android/network_change_notifier_factory_android.cc", |
| "net/android/network_library.cc", |
| "net/android/traffic_stats.cc", |
| "net/base/address_family.cc", |
| "net/base/address_list.cc", |
| "net/base/address_map_linux.cc", |
| "net/base/address_tracker_linux.cc", |
| "net/base/auth.cc", |
| "net/base/backoff_entry.cc", |
| "net/base/backoff_entry_serializer.cc", |
| "net/base/cache_metrics.cc", |
| "net/base/chunked_upload_data_stream.cc", |
| "net/base/connection_endpoint_metadata.cc", |
| "net/base/data_url.cc", |
| "net/base/datagram_buffer.cc", |
| "net/base/elements_upload_data_stream.cc", |
| "net/base/features.cc", |
| "net/base/file_stream.cc", |
| "net/base/file_stream_context.cc", |
| "net/base/file_stream_context_posix.cc", |
| "net/base/filename_util.cc", |
| "net/base/filename_util_internal.cc", |
| "net/base/hash_value.cc", |
| "net/base/hex_utils.cc", |
| "net/base/host_mapping_rules.cc", |
| "net/base/host_port_pair.cc", |
| "net/base/io_buffer.cc", |
| "net/base/ip_address.cc", |
| "net/base/ip_endpoint.cc", |
| "net/base/isolation_info.cc", |
| "net/base/load_timing_info.cc", |
| "net/base/logging_network_change_observer.cc", |
| "net/base/lookup_string_in_fixed_set.cc", |
| "net/base/mime_sniffer.cc", |
| "net/base/mime_util.cc", |
| "net/base/net_errors.cc", |
| "net/base/net_errors_posix.cc", |
| "net/base/net_module.cc", |
| "net/base/net_string_util_icu_alternatives_android.cc", |
| "net/base/network_activity_monitor.cc", |
| "net/base/network_anonymization_key.cc", |
| "net/base/network_change_notifier.cc", |
| "net/base/network_change_notifier_passive.cc", |
| "net/base/network_delegate.cc", |
| "net/base/network_delegate_impl.cc", |
| "net/base/network_interfaces.cc", |
| "net/base/network_interfaces_getifaddrs.cc", |
| "net/base/network_interfaces_getifaddrs_android.cc", |
| "net/base/network_interfaces_linux.cc", |
| "net/base/network_interfaces_posix.cc", |
| "net/base/network_isolation_key.cc", |
| "net/base/parse_number.cc", |
| "net/base/platform_mime_util_linux.cc", |
| "net/base/port_util.cc", |
| "net/base/prioritized_dispatcher.cc", |
| "net/base/prioritized_task_runner.cc", |
| "net/base/privacy_mode.cc", |
| "net/base/proxy_server.cc", |
| "net/base/proxy_string_util.cc", |
| "net/base/registry_controlled_domains/registry_controlled_domain.cc", |
| "net/base/request_priority.cc", |
| "net/base/scheme_host_port_matcher.cc", |
| "net/base/scheme_host_port_matcher_rule.cc", |
| "net/base/schemeful_site.cc", |
| "net/base/sockaddr_storage.cc", |
| "net/base/sockaddr_util_posix.cc", |
| "net/base/transport_info.cc", |
| "net/base/upload_bytes_element_reader.cc", |
| "net/base/upload_data_stream.cc", |
| "net/base/upload_element_reader.cc", |
| "net/base/upload_file_element_reader.cc", |
| "net/base/url_search_params.cc", |
| "net/base/url_util.cc", |
| "net/cert/asn1_util.cc", |
| "net/cert/caching_cert_verifier.cc", |
| "net/cert/cert_and_ct_verifier.cc", |
| "net/cert/cert_database.cc", |
| "net/cert/cert_status_flags.cc", |
| "net/cert/cert_verifier.cc", |
| "net/cert/cert_verify_proc.cc", |
| "net/cert/cert_verify_proc_android.cc", |
| "net/cert/cert_verify_proc_builtin.cc", |
| "net/cert/cert_verify_result.cc", |
| "net/cert/coalescing_cert_verifier.cc", |
| "net/cert/crl_set.cc", |
| "net/cert/ct_log_response_parser.cc", |
| "net/cert/ct_log_verifier.cc", |
| "net/cert/ct_log_verifier_util.cc", |
| "net/cert/ct_objects_extractor.cc", |
| "net/cert/ct_policy_enforcer.cc", |
| "net/cert/ct_sct_to_string.cc", |
| "net/cert/ct_serialization.cc", |
| "net/cert/ct_signed_certificate_timestamp_log_param.cc", |
| "net/cert/do_nothing_ct_verifier.cc", |
| "net/cert/ev_root_ca_metadata.cc", |
| "net/cert/internal/cert_issuer_source_aia.cc", |
| "net/cert/internal/revocation_checker.cc", |
| "net/cert/internal/system_trust_store.cc", |
| "net/cert/internal/trust_store_features.cc", |
| "net/cert/known_roots.cc", |
| "net/cert/merkle_audit_proof.cc", |
| "net/cert/merkle_consistency_proof.cc", |
| "net/cert/merkle_tree_leaf.cc", |
| "net/cert/multi_log_ct_verifier.cc", |
| "net/cert/multi_threaded_cert_verifier.cc", |
| "net/cert/ocsp_verify_result.cc", |
| "net/cert/pem.cc", |
| "net/cert/pki/cert_error_id.cc", |
| "net/cert/pki/cert_error_params.cc", |
| "net/cert/pki/cert_errors.cc", |
| "net/cert/pki/cert_issuer_source_static.cc", |
| "net/cert/pki/certificate_policies.cc", |
| "net/cert/pki/common_cert_errors.cc", |
| "net/cert/pki/crl.cc", |
| "net/cert/pki/extended_key_usage.cc", |
| "net/cert/pki/general_names.cc", |
| "net/cert/pki/name_constraints.cc", |
| "net/cert/pki/ocsp.cc", |
| "net/cert/pki/parse_certificate.cc", |
| "net/cert/pki/parse_name.cc", |
| "net/cert/pki/parsed_certificate.cc", |
| "net/cert/pki/path_builder.cc", |
| "net/cert/pki/revocation_util.cc", |
| "net/cert/pki/signature_algorithm.cc", |
| "net/cert/pki/simple_path_builder_delegate.cc", |
| "net/cert/pki/string_util.cc", |
| "net/cert/pki/trust_store.cc", |
| "net/cert/pki/trust_store_collection.cc", |
| "net/cert/pki/trust_store_in_memory.cc", |
| "net/cert/pki/verify_certificate_chain.cc", |
| "net/cert/pki/verify_name_match.cc", |
| "net/cert/pki/verify_signed_data.cc", |
| "net/cert/sct_status_flags.cc", |
| "net/cert/signed_certificate_timestamp.cc", |
| "net/cert/signed_certificate_timestamp_and_status.cc", |
| "net/cert/signed_tree_head.cc", |
| "net/cert/symantec_certs.cc", |
| "net/cert/test_root_certs.cc", |
| "net/cert/test_root_certs_android.cc", |
| "net/cert/trial_comparison_cert_verifier_util.cc", |
| "net/cert/x509_cert_types.cc", |
| "net/cert/x509_certificate.cc", |
| "net/cert/x509_certificate_net_log_param.cc", |
| "net/cert/x509_util.cc", |
| "net/cert/x509_util_android.cc", |
| "net/cert_net/cert_net_fetcher_url_request.cc", |
| "net/cookies/canonical_cookie.cc", |
| "net/cookies/cookie_access_delegate.cc", |
| "net/cookies/cookie_access_result.cc", |
| "net/cookies/cookie_change_dispatcher.cc", |
| "net/cookies/cookie_constants.cc", |
| "net/cookies/cookie_deletion_info.cc", |
| "net/cookies/cookie_inclusion_status.cc", |
| "net/cookies/cookie_monster.cc", |
| "net/cookies/cookie_monster_change_dispatcher.cc", |
| "net/cookies/cookie_monster_netlog_params.cc", |
| "net/cookies/cookie_options.cc", |
| "net/cookies/cookie_partition_key.cc", |
| "net/cookies/cookie_partition_key_collection.cc", |
| "net/cookies/cookie_store.cc", |
| "net/cookies/cookie_util.cc", |
| "net/cookies/parsed_cookie.cc", |
| "net/cookies/site_for_cookies.cc", |
| "net/cookies/static_cookie_policy.cc", |
| "net/der/encode_values.cc", |
| "net/der/input.cc", |
| "net/der/parse_values.cc", |
| "net/der/parser.cc", |
| "net/der/tag.cc", |
| "net/disk_cache/backend_cleanup_tracker.cc", |
| "net/disk_cache/blockfile/addr.cc", |
| "net/disk_cache/blockfile/backend_impl.cc", |
| "net/disk_cache/blockfile/bitmap.cc", |
| "net/disk_cache/blockfile/block_files.cc", |
| "net/disk_cache/blockfile/disk_format.cc", |
| "net/disk_cache/blockfile/entry_impl.cc", |
| "net/disk_cache/blockfile/eviction.cc", |
| "net/disk_cache/blockfile/file.cc", |
| "net/disk_cache/blockfile/file_lock.cc", |
| "net/disk_cache/blockfile/file_posix.cc", |
| "net/disk_cache/blockfile/in_flight_backend_io.cc", |
| "net/disk_cache/blockfile/in_flight_io.cc", |
| "net/disk_cache/blockfile/mapped_file.cc", |
| "net/disk_cache/blockfile/rankings.cc", |
| "net/disk_cache/blockfile/sparse_control.cc", |
| "net/disk_cache/blockfile/stats.cc", |
| "net/disk_cache/cache_util.cc", |
| "net/disk_cache/cache_util_posix.cc", |
| "net/disk_cache/disk_cache.cc", |
| "net/disk_cache/memory/mem_backend_impl.cc", |
| "net/disk_cache/memory/mem_entry_impl.cc", |
| "net/disk_cache/net_log_parameters.cc", |
| "net/disk_cache/simple/post_doom_waiter.cc", |
| "net/disk_cache/simple/simple_backend_impl.cc", |
| "net/disk_cache/simple/simple_entry_format.cc", |
| "net/disk_cache/simple/simple_entry_impl.cc", |
| "net/disk_cache/simple/simple_entry_operation.cc", |
| "net/disk_cache/simple/simple_file_enumerator.cc", |
| "net/disk_cache/simple/simple_file_tracker.cc", |
| "net/disk_cache/simple/simple_index.cc", |
| "net/disk_cache/simple/simple_index_file.cc", |
| "net/disk_cache/simple/simple_net_log_parameters.cc", |
| "net/disk_cache/simple/simple_synchronous_entry.cc", |
| "net/disk_cache/simple/simple_util.cc", |
| "net/disk_cache/simple/simple_util_posix.cc", |
| "net/disk_cache/simple/simple_version_upgrade.cc", |
| "net/filter/brotli_source_stream.cc", |
| "net/filter/filter_source_stream.cc", |
| "net/filter/gzip_header.cc", |
| "net/filter/gzip_source_stream.cc", |
| "net/filter/source_stream.cc", |
| "net/first_party_sets/addition_overlaps_union_find.cc", |
| "net/first_party_sets/first_party_set_entry.cc", |
| "net/first_party_sets/first_party_set_entry_override.cc", |
| "net/first_party_sets/first_party_set_metadata.cc", |
| "net/first_party_sets/first_party_sets_cache_filter.cc", |
| "net/first_party_sets/first_party_sets_context_config.cc", |
| "net/first_party_sets/global_first_party_sets.cc", |
| "net/first_party_sets/same_party_context.cc", |
| "net/http/alternative_service.cc", |
| "net/http/bidirectional_stream.cc", |
| "net/http/bidirectional_stream_impl.cc", |
| "net/http/bidirectional_stream_request_info.cc", |
| "net/http/broken_alternative_services.cc", |
| "net/http/http_auth.cc", |
| "net/http/http_auth_cache.cc", |
| "net/http/http_auth_challenge_tokenizer.cc", |
| "net/http/http_auth_controller.cc", |
| "net/http/http_auth_filter.cc", |
| "net/http/http_auth_handler.cc", |
| "net/http/http_auth_handler_basic.cc", |
| "net/http/http_auth_handler_digest.cc", |
| "net/http/http_auth_handler_factory.cc", |
| "net/http/http_auth_handler_negotiate.cc", |
| "net/http/http_auth_handler_ntlm.cc", |
| "net/http/http_auth_handler_ntlm_portable.cc", |
| "net/http/http_auth_multi_round_parse.cc", |
| "net/http/http_auth_ntlm_mechanism.cc", |
| "net/http/http_auth_preferences.cc", |
| "net/http/http_auth_scheme.cc", |
| "net/http/http_basic_state.cc", |
| "net/http/http_basic_stream.cc", |
| "net/http/http_byte_range.cc", |
| "net/http/http_cache.cc", |
| "net/http/http_cache_lookup_manager.cc", |
| "net/http/http_cache_transaction.cc", |
| "net/http/http_cache_writers.cc", |
| "net/http/http_chunked_decoder.cc", |
| "net/http/http_content_disposition.cc", |
| "net/http/http_log_util.cc", |
| "net/http/http_network_layer.cc", |
| "net/http/http_network_session.cc", |
| "net/http/http_network_session_peer.cc", |
| "net/http/http_network_transaction.cc", |
| "net/http/http_no_vary_search_data.cc", |
| "net/http/http_proxy_client_socket.cc", |
| "net/http/http_proxy_connect_job.cc", |
| "net/http/http_raw_request_headers.cc", |
| "net/http/http_request_headers.cc", |
| "net/http/http_request_info.cc", |
| "net/http/http_response_body_drainer.cc", |
| "net/http/http_response_headers.cc", |
| "net/http/http_response_info.cc", |
| "net/http/http_security_headers.cc", |
| "net/http/http_server_properties.cc", |
| "net/http/http_server_properties_manager.cc", |
| "net/http/http_status_code.cc", |
| "net/http/http_stream.cc", |
| "net/http/http_stream_factory.cc", |
| "net/http/http_stream_factory_job.cc", |
| "net/http/http_stream_factory_job_controller.cc", |
| "net/http/http_stream_parser.cc", |
| "net/http/http_stream_request.cc", |
| "net/http/http_util.cc", |
| "net/http/http_vary_data.cc", |
| "net/http/partial_data.cc", |
| "net/http/proxy_client_socket.cc", |
| "net/http/proxy_fallback.cc", |
| "net/http/transport_security_persister.cc", |
| "net/http/transport_security_state_source.cc", |
| "net/http/url_security_manager.cc", |
| "net/http/url_security_manager_posix.cc", |
| "net/http/webfonts_histogram.cc", |
| "net/log/file_net_log_observer.cc", |
| "net/log/net_log.cc", |
| "net/log/net_log_capture_mode.cc", |
| "net/log/net_log_entry.cc", |
| "net/log/net_log_event_type.cc", |
| "net/log/net_log_source.cc", |
| "net/log/net_log_util.cc", |
| "net/log/net_log_values.cc", |
| "net/log/net_log_with_source.cc", |
| "net/log/trace_net_log_observer.cc", |
| "net/network_error_logging/network_error_logging_service.cc", |
| "net/nqe/cached_network_quality.cc", |
| "net/nqe/effective_connection_type.cc", |
| "net/nqe/event_creator.cc", |
| "net/nqe/network_id.cc", |
| "net/nqe/network_qualities_prefs_manager.cc", |
| "net/nqe/network_quality.cc", |
| "net/nqe/network_quality_estimator.cc", |
| "net/nqe/network_quality_estimator_params.cc", |
| "net/nqe/network_quality_estimator_util.cc", |
| "net/nqe/network_quality_observation.cc", |
| "net/nqe/network_quality_store.cc", |
| "net/nqe/observation_buffer.cc", |
| "net/nqe/pref_names.cc", |
| "net/nqe/socket_watcher.cc", |
| "net/nqe/socket_watcher_factory.cc", |
| "net/nqe/throughput_analyzer.cc", |
| "net/ntlm/ntlm.cc", |
| "net/ntlm/ntlm_buffer_reader.cc", |
| "net/ntlm/ntlm_buffer_writer.cc", |
| "net/ntlm/ntlm_client.cc", |
| "net/ntlm/ntlm_constants.cc", |
| "net/proxy_resolution/configured_proxy_resolution_request.cc", |
| "net/proxy_resolution/configured_proxy_resolution_service.cc", |
| "net/proxy_resolution/dhcp_pac_file_fetcher.cc", |
| "net/proxy_resolution/multi_threaded_proxy_resolver.cc", |
| "net/proxy_resolution/network_delegate_error_observer.cc", |
| "net/proxy_resolution/pac_file_data.cc", |
| "net/proxy_resolution/pac_file_decider.cc", |
| "net/proxy_resolution/pac_file_fetcher.cc", |
| "net/proxy_resolution/pac_file_fetcher_impl.cc", |
| "net/proxy_resolution/polling_proxy_config_service.cc", |
| "net/proxy_resolution/proxy_bypass_rules.cc", |
| "net/proxy_resolution/proxy_config.cc", |
| "net/proxy_resolution/proxy_config_service.cc", |
| "net/proxy_resolution/proxy_config_service_android.cc", |
| "net/proxy_resolution/proxy_config_service_fixed.cc", |
| "net/proxy_resolution/proxy_config_with_annotation.cc", |
| "net/proxy_resolution/proxy_info.cc", |
| "net/proxy_resolution/proxy_list.cc", |
| "net/proxy_resolution/proxy_resolver_factory.cc", |
| "net/quic/bidirectional_stream_quic_impl.cc", |
| "net/quic/crypto/proof_source_chromium.cc", |
| "net/quic/crypto/proof_verifier_chromium.cc", |
| "net/quic/dedicated_web_transport_http3_client.cc", |
| "net/quic/network_connection.cc", |
| "net/quic/platform/impl/quic_chromium_clock.cc", |
| "net/quic/properties_based_quic_server_info.cc", |
| "net/quic/quic_address_mismatch.cc", |
| "net/quic/quic_chromium_alarm_factory.cc", |
| "net/quic/quic_chromium_client_session.cc", |
| "net/quic/quic_chromium_client_stream.cc", |
| "net/quic/quic_chromium_connection_helper.cc", |
| "net/quic/quic_chromium_packet_reader.cc", |
| "net/quic/quic_chromium_packet_writer.cc", |
| "net/quic/quic_clock_skew_detector.cc", |
| "net/quic/quic_connection_logger.cc", |
| "net/quic/quic_connectivity_monitor.cc", |
| "net/quic/quic_context.cc", |
| "net/quic/quic_crypto_client_config_handle.cc", |
| "net/quic/quic_crypto_client_stream_factory.cc", |
| "net/quic/quic_event_logger.cc", |
| "net/quic/quic_http3_logger.cc", |
| "net/quic/quic_http_stream.cc", |
| "net/quic/quic_http_utils.cc", |
| "net/quic/quic_proxy_client_socket.cc", |
| "net/quic/quic_server_info.cc", |
| "net/quic/quic_session_key.cc", |
| "net/quic/quic_stream_factory.cc", |
| "net/quic/set_quic_flag.cc", |
| "net/quic/web_transport_client.cc", |
| "net/quic/web_transport_error.cc", |
| "net/reporting/reporting_browsing_data_remover.cc", |
| "net/reporting/reporting_cache.cc", |
| "net/reporting/reporting_cache_impl.cc", |
| "net/reporting/reporting_cache_observer.cc", |
| "net/reporting/reporting_context.cc", |
| "net/reporting/reporting_delegate.cc", |
| "net/reporting/reporting_delivery_agent.cc", |
| "net/reporting/reporting_endpoint.cc", |
| "net/reporting/reporting_endpoint_manager.cc", |
| "net/reporting/reporting_garbage_collector.cc", |
| "net/reporting/reporting_header_parser.cc", |
| "net/reporting/reporting_network_change_observer.cc", |
| "net/reporting/reporting_policy.cc", |
| "net/reporting/reporting_report.cc", |
| "net/reporting/reporting_service.cc", |
| "net/reporting/reporting_uploader.cc", |
| "net/socket/client_socket_factory.cc", |
| "net/socket/client_socket_handle.cc", |
| "net/socket/client_socket_pool.cc", |
| "net/socket/client_socket_pool_manager.cc", |
| "net/socket/client_socket_pool_manager_impl.cc", |
| "net/socket/connect_job.cc", |
| "net/socket/connect_job_factory.cc", |
| "net/socket/network_binding_client_socket_factory.cc", |
| "net/socket/next_proto.cc", |
| "net/socket/server_socket.cc", |
| "net/socket/socket.cc", |
| "net/socket/socket_bio_adapter.cc", |
| "net/socket/socket_descriptor.cc", |
| "net/socket/socket_net_log_params.cc", |
| "net/socket/socket_options.cc", |
| "net/socket/socket_posix.cc", |
| "net/socket/socket_tag.cc", |
| "net/socket/socks5_client_socket.cc", |
| "net/socket/socks_client_socket.cc", |
| "net/socket/socks_connect_job.cc", |
| "net/socket/ssl_client_socket.cc", |
| "net/socket/ssl_client_socket_impl.cc", |
| "net/socket/ssl_connect_job.cc", |
| "net/socket/ssl_server_socket_impl.cc", |
| "net/socket/stream_socket.cc", |
| "net/socket/tcp_client_socket.cc", |
| "net/socket/tcp_server_socket.cc", |
| "net/socket/tcp_socket_posix.cc", |
| "net/socket/transport_client_socket.cc", |
| "net/socket/transport_client_socket_pool.cc", |
| "net/socket/transport_connect_job.cc", |
| "net/socket/transport_connect_sub_job.cc", |
| "net/socket/udp_client_socket.cc", |
| "net/socket/udp_net_log_parameters.cc", |
| "net/socket/udp_server_socket.cc", |
| "net/socket/udp_socket_global_limits.cc", |
| "net/socket/udp_socket_posix.cc", |
| "net/socket/unix_domain_client_socket_posix.cc", |
| "net/socket/unix_domain_server_socket_posix.cc", |
| "net/socket/websocket_endpoint_lock_manager.cc", |
| "net/socket/websocket_transport_client_socket_pool.cc", |
| "net/spdy/alps_decoder.cc", |
| "net/spdy/bidirectional_stream_spdy_impl.cc", |
| "net/spdy/buffered_spdy_framer.cc", |
| "net/spdy/header_coalescer.cc", |
| "net/spdy/http2_priority_dependencies.cc", |
| "net/spdy/http2_push_promise_index.cc", |
| "net/spdy/multiplexed_http_stream.cc", |
| "net/spdy/multiplexed_session.cc", |
| "net/spdy/spdy_buffer.cc", |
| "net/spdy/spdy_buffer_producer.cc", |
| "net/spdy/spdy_http_stream.cc", |
| "net/spdy/spdy_http_utils.cc", |
| "net/spdy/spdy_log_util.cc", |
| "net/spdy/spdy_proxy_client_socket.cc", |
| "net/spdy/spdy_read_queue.cc", |
| "net/spdy/spdy_session.cc", |
| "net/spdy/spdy_session_key.cc", |
| "net/spdy/spdy_session_pool.cc", |
| "net/spdy/spdy_stream.cc", |
| "net/spdy/spdy_write_queue.cc", |
| "net/ssl/cert_compression.cc", |
| "net/ssl/client_cert_identity.cc", |
| "net/ssl/openssl_ssl_util.cc", |
| "net/ssl/ssl_cert_request_info.cc", |
| "net/ssl/ssl_cipher_suite_names.cc", |
| "net/ssl/ssl_client_auth_cache.cc", |
| "net/ssl/ssl_client_session_cache.cc", |
| "net/ssl/ssl_config.cc", |
| "net/ssl/ssl_config_service.cc", |
| "net/ssl/ssl_config_service_defaults.cc", |
| "net/ssl/ssl_info.cc", |
| "net/ssl/ssl_key_logger.cc", |
| "net/ssl/ssl_key_logger_impl.cc", |
| "net/ssl/ssl_platform_key_android.cc", |
| "net/ssl/ssl_platform_key_util.cc", |
| "net/ssl/ssl_private_key.cc", |
| "net/ssl/ssl_server_config.cc", |
| "net/ssl/threaded_ssl_private_key.cc", |
| "net/url_request/redirect_info.cc", |
| "net/url_request/redirect_util.cc", |
| "net/url_request/report_sender.cc", |
| "net/url_request/static_http_user_agent_settings.cc", |
| "net/url_request/url_request.cc", |
| "net/url_request/url_request_context.cc", |
| "net/url_request/url_request_context_builder.cc", |
| "net/url_request/url_request_context_getter.cc", |
| "net/url_request/url_request_error_job.cc", |
| "net/url_request/url_request_filter.cc", |
| "net/url_request/url_request_http_job.cc", |
| "net/url_request/url_request_interceptor.cc", |
| "net/url_request/url_request_job.cc", |
| "net/url_request/url_request_job_factory.cc", |
| "net/url_request/url_request_netlog_params.cc", |
| "net/url_request/url_request_redirect_job.cc", |
| "net/url_request/url_request_throttler_entry.cc", |
| "net/url_request/url_request_throttler_manager.cc", |
| "net/url_request/view_cache_helper.cc", |
| "net/url_request/websocket_handshake_userdata_key.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_crypto_crypto", |
| "cronet_aml_net_dns_dns", |
| "cronet_aml_net_dns_public_public", |
| "cronet_aml_net_http_transport_security_state_generated_files", |
| "cronet_aml_net_net_deps", |
| "cronet_aml_net_net_public_deps", |
| "cronet_aml_net_preload_decoder", |
| "cronet_aml_net_third_party_quiche_quiche", |
| "cronet_aml_net_traffic_annotation_traffic_annotation", |
| "cronet_aml_net_uri_template", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_brotli_common", |
| "cronet_aml_third_party_brotli_dec", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| "cronet_aml_third_party_protobuf_protobuf_lite", |
| "cronet_aml_url_url", |
| ], |
| generated_headers: [ |
| "cronet_aml_build_chromeos_buildflags", |
| "cronet_aml_net_cronet_buildflags", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_build_chromeos_buildflags", |
| "cronet_aml_net_cronet_buildflags", |
| ], |
| export_static_lib_headers: [ |
| "cronet_aml_crypto_crypto", |
| "cronet_aml_net_third_party_quiche_quiche", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DENABLE_BUILT_IN_DNS", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNET_IMPLEMENTATION", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/brotli/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| srcs: [ |
| "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc", |
| ], |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| srcs: [ |
| "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc", |
| ], |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| srcs: [ |
| "net/disk_cache/blockfile/mapped_file_posix.cc", |
| ], |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| srcs: [ |
| "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc", |
| ], |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net:net__testing |
| cc_library_static { |
| name: "cronet_aml_net_net__testing", |
| srcs: [ |
| "net/android/android_http_util.cc", |
| "net/android/cert_verify_result_android.cc", |
| "net/android/gurl_utils.cc", |
| "net/android/http_auth_negotiate_android.cc", |
| "net/android/keystore.cc", |
| "net/android/network_change_notifier_android.cc", |
| "net/android/network_change_notifier_delegate_android.cc", |
| "net/android/network_change_notifier_factory_android.cc", |
| "net/android/network_library.cc", |
| "net/android/traffic_stats.cc", |
| "net/base/address_family.cc", |
| "net/base/address_list.cc", |
| "net/base/address_map_linux.cc", |
| "net/base/address_tracker_linux.cc", |
| "net/base/auth.cc", |
| "net/base/backoff_entry.cc", |
| "net/base/backoff_entry_serializer.cc", |
| "net/base/cache_metrics.cc", |
| "net/base/chunked_upload_data_stream.cc", |
| "net/base/connection_endpoint_metadata.cc", |
| "net/base/data_url.cc", |
| "net/base/datagram_buffer.cc", |
| "net/base/elements_upload_data_stream.cc", |
| "net/base/features.cc", |
| "net/base/file_stream.cc", |
| "net/base/file_stream_context.cc", |
| "net/base/file_stream_context_posix.cc", |
| "net/base/filename_util.cc", |
| "net/base/filename_util_internal.cc", |
| "net/base/hash_value.cc", |
| "net/base/hex_utils.cc", |
| "net/base/host_mapping_rules.cc", |
| "net/base/host_port_pair.cc", |
| "net/base/io_buffer.cc", |
| "net/base/ip_address.cc", |
| "net/base/ip_endpoint.cc", |
| "net/base/isolation_info.cc", |
| "net/base/load_timing_info.cc", |
| "net/base/logging_network_change_observer.cc", |
| "net/base/lookup_string_in_fixed_set.cc", |
| "net/base/mime_sniffer.cc", |
| "net/base/mime_util.cc", |
| "net/base/net_errors.cc", |
| "net/base/net_errors_posix.cc", |
| "net/base/net_module.cc", |
| "net/base/net_string_util_icu_alternatives_android.cc", |
| "net/base/network_activity_monitor.cc", |
| "net/base/network_anonymization_key.cc", |
| "net/base/network_change_notifier.cc", |
| "net/base/network_change_notifier_passive.cc", |
| "net/base/network_delegate.cc", |
| "net/base/network_delegate_impl.cc", |
| "net/base/network_interfaces.cc", |
| "net/base/network_interfaces_getifaddrs.cc", |
| "net/base/network_interfaces_getifaddrs_android.cc", |
| "net/base/network_interfaces_linux.cc", |
| "net/base/network_interfaces_posix.cc", |
| "net/base/network_isolation_key.cc", |
| "net/base/parse_number.cc", |
| "net/base/platform_mime_util_linux.cc", |
| "net/base/port_util.cc", |
| "net/base/prioritized_dispatcher.cc", |
| "net/base/prioritized_task_runner.cc", |
| "net/base/privacy_mode.cc", |
| "net/base/proxy_server.cc", |
| "net/base/proxy_string_util.cc", |
| "net/base/registry_controlled_domains/registry_controlled_domain.cc", |
| "net/base/request_priority.cc", |
| "net/base/scheme_host_port_matcher.cc", |
| "net/base/scheme_host_port_matcher_rule.cc", |
| "net/base/schemeful_site.cc", |
| "net/base/sockaddr_storage.cc", |
| "net/base/sockaddr_util_posix.cc", |
| "net/base/transport_info.cc", |
| "net/base/upload_bytes_element_reader.cc", |
| "net/base/upload_data_stream.cc", |
| "net/base/upload_element_reader.cc", |
| "net/base/upload_file_element_reader.cc", |
| "net/base/url_search_params.cc", |
| "net/base/url_util.cc", |
| "net/cert/asn1_util.cc", |
| "net/cert/caching_cert_verifier.cc", |
| "net/cert/cert_and_ct_verifier.cc", |
| "net/cert/cert_database.cc", |
| "net/cert/cert_status_flags.cc", |
| "net/cert/cert_verifier.cc", |
| "net/cert/cert_verify_proc.cc", |
| "net/cert/cert_verify_proc_android.cc", |
| "net/cert/cert_verify_proc_builtin.cc", |
| "net/cert/cert_verify_result.cc", |
| "net/cert/coalescing_cert_verifier.cc", |
| "net/cert/crl_set.cc", |
| "net/cert/ct_log_response_parser.cc", |
| "net/cert/ct_log_verifier.cc", |
| "net/cert/ct_log_verifier_util.cc", |
| "net/cert/ct_objects_extractor.cc", |
| "net/cert/ct_policy_enforcer.cc", |
| "net/cert/ct_sct_to_string.cc", |
| "net/cert/ct_serialization.cc", |
| "net/cert/ct_signed_certificate_timestamp_log_param.cc", |
| "net/cert/do_nothing_ct_verifier.cc", |
| "net/cert/ev_root_ca_metadata.cc", |
| "net/cert/internal/cert_issuer_source_aia.cc", |
| "net/cert/internal/revocation_checker.cc", |
| "net/cert/internal/system_trust_store.cc", |
| "net/cert/internal/trust_store_features.cc", |
| "net/cert/known_roots.cc", |
| "net/cert/merkle_audit_proof.cc", |
| "net/cert/merkle_consistency_proof.cc", |
| "net/cert/merkle_tree_leaf.cc", |
| "net/cert/multi_log_ct_verifier.cc", |
| "net/cert/multi_threaded_cert_verifier.cc", |
| "net/cert/ocsp_verify_result.cc", |
| "net/cert/pem.cc", |
| "net/cert/pki/cert_error_id.cc", |
| "net/cert/pki/cert_error_params.cc", |
| "net/cert/pki/cert_errors.cc", |
| "net/cert/pki/cert_issuer_source_static.cc", |
| "net/cert/pki/certificate_policies.cc", |
| "net/cert/pki/common_cert_errors.cc", |
| "net/cert/pki/crl.cc", |
| "net/cert/pki/extended_key_usage.cc", |
| "net/cert/pki/general_names.cc", |
| "net/cert/pki/name_constraints.cc", |
| "net/cert/pki/ocsp.cc", |
| "net/cert/pki/parse_certificate.cc", |
| "net/cert/pki/parse_name.cc", |
| "net/cert/pki/parsed_certificate.cc", |
| "net/cert/pki/path_builder.cc", |
| "net/cert/pki/revocation_util.cc", |
| "net/cert/pki/signature_algorithm.cc", |
| "net/cert/pki/simple_path_builder_delegate.cc", |
| "net/cert/pki/string_util.cc", |
| "net/cert/pki/trust_store.cc", |
| "net/cert/pki/trust_store_collection.cc", |
| "net/cert/pki/trust_store_in_memory.cc", |
| "net/cert/pki/verify_certificate_chain.cc", |
| "net/cert/pki/verify_name_match.cc", |
| "net/cert/pki/verify_signed_data.cc", |
| "net/cert/sct_status_flags.cc", |
| "net/cert/signed_certificate_timestamp.cc", |
| "net/cert/signed_certificate_timestamp_and_status.cc", |
| "net/cert/signed_tree_head.cc", |
| "net/cert/symantec_certs.cc", |
| "net/cert/test_root_certs.cc", |
| "net/cert/test_root_certs_android.cc", |
| "net/cert/trial_comparison_cert_verifier_util.cc", |
| "net/cert/x509_cert_types.cc", |
| "net/cert/x509_certificate.cc", |
| "net/cert/x509_certificate_net_log_param.cc", |
| "net/cert/x509_util.cc", |
| "net/cert/x509_util_android.cc", |
| "net/cert_net/cert_net_fetcher_url_request.cc", |
| "net/cookies/canonical_cookie.cc", |
| "net/cookies/cookie_access_delegate.cc", |
| "net/cookies/cookie_access_result.cc", |
| "net/cookies/cookie_change_dispatcher.cc", |
| "net/cookies/cookie_constants.cc", |
| "net/cookies/cookie_deletion_info.cc", |
| "net/cookies/cookie_inclusion_status.cc", |
| "net/cookies/cookie_monster.cc", |
| "net/cookies/cookie_monster_change_dispatcher.cc", |
| "net/cookies/cookie_monster_netlog_params.cc", |
| "net/cookies/cookie_options.cc", |
| "net/cookies/cookie_partition_key.cc", |
| "net/cookies/cookie_partition_key_collection.cc", |
| "net/cookies/cookie_store.cc", |
| "net/cookies/cookie_util.cc", |
| "net/cookies/parsed_cookie.cc", |
| "net/cookies/site_for_cookies.cc", |
| "net/cookies/static_cookie_policy.cc", |
| "net/der/encode_values.cc", |
| "net/der/input.cc", |
| "net/der/parse_values.cc", |
| "net/der/parser.cc", |
| "net/der/tag.cc", |
| "net/disk_cache/backend_cleanup_tracker.cc", |
| "net/disk_cache/blockfile/addr.cc", |
| "net/disk_cache/blockfile/backend_impl.cc", |
| "net/disk_cache/blockfile/bitmap.cc", |
| "net/disk_cache/blockfile/block_files.cc", |
| "net/disk_cache/blockfile/disk_format.cc", |
| "net/disk_cache/blockfile/entry_impl.cc", |
| "net/disk_cache/blockfile/eviction.cc", |
| "net/disk_cache/blockfile/file.cc", |
| "net/disk_cache/blockfile/file_lock.cc", |
| "net/disk_cache/blockfile/file_posix.cc", |
| "net/disk_cache/blockfile/in_flight_backend_io.cc", |
| "net/disk_cache/blockfile/in_flight_io.cc", |
| "net/disk_cache/blockfile/mapped_file.cc", |
| "net/disk_cache/blockfile/rankings.cc", |
| "net/disk_cache/blockfile/sparse_control.cc", |
| "net/disk_cache/blockfile/stats.cc", |
| "net/disk_cache/cache_util.cc", |
| "net/disk_cache/cache_util_posix.cc", |
| "net/disk_cache/disk_cache.cc", |
| "net/disk_cache/memory/mem_backend_impl.cc", |
| "net/disk_cache/memory/mem_entry_impl.cc", |
| "net/disk_cache/net_log_parameters.cc", |
| "net/disk_cache/simple/post_doom_waiter.cc", |
| "net/disk_cache/simple/simple_backend_impl.cc", |
| "net/disk_cache/simple/simple_entry_format.cc", |
| "net/disk_cache/simple/simple_entry_impl.cc", |
| "net/disk_cache/simple/simple_entry_operation.cc", |
| "net/disk_cache/simple/simple_file_enumerator.cc", |
| "net/disk_cache/simple/simple_file_tracker.cc", |
| "net/disk_cache/simple/simple_index.cc", |
| "net/disk_cache/simple/simple_index_file.cc", |
| "net/disk_cache/simple/simple_net_log_parameters.cc", |
| "net/disk_cache/simple/simple_synchronous_entry.cc", |
| "net/disk_cache/simple/simple_util.cc", |
| "net/disk_cache/simple/simple_util_posix.cc", |
| "net/disk_cache/simple/simple_version_upgrade.cc", |
| "net/filter/brotli_source_stream.cc", |
| "net/filter/filter_source_stream.cc", |
| "net/filter/gzip_header.cc", |
| "net/filter/gzip_source_stream.cc", |
| "net/filter/source_stream.cc", |
| "net/first_party_sets/addition_overlaps_union_find.cc", |
| "net/first_party_sets/first_party_set_entry.cc", |
| "net/first_party_sets/first_party_set_entry_override.cc", |
| "net/first_party_sets/first_party_set_metadata.cc", |
| "net/first_party_sets/first_party_sets_cache_filter.cc", |
| "net/first_party_sets/first_party_sets_context_config.cc", |
| "net/first_party_sets/global_first_party_sets.cc", |
| "net/first_party_sets/same_party_context.cc", |
| "net/http/alternative_service.cc", |
| "net/http/bidirectional_stream.cc", |
| "net/http/bidirectional_stream_impl.cc", |
| "net/http/bidirectional_stream_request_info.cc", |
| "net/http/broken_alternative_services.cc", |
| "net/http/http_auth.cc", |
| "net/http/http_auth_cache.cc", |
| "net/http/http_auth_challenge_tokenizer.cc", |
| "net/http/http_auth_controller.cc", |
| "net/http/http_auth_filter.cc", |
| "net/http/http_auth_handler.cc", |
| "net/http/http_auth_handler_basic.cc", |
| "net/http/http_auth_handler_digest.cc", |
| "net/http/http_auth_handler_factory.cc", |
| "net/http/http_auth_handler_negotiate.cc", |
| "net/http/http_auth_handler_ntlm.cc", |
| "net/http/http_auth_handler_ntlm_portable.cc", |
| "net/http/http_auth_multi_round_parse.cc", |
| "net/http/http_auth_ntlm_mechanism.cc", |
| "net/http/http_auth_preferences.cc", |
| "net/http/http_auth_scheme.cc", |
| "net/http/http_basic_state.cc", |
| "net/http/http_basic_stream.cc", |
| "net/http/http_byte_range.cc", |
| "net/http/http_cache.cc", |
| "net/http/http_cache_lookup_manager.cc", |
| "net/http/http_cache_transaction.cc", |
| "net/http/http_cache_writers.cc", |
| "net/http/http_chunked_decoder.cc", |
| "net/http/http_content_disposition.cc", |
| "net/http/http_log_util.cc", |
| "net/http/http_network_layer.cc", |
| "net/http/http_network_session.cc", |
| "net/http/http_network_session_peer.cc", |
| "net/http/http_network_transaction.cc", |
| "net/http/http_no_vary_search_data.cc", |
| "net/http/http_proxy_client_socket.cc", |
| "net/http/http_proxy_connect_job.cc", |
| "net/http/http_raw_request_headers.cc", |
| "net/http/http_request_headers.cc", |
| "net/http/http_request_info.cc", |
| "net/http/http_response_body_drainer.cc", |
| "net/http/http_response_headers.cc", |
| "net/http/http_response_info.cc", |
| "net/http/http_security_headers.cc", |
| "net/http/http_server_properties.cc", |
| "net/http/http_server_properties_manager.cc", |
| "net/http/http_status_code.cc", |
| "net/http/http_stream.cc", |
| "net/http/http_stream_factory.cc", |
| "net/http/http_stream_factory_job.cc", |
| "net/http/http_stream_factory_job_controller.cc", |
| "net/http/http_stream_parser.cc", |
| "net/http/http_stream_request.cc", |
| "net/http/http_util.cc", |
| "net/http/http_vary_data.cc", |
| "net/http/partial_data.cc", |
| "net/http/proxy_client_socket.cc", |
| "net/http/proxy_fallback.cc", |
| "net/http/transport_security_persister.cc", |
| "net/http/transport_security_state_source.cc", |
| "net/http/url_security_manager.cc", |
| "net/http/url_security_manager_posix.cc", |
| "net/http/webfonts_histogram.cc", |
| "net/log/file_net_log_observer.cc", |
| "net/log/net_log.cc", |
| "net/log/net_log_capture_mode.cc", |
| "net/log/net_log_entry.cc", |
| "net/log/net_log_event_type.cc", |
| "net/log/net_log_source.cc", |
| "net/log/net_log_util.cc", |
| "net/log/net_log_values.cc", |
| "net/log/net_log_with_source.cc", |
| "net/log/trace_net_log_observer.cc", |
| "net/network_error_logging/network_error_logging_service.cc", |
| "net/nqe/cached_network_quality.cc", |
| "net/nqe/effective_connection_type.cc", |
| "net/nqe/event_creator.cc", |
| "net/nqe/network_id.cc", |
| "net/nqe/network_qualities_prefs_manager.cc", |
| "net/nqe/network_quality.cc", |
| "net/nqe/network_quality_estimator.cc", |
| "net/nqe/network_quality_estimator_params.cc", |
| "net/nqe/network_quality_estimator_util.cc", |
| "net/nqe/network_quality_observation.cc", |
| "net/nqe/network_quality_store.cc", |
| "net/nqe/observation_buffer.cc", |
| "net/nqe/pref_names.cc", |
| "net/nqe/socket_watcher.cc", |
| "net/nqe/socket_watcher_factory.cc", |
| "net/nqe/throughput_analyzer.cc", |
| "net/ntlm/ntlm.cc", |
| "net/ntlm/ntlm_buffer_reader.cc", |
| "net/ntlm/ntlm_buffer_writer.cc", |
| "net/ntlm/ntlm_client.cc", |
| "net/ntlm/ntlm_constants.cc", |
| "net/proxy_resolution/configured_proxy_resolution_request.cc", |
| "net/proxy_resolution/configured_proxy_resolution_service.cc", |
| "net/proxy_resolution/dhcp_pac_file_fetcher.cc", |
| "net/proxy_resolution/multi_threaded_proxy_resolver.cc", |
| "net/proxy_resolution/network_delegate_error_observer.cc", |
| "net/proxy_resolution/pac_file_data.cc", |
| "net/proxy_resolution/pac_file_decider.cc", |
| "net/proxy_resolution/pac_file_fetcher.cc", |
| "net/proxy_resolution/pac_file_fetcher_impl.cc", |
| "net/proxy_resolution/polling_proxy_config_service.cc", |
| "net/proxy_resolution/proxy_bypass_rules.cc", |
| "net/proxy_resolution/proxy_config.cc", |
| "net/proxy_resolution/proxy_config_service.cc", |
| "net/proxy_resolution/proxy_config_service_android.cc", |
| "net/proxy_resolution/proxy_config_service_fixed.cc", |
| "net/proxy_resolution/proxy_config_with_annotation.cc", |
| "net/proxy_resolution/proxy_info.cc", |
| "net/proxy_resolution/proxy_list.cc", |
| "net/proxy_resolution/proxy_resolver_factory.cc", |
| "net/quic/bidirectional_stream_quic_impl.cc", |
| "net/quic/crypto/proof_source_chromium.cc", |
| "net/quic/crypto/proof_verifier_chromium.cc", |
| "net/quic/dedicated_web_transport_http3_client.cc", |
| "net/quic/network_connection.cc", |
| "net/quic/platform/impl/quic_chromium_clock.cc", |
| "net/quic/properties_based_quic_server_info.cc", |
| "net/quic/quic_address_mismatch.cc", |
| "net/quic/quic_chromium_alarm_factory.cc", |
| "net/quic/quic_chromium_client_session.cc", |
| "net/quic/quic_chromium_client_stream.cc", |
| "net/quic/quic_chromium_connection_helper.cc", |
| "net/quic/quic_chromium_packet_reader.cc", |
| "net/quic/quic_chromium_packet_writer.cc", |
| "net/quic/quic_clock_skew_detector.cc", |
| "net/quic/quic_connection_logger.cc", |
| "net/quic/quic_connectivity_monitor.cc", |
| "net/quic/quic_context.cc", |
| "net/quic/quic_crypto_client_config_handle.cc", |
| "net/quic/quic_crypto_client_stream_factory.cc", |
| "net/quic/quic_event_logger.cc", |
| "net/quic/quic_http3_logger.cc", |
| "net/quic/quic_http_stream.cc", |
| "net/quic/quic_http_utils.cc", |
| "net/quic/quic_proxy_client_socket.cc", |
| "net/quic/quic_server_info.cc", |
| "net/quic/quic_session_key.cc", |
| "net/quic/quic_stream_factory.cc", |
| "net/quic/set_quic_flag.cc", |
| "net/quic/web_transport_client.cc", |
| "net/quic/web_transport_error.cc", |
| "net/reporting/reporting_browsing_data_remover.cc", |
| "net/reporting/reporting_cache.cc", |
| "net/reporting/reporting_cache_impl.cc", |
| "net/reporting/reporting_cache_observer.cc", |
| "net/reporting/reporting_context.cc", |
| "net/reporting/reporting_delegate.cc", |
| "net/reporting/reporting_delivery_agent.cc", |
| "net/reporting/reporting_endpoint.cc", |
| "net/reporting/reporting_endpoint_manager.cc", |
| "net/reporting/reporting_garbage_collector.cc", |
| "net/reporting/reporting_header_parser.cc", |
| "net/reporting/reporting_network_change_observer.cc", |
| "net/reporting/reporting_policy.cc", |
| "net/reporting/reporting_report.cc", |
| "net/reporting/reporting_service.cc", |
| "net/reporting/reporting_uploader.cc", |
| "net/socket/client_socket_factory.cc", |
| "net/socket/client_socket_handle.cc", |
| "net/socket/client_socket_pool.cc", |
| "net/socket/client_socket_pool_manager.cc", |
| "net/socket/client_socket_pool_manager_impl.cc", |
| "net/socket/connect_job.cc", |
| "net/socket/connect_job_factory.cc", |
| "net/socket/network_binding_client_socket_factory.cc", |
| "net/socket/next_proto.cc", |
| "net/socket/server_socket.cc", |
| "net/socket/socket.cc", |
| "net/socket/socket_bio_adapter.cc", |
| "net/socket/socket_descriptor.cc", |
| "net/socket/socket_net_log_params.cc", |
| "net/socket/socket_options.cc", |
| "net/socket/socket_posix.cc", |
| "net/socket/socket_tag.cc", |
| "net/socket/socks5_client_socket.cc", |
| "net/socket/socks_client_socket.cc", |
| "net/socket/socks_connect_job.cc", |
| "net/socket/ssl_client_socket.cc", |
| "net/socket/ssl_client_socket_impl.cc", |
| "net/socket/ssl_connect_job.cc", |
| "net/socket/ssl_server_socket_impl.cc", |
| "net/socket/stream_socket.cc", |
| "net/socket/tcp_client_socket.cc", |
| "net/socket/tcp_server_socket.cc", |
| "net/socket/tcp_socket_posix.cc", |
| "net/socket/transport_client_socket.cc", |
| "net/socket/transport_client_socket_pool.cc", |
| "net/socket/transport_connect_job.cc", |
| "net/socket/transport_connect_sub_job.cc", |
| "net/socket/udp_client_socket.cc", |
| "net/socket/udp_net_log_parameters.cc", |
| "net/socket/udp_server_socket.cc", |
| "net/socket/udp_socket_global_limits.cc", |
| "net/socket/udp_socket_posix.cc", |
| "net/socket/unix_domain_client_socket_posix.cc", |
| "net/socket/unix_domain_server_socket_posix.cc", |
| "net/socket/websocket_endpoint_lock_manager.cc", |
| "net/socket/websocket_transport_client_socket_pool.cc", |
| "net/spdy/alps_decoder.cc", |
| "net/spdy/bidirectional_stream_spdy_impl.cc", |
| "net/spdy/buffered_spdy_framer.cc", |
| "net/spdy/header_coalescer.cc", |
| "net/spdy/http2_priority_dependencies.cc", |
| "net/spdy/http2_push_promise_index.cc", |
| "net/spdy/multiplexed_http_stream.cc", |
| "net/spdy/multiplexed_session.cc", |
| "net/spdy/spdy_buffer.cc", |
| "net/spdy/spdy_buffer_producer.cc", |
| "net/spdy/spdy_http_stream.cc", |
| "net/spdy/spdy_http_utils.cc", |
| "net/spdy/spdy_log_util.cc", |
| "net/spdy/spdy_proxy_client_socket.cc", |
| "net/spdy/spdy_read_queue.cc", |
| "net/spdy/spdy_session.cc", |
| "net/spdy/spdy_session_key.cc", |
| "net/spdy/spdy_session_pool.cc", |
| "net/spdy/spdy_stream.cc", |
| "net/spdy/spdy_write_queue.cc", |
| "net/ssl/cert_compression.cc", |
| "net/ssl/client_cert_identity.cc", |
| "net/ssl/openssl_ssl_util.cc", |
| "net/ssl/ssl_cert_request_info.cc", |
| "net/ssl/ssl_cipher_suite_names.cc", |
| "net/ssl/ssl_client_auth_cache.cc", |
| "net/ssl/ssl_client_session_cache.cc", |
| "net/ssl/ssl_config.cc", |
| "net/ssl/ssl_config_service.cc", |
| "net/ssl/ssl_config_service_defaults.cc", |
| "net/ssl/ssl_info.cc", |
| "net/ssl/ssl_key_logger.cc", |
| "net/ssl/ssl_key_logger_impl.cc", |
| "net/ssl/ssl_platform_key_android.cc", |
| "net/ssl/ssl_platform_key_util.cc", |
| "net/ssl/ssl_private_key.cc", |
| "net/ssl/ssl_server_config.cc", |
| "net/ssl/threaded_ssl_private_key.cc", |
| "net/url_request/redirect_info.cc", |
| "net/url_request/redirect_util.cc", |
| "net/url_request/report_sender.cc", |
| "net/url_request/static_http_user_agent_settings.cc", |
| "net/url_request/url_request.cc", |
| "net/url_request/url_request_context.cc", |
| "net/url_request/url_request_context_builder.cc", |
| "net/url_request/url_request_context_getter.cc", |
| "net/url_request/url_request_error_job.cc", |
| "net/url_request/url_request_filter.cc", |
| "net/url_request/url_request_http_job.cc", |
| "net/url_request/url_request_interceptor.cc", |
| "net/url_request/url_request_job.cc", |
| "net/url_request/url_request_job_factory.cc", |
| "net/url_request/url_request_netlog_params.cc", |
| "net/url_request/url_request_redirect_job.cc", |
| "net/url_request/url_request_throttler_entry.cc", |
| "net/url_request/url_request_throttler_manager.cc", |
| "net/url_request/view_cache_helper.cc", |
| "net/url_request/websocket_handshake_userdata_key.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_build_chromeos_buildflags__testing", |
| "cronet_aml_net_cronet_buildflags__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_build_chromeos_buildflags__testing", |
| "cronet_aml_net_cronet_buildflags__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DENABLE_BUILT_IN_DNS", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNET_IMPLEMENTATION", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/brotli/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| srcs: [ |
| "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc", |
| ], |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| srcs: [ |
| "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc", |
| ], |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| srcs: [ |
| "net/disk_cache/blockfile/mapped_file_posix.cc", |
| ], |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| srcs: [ |
| "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc", |
| ], |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net:net_deps |
| cc_library_static { |
| name: "cronet_aml_net_net_deps", |
| srcs: [ |
| ":cronet_aml_net_isolation_info_proto_gen", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| "libprotobuf-cpp-lite", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_net_preload_decoder", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_brotli_common", |
| "cronet_aml_third_party_brotli_dec", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| "cronet_aml_third_party_protobuf_protobuf_lite", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_debugging_buildflags", |
| "cronet_aml_base_logging_buildflags", |
| "cronet_aml_build_chromeos_buildflags", |
| "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains", |
| "cronet_aml_net_cronet_buildflags", |
| "cronet_aml_net_isolation_info_proto_gen_headers", |
| "cronet_aml_net_net_jni_headers", |
| "cronet_aml_url_buildflags", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_base_debugging_buildflags", |
| "cronet_aml_base_logging_buildflags", |
| "cronet_aml_build_chromeos_buildflags", |
| "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains", |
| "cronet_aml_net_cronet_buildflags", |
| "cronet_aml_net_isolation_info_proto_gen_headers", |
| "cronet_aml_net_net_jni_headers", |
| "cronet_aml_url_buildflags", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DENABLE_BUILT_IN_DNS", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNET_IMPLEMENTATION", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/brotli/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net:net_deps__testing |
| cc_library_static { |
| name: "cronet_aml_net_net_deps__testing", |
| srcs: [ |
| ":cronet_aml_net_isolation_info_proto__testing_gen", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libprotobuf-cpp-lite", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing", |
| "cronet_aml_net_cronet_buildflags__testing", |
| "cronet_aml_net_isolation_info_proto__testing_gen_headers", |
| "cronet_aml_net_net_jni_headers__testing", |
| "cronet_aml_url_buildflags__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing", |
| "cronet_aml_net_cronet_buildflags__testing", |
| "cronet_aml_net_isolation_info_proto__testing_gen_headers", |
| "cronet_aml_net_net_jni_headers__testing", |
| "cronet_aml_url_buildflags__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DENABLE_BUILT_IN_DNS", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNET_IMPLEMENTATION", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/brotli/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net:net_jni_headers |
| cc_genrule { |
| name: "cronet_aml_net_net_jni_headers", |
| srcs: [ |
| "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java", |
| "net/android/java/src/org/chromium/net/AndroidKeyStore.java", |
| "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java", |
| "net/android/java/src/org/chromium/net/AndroidTrafficStats.java", |
| "net/android/java/src/org/chromium/net/DnsStatus.java", |
| "net/android/java/src/org/chromium/net/GURLUtils.java", |
| "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java", |
| "net/android/java/src/org/chromium/net/HttpUtil.java", |
| "net/android/java/src/org/chromium/net/NetStringUtil.java", |
| "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java", |
| "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java", |
| "net/android/java/src/org/chromium/net/ProxyChangeListener.java", |
| "net/android/java/src/org/chromium/net/X509Util.java", |
| ], |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/net/net_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--use_proxy_hash " + |
| "--output_name " + |
| "AndroidCertVerifyResult_jni.h " + |
| "--output_name " + |
| "AndroidKeyStore_jni.h " + |
| "--output_name " + |
| "AndroidNetworkLibrary_jni.h " + |
| "--output_name " + |
| "AndroidTrafficStats_jni.h " + |
| "--output_name " + |
| "DnsStatus_jni.h " + |
| "--output_name " + |
| "GURLUtils_jni.h " + |
| "--output_name " + |
| "HttpNegotiateAuthenticator_jni.h " + |
| "--output_name " + |
| "HttpUtil_jni.h " + |
| "--output_name " + |
| "NetStringUtil_jni.h " + |
| "--output_name " + |
| "NetworkActiveNotifier_jni.h " + |
| "--output_name " + |
| "NetworkChangeNotifier_jni.h " + |
| "--output_name " + |
| "ProxyChangeListener_jni.h " + |
| "--output_name " + |
| "X509Util_jni.h " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/X509Util.java) " + |
| "--package_prefix " + |
| "android.net.connectivity", |
| out: [ |
| "net/net_jni_headers/AndroidCertVerifyResult_jni.h", |
| "net/net_jni_headers/AndroidKeyStore_jni.h", |
| "net/net_jni_headers/AndroidNetworkLibrary_jni.h", |
| "net/net_jni_headers/AndroidTrafficStats_jni.h", |
| "net/net_jni_headers/DnsStatus_jni.h", |
| "net/net_jni_headers/GURLUtils_jni.h", |
| "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h", |
| "net/net_jni_headers/HttpUtil_jni.h", |
| "net/net_jni_headers/NetStringUtil_jni.h", |
| "net/net_jni_headers/NetworkActiveNotifier_jni.h", |
| "net/net_jni_headers/NetworkChangeNotifier_jni.h", |
| "net/net_jni_headers/ProxyChangeListener_jni.h", |
| "net/net_jni_headers/X509Util_jni.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net:net_jni_headers__testing |
| cc_genrule { |
| name: "cronet_aml_net_net_jni_headers__testing", |
| srcs: [ |
| "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java", |
| "net/android/java/src/org/chromium/net/AndroidKeyStore.java", |
| "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java", |
| "net/android/java/src/org/chromium/net/AndroidTrafficStats.java", |
| "net/android/java/src/org/chromium/net/DnsStatus.java", |
| "net/android/java/src/org/chromium/net/GURLUtils.java", |
| "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java", |
| "net/android/java/src/org/chromium/net/HttpUtil.java", |
| "net/android/java/src/org/chromium/net/NetStringUtil.java", |
| "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java", |
| "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java", |
| "net/android/java/src/org/chromium/net/ProxyChangeListener.java", |
| "net/android/java/src/org/chromium/net/X509Util.java", |
| ], |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/net/net_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--use_proxy_hash " + |
| "--output_name " + |
| "AndroidCertVerifyResult_jni.h " + |
| "--output_name " + |
| "AndroidKeyStore_jni.h " + |
| "--output_name " + |
| "AndroidNetworkLibrary_jni.h " + |
| "--output_name " + |
| "AndroidTrafficStats_jni.h " + |
| "--output_name " + |
| "DnsStatus_jni.h " + |
| "--output_name " + |
| "GURLUtils_jni.h " + |
| "--output_name " + |
| "HttpNegotiateAuthenticator_jni.h " + |
| "--output_name " + |
| "HttpUtil_jni.h " + |
| "--output_name " + |
| "NetStringUtil_jni.h " + |
| "--output_name " + |
| "NetworkActiveNotifier_jni.h " + |
| "--output_name " + |
| "NetworkChangeNotifier_jni.h " + |
| "--output_name " + |
| "ProxyChangeListener_jni.h " + |
| "--output_name " + |
| "X509Util_jni.h " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " + |
| "--input_file " + |
| "$(location net/android/java/src/org/chromium/net/X509Util.java)", |
| out: [ |
| "net/net_jni_headers/AndroidCertVerifyResult_jni.h", |
| "net/net_jni_headers/AndroidKeyStore_jni.h", |
| "net/net_jni_headers/AndroidNetworkLibrary_jni.h", |
| "net/net_jni_headers/AndroidTrafficStats_jni.h", |
| "net/net_jni_headers/DnsStatus_jni.h", |
| "net/net_jni_headers/GURLUtils_jni.h", |
| "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h", |
| "net/net_jni_headers/HttpUtil_jni.h", |
| "net/net_jni_headers/NetStringUtil_jni.h", |
| "net/net_jni_headers/NetworkActiveNotifier_jni.h", |
| "net/net_jni_headers/NetworkChangeNotifier_jni.h", |
| "net/net_jni_headers/ProxyChangeListener_jni.h", |
| "net/net_jni_headers/X509Util_jni.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net:net_nqe_proto__testing |
| cc_genrule { |
| name: "cronet_aml_net_net_nqe_proto__testing_gen", |
| srcs: [ |
| "net/nqe/proto/network_id_proto.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/nqe/proto --cpp_out=lite=true:$(genDir)/external/cronet/net/nqe/proto/ $(in)", |
| out: [ |
| "external/cronet/net/nqe/proto/network_id_proto.pb.cc", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net:net_nqe_proto__testing |
| cc_genrule { |
| name: "cronet_aml_net_net_nqe_proto__testing_gen_headers", |
| srcs: [ |
| "net/nqe/proto/network_id_proto.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/nqe/proto --cpp_out=lite=true:$(genDir)/external/cronet/net/nqe/proto/ $(in)", |
| out: [ |
| "external/cronet/net/nqe/proto/network_id_proto.pb.h", |
| ], |
| export_include_dirs: [ |
| ".", |
| "net/nqe/proto", |
| "protos", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net:net_nqe_proto |
| cc_genrule { |
| name: "cronet_aml_net_net_nqe_proto_gen", |
| srcs: [ |
| "net/nqe/proto/network_id_proto.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/nqe/proto --cpp_out=lite=true:$(genDir)/external/cronet/net/nqe/proto/ $(in)", |
| out: [ |
| "external/cronet/net/nqe/proto/network_id_proto.pb.cc", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net:net_nqe_proto |
| cc_genrule { |
| name: "cronet_aml_net_net_nqe_proto_gen_headers", |
| srcs: [ |
| "net/nqe/proto/network_id_proto.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/nqe/proto --cpp_out=lite=true:$(genDir)/external/cronet/net/nqe/proto/ $(in)", |
| out: [ |
| "external/cronet/net/nqe/proto/network_id_proto.pb.h", |
| ], |
| export_include_dirs: [ |
| ".", |
| "net/nqe/proto", |
| "protos", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net:net_public_deps |
| cc_library_static { |
| name: "cronet_aml_net_net_public_deps", |
| srcs: [ |
| ":cronet_aml_net_net_nqe_proto_gen", |
| ":cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| "libprotobuf-cpp-lite", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_crypto_crypto", |
| "cronet_aml_net_third_party_quiche_quiche", |
| "cronet_aml_net_traffic_annotation_traffic_annotation", |
| "cronet_aml_net_uri_template", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| "cronet_aml_third_party_protobuf_protobuf_lite", |
| "cronet_aml_url_url", |
| ], |
| generated_headers: [ |
| "cronet_aml_net_buildflags", |
| "cronet_aml_net_net_nqe_proto_gen_headers", |
| "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_net_buildflags", |
| "cronet_aml_net_net_nqe_proto_gen_headers", |
| "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net:net_public_deps__testing |
| cc_library_static { |
| name: "cronet_aml_net_net_public_deps__testing", |
| srcs: [ |
| ":cronet_aml_net_net_nqe_proto__testing_gen", |
| ":cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libprotobuf-cpp-lite", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_net_buildflags__testing", |
| "cronet_aml_net_net_nqe_proto__testing_gen_headers", |
| "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen_headers", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_net_buildflags__testing", |
| "cronet_aml_net_net_nqe_proto__testing_gen_headers", |
| "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen_headers", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net:net_test_jni_headers__testing |
| cc_genrule { |
| name: "cronet_aml_net_net_test_jni_headers__testing", |
| srcs: [ |
| "net/android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java", |
| "net/android/javatests/src/org/chromium/net/AndroidProxyConfigServiceTestUtil.java", |
| "net/test/android/javatests/src/org/chromium/net/AndroidNetworkLibraryTestUtil.java", |
| "net/test/android/javatests/src/org/chromium/net/test/DummySpnegoAuthenticator.java", |
| "net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServerImpl.java", |
| ], |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/net/net_test_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--use_proxy_hash " + |
| "--output_name " + |
| "AndroidKeyStoreTestUtil_jni.h " + |
| "--output_name " + |
| "AndroidProxyConfigServiceTestUtil_jni.h " + |
| "--output_name " + |
| "AndroidNetworkLibraryTestUtil_jni.h " + |
| "--output_name " + |
| "DummySpnegoAuthenticator_jni.h " + |
| "--output_name " + |
| "EmbeddedTestServerImpl_jni.h " + |
| "--input_file " + |
| "$(location net/android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java) " + |
| "--input_file " + |
| "$(location net/android/javatests/src/org/chromium/net/AndroidProxyConfigServiceTestUtil.java) " + |
| "--input_file " + |
| "$(location net/test/android/javatests/src/org/chromium/net/AndroidNetworkLibraryTestUtil.java) " + |
| "--input_file " + |
| "$(location net/test/android/javatests/src/org/chromium/net/test/DummySpnegoAuthenticator.java) " + |
| "--input_file " + |
| "$(location net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServerImpl.java)", |
| out: [ |
| "net/net_test_jni_headers/AndroidKeyStoreTestUtil_jni.h", |
| "net/net_test_jni_headers/AndroidNetworkLibraryTestUtil_jni.h", |
| "net/net_test_jni_headers/AndroidProxyConfigServiceTestUtil_jni.h", |
| "net/net_test_jni_headers/DummySpnegoAuthenticator_jni.h", |
| "net/net_test_jni_headers/EmbeddedTestServerImpl_jni.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net:net_unittests__library__testing |
| cc_library_shared { |
| name: "cronet_aml_net_net_unittests__library__testing", |
| srcs: [ |
| "net/android/dummy_spnego_authenticator.cc", |
| "net/android/http_auth_negotiate_android_unittest.cc", |
| "net/android/network_change_notifier_android_unittest.cc", |
| "net/android/network_library_unittest.cc", |
| "net/android/traffic_stats_unittest.cc", |
| "net/base/address_family_unittest.cc", |
| "net/base/address_list_unittest.cc", |
| "net/base/address_tracker_linux_unittest.cc", |
| "net/base/backoff_entry_serializer_unittest.cc", |
| "net/base/backoff_entry_unittest.cc", |
| "net/base/chunked_upload_data_stream_unittest.cc", |
| "net/base/data_url_unittest.cc", |
| "net/base/datagram_buffer_unittest.cc", |
| "net/base/elements_upload_data_stream_unittest.cc", |
| "net/base/expiring_cache_unittest.cc", |
| "net/base/file_stream_unittest.cc", |
| "net/base/host_mapping_rules_unittest.cc", |
| "net/base/host_port_pair_unittest.cc", |
| "net/base/interval_test.cc", |
| "net/base/ip_address_unittest.cc", |
| "net/base/ip_endpoint_unittest.cc", |
| "net/base/isolation_info_unittest.cc", |
| "net/base/lookup_string_in_fixed_set_unittest.cc", |
| "net/base/mime_sniffer_unittest.cc", |
| "net/base/mime_util_unittest.cc", |
| "net/base/net_errors_unittest.cc", |
| "net/base/net_string_util_unittest.cc", |
| "net/base/network_activity_monitor_unittest.cc", |
| "net/base/network_anonymization_key_unittest.cc", |
| "net/base/network_change_notifier_passive_unittest.cc", |
| "net/base/network_change_notifier_unittest.cc", |
| "net/base/network_delegate_unittest.cc", |
| "net/base/network_interfaces_getifaddrs_unittest.cc", |
| "net/base/network_interfaces_linux_unittest.cc", |
| "net/base/network_interfaces_unittest.cc", |
| "net/base/network_isolation_key_unittest.cc", |
| "net/base/parse_number_unittest.cc", |
| "net/base/port_util_unittest.cc", |
| "net/base/prioritized_dispatcher_unittest.cc", |
| "net/base/prioritized_task_runner_unittest.cc", |
| "net/base/priority_queue_unittest.cc", |
| "net/base/proxy_server_unittest.cc", |
| "net/base/proxy_string_util_unittest.cc", |
| "net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc", |
| "net/base/scheme_host_port_matcher_rule_unittest.cc", |
| "net/base/scheme_host_port_matcher_unittest.cc", |
| "net/base/schemeful_site_unittest.cc", |
| "net/base/sockaddr_util_posix_unittest.cc", |
| "net/base/test_completion_callback_unittest.cc", |
| "net/base/test_proxy_delegate.cc", |
| "net/base/upload_bytes_element_reader_unittest.cc", |
| "net/base/upload_file_element_reader_unittest.cc", |
| "net/base/url_search_params_unittest.cc", |
| "net/cert/caching_cert_verifier_unittest.cc", |
| "net/cert/cert_and_ct_verifier_unittest.cc", |
| "net/cert/cert_verifier_unittest.cc", |
| "net/cert/cert_verify_proc_android_unittest.cc", |
| "net/cert/cert_verify_proc_builtin_unittest.cc", |
| "net/cert/cert_verify_proc_unittest.cc", |
| "net/cert/coalescing_cert_verifier_unittest.cc", |
| "net/cert/crl_set_unittest.cc", |
| "net/cert/ct_log_response_parser_unittest.cc", |
| "net/cert/ct_log_verifier_unittest.cc", |
| "net/cert/ct_objects_extractor_unittest.cc", |
| "net/cert/ct_serialization_unittest.cc", |
| "net/cert/ev_root_ca_metadata_unittest.cc", |
| "net/cert/internal/cert_issuer_source_aia_unittest.cc", |
| "net/cert/internal/cert_issuer_source_sync_unittest.cc", |
| "net/cert/internal/crl_unittest.cc", |
| "net/cert/internal/general_names_unittest.cc", |
| "net/cert/internal/revocation_checker_unittest.cc", |
| "net/cert/internal/system_trust_store_unittest.cc", |
| "net/cert/known_roots_unittest.cc", |
| "net/cert/merkle_audit_proof_unittest.cc", |
| "net/cert/merkle_tree_leaf_unittest.cc", |
| "net/cert/multi_log_ct_verifier_unittest.cc", |
| "net/cert/multi_threaded_cert_verifier_unittest.cc", |
| "net/cert/pem_unittest.cc", |
| "net/cert/pki/cert_issuer_source_static_unittest.cc", |
| "net/cert/pki/certificate_policies_unittest.cc", |
| "net/cert/pki/extended_key_usage_unittest.cc", |
| "net/cert/pki/name_constraints_unittest.cc", |
| "net/cert/pki/nist_pkits_unittest.cc", |
| "net/cert/pki/ocsp_unittest.cc", |
| "net/cert/pki/parse_certificate_unittest.cc", |
| "net/cert/pki/parse_name_unittest.cc", |
| "net/cert/pki/parsed_certificate_unittest.cc", |
| "net/cert/pki/path_builder_pkits_unittest.cc", |
| "net/cert/pki/path_builder_unittest.cc", |
| "net/cert/pki/path_builder_verify_certificate_chain_unittest.cc", |
| "net/cert/pki/revocation_util_unittest.cc", |
| "net/cert/pki/signature_algorithm_unittest.cc", |
| "net/cert/pki/simple_path_builder_delegate_unittest.cc", |
| "net/cert/pki/string_util_unittest.cc", |
| "net/cert/pki/test_helpers.cc", |
| "net/cert/pki/trust_store_collection_unittest.cc", |
| "net/cert/pki/trust_store_unittest.cc", |
| "net/cert/pki/verify_certificate_chain_pkits_unittest.cc", |
| "net/cert/pki/verify_certificate_chain_unittest.cc", |
| "net/cert/pki/verify_name_match_unittest.cc", |
| "net/cert/pki/verify_signed_data_unittest.cc", |
| "net/cert/signed_certificate_timestamp_unittest.cc", |
| "net/cert/symantec_certs_unittest.cc", |
| "net/cert/test_root_certs_unittest.cc", |
| "net/cert/x509_cert_types_unittest.cc", |
| "net/cert/x509_util_unittest.cc", |
| "net/cert_net/cert_net_fetcher_url_request_unittest.cc", |
| "net/cookies/canonical_cookie_unittest.cc", |
| "net/cookies/cookie_constants_unittest.cc", |
| "net/cookies/cookie_deletion_info_unittest.cc", |
| "net/cookies/cookie_inclusion_status_unittest.cc", |
| "net/cookies/cookie_monster_unittest.cc", |
| "net/cookies/cookie_options_unittest.cc", |
| "net/cookies/cookie_partition_key_collection_unittest.cc", |
| "net/cookies/cookie_partition_key_unittest.cc", |
| "net/cookies/cookie_util_unittest.cc", |
| "net/cookies/parsed_cookie_unittest.cc", |
| "net/cookies/site_for_cookies_unittest.cc", |
| "net/cookies/static_cookie_policy_unittest.cc", |
| "net/der/encode_values_unittest.cc", |
| "net/der/input_unittest.cc", |
| "net/der/parse_values_unittest.cc", |
| "net/der/parser_unittest.cc", |
| "net/disk_cache/backend_cleanup_tracker_unittest.cc", |
| "net/disk_cache/backend_unittest.cc", |
| "net/disk_cache/blockfile/addr_unittest.cc", |
| "net/disk_cache/blockfile/bitmap_unittest.cc", |
| "net/disk_cache/blockfile/block_files_unittest.cc", |
| "net/disk_cache/blockfile/mapped_file_unittest.cc", |
| "net/disk_cache/blockfile/stats_unittest.cc", |
| "net/disk_cache/blockfile/storage_block_unittest.cc", |
| "net/disk_cache/cache_util_unittest.cc", |
| "net/disk_cache/entry_unittest.cc", |
| "net/disk_cache/simple/simple_file_enumerator_unittest.cc", |
| "net/disk_cache/simple/simple_file_tracker_unittest.cc", |
| "net/disk_cache/simple/simple_index_file_unittest.cc", |
| "net/disk_cache/simple/simple_index_unittest.cc", |
| "net/disk_cache/simple/simple_test_util.cc", |
| "net/disk_cache/simple/simple_util_unittest.cc", |
| "net/disk_cache/simple/simple_version_upgrade_unittest.cc", |
| "net/filter/brotli_source_stream_unittest.cc", |
| "net/filter/filter_source_stream_unittest.cc", |
| "net/filter/gzip_source_stream_unittest.cc", |
| "net/first_party_sets/addition_overlaps_union_find_unittest.cc", |
| "net/first_party_sets/first_party_set_entry_override_unittest.cc", |
| "net/first_party_sets/first_party_sets_cache_filter_unittest.cc", |
| "net/first_party_sets/first_party_sets_context_config_unittest.cc", |
| "net/first_party_sets/global_first_party_sets_unittest.cc", |
| "net/http/alternative_service_unittest.cc", |
| "net/http/bidirectional_stream_unittest.cc", |
| "net/http/broken_alternative_services_unittest.cc", |
| "net/http/http_auth_cache_unittest.cc", |
| "net/http/http_auth_challenge_tokenizer_unittest.cc", |
| "net/http/http_auth_controller_unittest.cc", |
| "net/http/http_auth_filter_unittest.cc", |
| "net/http/http_auth_handler_basic_unittest.cc", |
| "net/http/http_auth_handler_digest_unittest.cc", |
| "net/http/http_auth_handler_factory_unittest.cc", |
| "net/http/http_auth_handler_mock.cc", |
| "net/http/http_auth_handler_negotiate_unittest.cc", |
| "net/http/http_auth_handler_ntlm_portable_unittest.cc", |
| "net/http/http_auth_handler_unittest.cc", |
| "net/http/http_auth_multi_round_parse_unittest.cc", |
| "net/http/http_auth_preferences_unittest.cc", |
| "net/http/http_auth_unittest.cc", |
| "net/http/http_basic_state_unittest.cc", |
| "net/http/http_byte_range_unittest.cc", |
| "net/http/http_cache_lookup_manager_unittest.cc", |
| "net/http/http_cache_unittest.cc", |
| "net/http/http_cache_writers_unittest.cc", |
| "net/http/http_chunked_decoder_unittest.cc", |
| "net/http/http_content_disposition_unittest.cc", |
| "net/http/http_log_util_unittest.cc", |
| "net/http/http_network_layer_unittest.cc", |
| "net/http/http_network_transaction_unittest.cc", |
| "net/http/http_no_vary_search_data_unittest.cc", |
| "net/http/http_proxy_client_socket_unittest.cc", |
| "net/http/http_proxy_connect_job_unittest.cc", |
| "net/http/http_request_headers_unittest.cc", |
| "net/http/http_request_info_unittest.cc", |
| "net/http/http_response_body_drainer_unittest.cc", |
| "net/http/http_response_headers_unittest.cc", |
| "net/http/http_response_info_unittest.cc", |
| "net/http/http_security_headers_unittest.cc", |
| "net/http/http_server_properties_manager_unittest.cc", |
| "net/http/http_server_properties_unittest.cc", |
| "net/http/http_status_code_unittest.cc", |
| "net/http/http_stream_factory_job_controller_unittest.cc", |
| "net/http/http_stream_factory_unittest.cc", |
| "net/http/http_stream_parser_unittest.cc", |
| "net/http/http_stream_request_unittest.cc", |
| "net/http/http_util_unittest.cc", |
| "net/http/http_vary_data_unittest.cc", |
| "net/http/mock_allow_http_auth_preferences.cc", |
| "net/http/test_upload_data_stream_not_allow_http1.cc", |
| "net/http/transport_security_persister_unittest.cc", |
| "net/http/transport_security_state_unittest.cc", |
| "net/http/url_security_manager_unittest.cc", |
| "net/http/webfonts_histogram_unittest.cc", |
| "net/log/file_net_log_observer_unittest.cc", |
| "net/log/net_log_capture_mode_unittest.cc", |
| "net/log/net_log_unittest.cc", |
| "net/log/net_log_util_unittest.cc", |
| "net/log/net_log_values_unittest.cc", |
| "net/network_error_logging/mock_persistent_nel_store_unittest.cc", |
| "net/network_error_logging/network_error_logging_service_unittest.cc", |
| "net/nqe/effective_connection_type_unittest.cc", |
| "net/nqe/event_creator_unittest.cc", |
| "net/nqe/network_id_unittest.cc", |
| "net/nqe/network_qualities_prefs_manager_unittest.cc", |
| "net/nqe/network_quality_estimator_params_unittest.cc", |
| "net/nqe/network_quality_estimator_unittest.cc", |
| "net/nqe/network_quality_estimator_util_unittest.cc", |
| "net/nqe/network_quality_store_unittest.cc", |
| "net/nqe/observation_buffer_unittest.cc", |
| "net/nqe/socket_watcher_unittest.cc", |
| "net/nqe/throughput_analyzer_unittest.cc", |
| "net/ntlm/ntlm_buffer_reader_unittest.cc", |
| "net/ntlm/ntlm_buffer_writer_unittest.cc", |
| "net/ntlm/ntlm_client_unittest.cc", |
| "net/ntlm/ntlm_unittest.cc", |
| "net/proxy_resolution/configured_proxy_resolution_service_unittest.cc", |
| "net/proxy_resolution/multi_threaded_proxy_resolver_unittest.cc", |
| "net/proxy_resolution/network_delegate_error_observer_unittest.cc", |
| "net/proxy_resolution/pac_file_decider_unittest.cc", |
| "net/proxy_resolution/pac_file_fetcher_impl_unittest.cc", |
| "net/proxy_resolution/proxy_bypass_rules_unittest.cc", |
| "net/proxy_resolution/proxy_config_service_android_unittest.cc", |
| "net/proxy_resolution/proxy_config_unittest.cc", |
| "net/proxy_resolution/proxy_info_unittest.cc", |
| "net/proxy_resolution/proxy_list_unittest.cc", |
| "net/quic/bidirectional_stream_quic_impl_unittest.cc", |
| "net/quic/crypto/proof_test_chromium.cc", |
| "net/quic/crypto/proof_verifier_chromium_test.cc", |
| "net/quic/dedicated_web_transport_http3_client_test.cc", |
| "net/quic/mock_quic_data.cc", |
| "net/quic/network_connection_unittest.cc", |
| "net/quic/platform/impl/quic_chromium_clock_test.cc", |
| "net/quic/properties_based_quic_server_info_test.cc", |
| "net/quic/quic_address_mismatch_test.cc", |
| "net/quic/quic_chromium_alarm_factory_test.cc", |
| "net/quic/quic_chromium_client_session_peer.cc", |
| "net/quic/quic_chromium_client_session_test.cc", |
| "net/quic/quic_chromium_client_stream_test.cc", |
| "net/quic/quic_chromium_connection_helper_test.cc", |
| "net/quic/quic_clock_skew_detector_test.cc", |
| "net/quic/quic_end_to_end_unittest.cc", |
| "net/quic/quic_http_stream_test.cc", |
| "net/quic/quic_http_utils_test.cc", |
| "net/quic/quic_network_transaction_unittest.cc", |
| "net/quic/quic_proxy_client_socket_unittest.cc", |
| "net/quic/quic_stream_factory_peer.cc", |
| "net/quic/quic_stream_factory_test.cc", |
| "net/quic/quic_test_packet_maker.cc", |
| "net/quic/quic_test_packet_printer.cc", |
| "net/quic/set_quic_flag_test.cc", |
| "net/quic/test_quic_crypto_client_config_handle.cc", |
| "net/reporting/mock_persistent_reporting_store_unittest.cc", |
| "net/reporting/reporting_browsing_data_remover_unittest.cc", |
| "net/reporting/reporting_cache_unittest.cc", |
| "net/reporting/reporting_delivery_agent_unittest.cc", |
| "net/reporting/reporting_endpoint_manager_unittest.cc", |
| "net/reporting/reporting_garbage_collector_unittest.cc", |
| "net/reporting/reporting_header_parser_unittest.cc", |
| "net/reporting/reporting_network_change_observer_unittest.cc", |
| "net/reporting/reporting_service_unittest.cc", |
| "net/reporting/reporting_uploader_unittest.cc", |
| "net/socket/client_socket_pool_base_unittest.cc", |
| "net/socket/client_socket_pool_unittest.cc", |
| "net/socket/connect_job_factory_unittest.cc", |
| "net/socket/connect_job_test_util.cc", |
| "net/socket/connect_job_unittest.cc", |
| "net/socket/mock_client_socket_pool_manager.cc", |
| "net/socket/sequenced_socket_data_unittest.cc", |
| "net/socket/socket_bio_adapter_unittest.cc", |
| "net/socket/socket_tag_unittest.cc", |
| "net/socket/socks5_client_socket_unittest.cc", |
| "net/socket/socks_client_socket_unittest.cc", |
| "net/socket/socks_connect_job_unittest.cc", |
| "net/socket/ssl_client_socket_unittest.cc", |
| "net/socket/ssl_connect_job_unittest.cc", |
| "net/socket/ssl_server_socket_unittest.cc", |
| "net/socket/tcp_client_socket_unittest.cc", |
| "net/socket/tcp_server_socket_unittest.cc", |
| "net/socket/tcp_socket_unittest.cc", |
| "net/socket/transport_client_socket_pool_test_util.cc", |
| "net/socket/transport_client_socket_pool_unittest.cc", |
| "net/socket/transport_client_socket_unittest.cc", |
| "net/socket/transport_connect_job_unittest.cc", |
| "net/socket/udp_socket_unittest.cc", |
| "net/socket/unix_domain_client_socket_posix_unittest.cc", |
| "net/socket/unix_domain_server_socket_posix_unittest.cc", |
| "net/socket/websocket_endpoint_lock_manager_unittest.cc", |
| "net/socket/websocket_transport_client_socket_pool_unittest.cc", |
| "net/spdy/alps_decoder_test.cc", |
| "net/spdy/bidirectional_stream_spdy_impl_unittest.cc", |
| "net/spdy/buffered_spdy_framer_unittest.cc", |
| "net/spdy/fuzzing/hpack_fuzz_util_test.cc", |
| "net/spdy/header_coalescer_test.cc", |
| "net/spdy/http2_priority_dependencies_unittest.cc", |
| "net/spdy/http2_push_promise_index_test.cc", |
| "net/spdy/spdy_buffer_unittest.cc", |
| "net/spdy/spdy_http_stream_unittest.cc", |
| "net/spdy/spdy_http_utils_unittest.cc", |
| "net/spdy/spdy_log_util_unittest.cc", |
| "net/spdy/spdy_network_transaction_unittest.cc", |
| "net/spdy/spdy_proxy_client_socket_unittest.cc", |
| "net/spdy/spdy_read_queue_unittest.cc", |
| "net/spdy/spdy_session_pool_unittest.cc", |
| "net/spdy/spdy_session_test_util.cc", |
| "net/spdy/spdy_session_unittest.cc", |
| "net/spdy/spdy_stream_test_util.cc", |
| "net/spdy/spdy_stream_unittest.cc", |
| "net/spdy/spdy_write_queue_unittest.cc", |
| "net/ssl/client_cert_identity_unittest.cc", |
| "net/ssl/ssl_cipher_suite_names_unittest.cc", |
| "net/ssl/ssl_client_auth_cache_unittest.cc", |
| "net/ssl/ssl_client_session_cache_unittest.cc", |
| "net/ssl/ssl_config_service_unittest.cc", |
| "net/ssl/ssl_config_unittest.cc", |
| "net/ssl/ssl_connection_status_flags_unittest.cc", |
| "net/ssl/ssl_platform_key_android_unittest.cc", |
| "net/ssl/ssl_platform_key_util_unittest.cc", |
| "net/test/embedded_test_server/embedded_test_server_unittest.cc", |
| "net/test/embedded_test_server/http_request_unittest.cc", |
| "net/test/embedded_test_server/http_response_unittest.cc", |
| "net/test/run_all_unittests.cc", |
| "net/third_party/uri_template/uri_template_test.cc", |
| "net/tools/content_decoder_tool/content_decoder_tool.cc", |
| "net/tools/content_decoder_tool/content_decoder_tool_unittest.cc", |
| "net/tools/quic/quic_simple_client_test.cc", |
| "net/tools/tld_cleanup/tld_cleanup_util_unittest.cc", |
| "net/url_request/http_with_dns_over_https_unittest.cc", |
| "net/url_request/redirect_info_unittest.cc", |
| "net/url_request/redirect_util_unittest.cc", |
| "net/url_request/report_sender_unittest.cc", |
| "net/url_request/url_request_context_builder_unittest.cc", |
| "net/url_request/url_request_filter_unittest.cc", |
| "net/url_request/url_request_http_job_unittest.cc", |
| "net/url_request/url_request_job_factory_unittest.cc", |
| "net/url_request/url_request_quic_unittest.cc", |
| "net/url_request/url_request_throttler_simulation_unittest.cc", |
| "net/url_request/url_request_throttler_test_support.cc", |
| "net/url_request/url_request_throttler_unittest.cc", |
| "net/url_request/url_request_unittest.cc", |
| "net/url_request/view_cache_helper_unittest.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_i18n__testing", |
| "cronet_aml_base_test_test_config__testing", |
| "cronet_aml_base_test_test_support__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_crypto_test_support__testing", |
| "cronet_aml_net_gtest_util__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_test_support__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_third_party_quiche_quiche_test_support__testing", |
| "cronet_aml_net_third_party_quiche_quiche_tool_support__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_ced_ced__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| "cronet_aml_third_party_libxml_libxml_utils__testing", |
| "cronet_aml_third_party_libxml_xml_reader__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| whole_static_libs: [ |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_buildtools_third_party_libc___libc____testing", |
| "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_dns_public_tests__testing", |
| "cronet_aml_net_dns_test_support__testing", |
| "cronet_aml_net_dns_tests__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_quic_test_flags_utils__testing", |
| "cronet_aml_net_quic_test_tools__testing", |
| "cronet_aml_net_simple_quic_tools__testing", |
| "cronet_aml_net_spdy_test_tools__testing", |
| "cronet_aml_net_third_party_quiche_quiche_tests__testing", |
| "cronet_aml_net_tools_huffman_trie_huffman_trie_generator_sources__testing", |
| "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_testing_android_native_test_native_test_native_code__testing", |
| "cronet_aml_testing_android_native_test_native_test_support__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| "cronet_aml_net_base_registry_controlled_domains_lookup_strings_test_sets__testing", |
| "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing", |
| "cronet_aml_net_cronet_buildflags__testing", |
| "cronet_aml_net_http_transport_security_state_unittest_data__testing", |
| "cronet_aml_net_http_transport_security_state_unittest_data_default__testing", |
| "cronet_aml_net_net_test_jni_headers__testing", |
| "cronet_aml_url_buildflags__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUNIT_TEST", |
| "-DUSE_CHROMIUM_ICU=1", |
| "-DUSE_REMOTE_TEST_SERVER", |
| "-DU_ENABLE_DYLOAD=0", |
| "-DU_ENABLE_RESOURCE_TRACING=0", |
| "-DU_ENABLE_TRACING=1", |
| "-DU_STATIC_IMPLEMENTATION", |
| "-DU_USING_ICU_NAMESPACE=0", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/ced/src/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| stem: "libnet_unittests__library", |
| visibility: [ |
| "//packages/modules/Connectivity:__subpackages__", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net:preload_decoder |
| cc_library_static { |
| name: "cronet_aml_net_preload_decoder", |
| srcs: [ |
| "net/extras/preload_data/decoder.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net:preload_decoder__testing |
| cc_library_static { |
| name: "cronet_aml_net_preload_decoder__testing", |
| srcs: [ |
| "net/extras/preload_data/decoder.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net:quic_test_flags_utils__testing |
| cc_library_static { |
| name: "cronet_aml_net_quic_test_flags_utils__testing", |
| srcs: [ |
| "net/quic/platform/impl/quic_test_flags_utils.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net:quic_test_tools__testing |
| cc_library_static { |
| name: "cronet_aml_net_quic_test_tools__testing", |
| srcs: [ |
| ":cronet_aml_third_party_quic_trace_quic_trace_proto__testing_gen", |
| "net/quic/crypto_test_utils_chromium.cc", |
| "net/quic/mock_crypto_client_stream.cc", |
| "net/quic/mock_crypto_client_stream_factory.cc", |
| "net/quic/mock_decrypter.cc", |
| "net/quic/mock_encrypter.cc", |
| "net/quic/mock_quic_context.cc", |
| "net/quic/test_task_runner.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libprotobuf-cpp-lite", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_i18n__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_test_test_config__testing", |
| "cronet_aml_base_test_test_support__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_crypto_test_support__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_dns_test_support__testing", |
| "cronet_aml_net_gtest_util__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_quic_test_flags_utils__testing", |
| "cronet_aml_net_simple_quic_tools__testing", |
| "cronet_aml_net_test_support__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_third_party_quiche_quiche_test_support__testing", |
| "cronet_aml_net_third_party_quiche_quiche_tool_support__testing", |
| "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_ced_ced__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| "cronet_aml_third_party_libxml_libxml_utils__testing", |
| "cronet_aml_third_party_libxml_xml_reader__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_third_party_quic_trace_quic_trace_proto__testing_gen_headers", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_third_party_quic_trace_quic_trace_proto__testing_gen_headers", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUNIT_TEST", |
| "-DUSE_CHROMIUM_ICU=1", |
| "-DUSE_REMOTE_TEST_SERVER", |
| "-DU_ENABLE_DYLOAD=0", |
| "-DU_ENABLE_RESOURCE_TRACING=0", |
| "-DU_ENABLE_TRACING=1", |
| "-DU_STATIC_IMPLEMENTATION", |
| "-DU_USING_ICU_NAMESPACE=0", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/ced/src/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net:simple_quic_tools__testing |
| cc_library_static { |
| name: "cronet_aml_net_simple_quic_tools__testing", |
| srcs: [ |
| "net/tools/quic/quic_client_message_loop_network_helper.cc", |
| "net/tools/quic/quic_simple_client.cc", |
| "net/tools/quic/quic_simple_server.cc", |
| "net/tools/quic/quic_simple_server_packet_writer.cc", |
| "net/tools/quic/quic_simple_server_session_helper.cc", |
| "net/tools/quic/quic_simple_server_socket.cc", |
| "net/tools/quic/synchronous_host_resolver.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_third_party_quiche_quiche_tool_support__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net:spdy_test_tools__testing |
| cc_library_static { |
| name: "cronet_aml_net_spdy_test_tools__testing", |
| srcs: [ |
| "net/spdy/fuzzing/hpack_fuzz_util.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUNIT_TEST", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net:test_support__testing |
| cc_library_static { |
| name: "cronet_aml_net_test_support__testing", |
| srcs: [ |
| "net/base/address_tracker_linux_test_util.cc", |
| "net/base/connection_endpoint_metadata_test_util.cc", |
| "net/base/load_timing_info_test_util.cc", |
| "net/base/mock_file_stream.cc", |
| "net/base/mock_network_change_notifier.cc", |
| "net/base/test_completion_callback.cc", |
| "net/base/test_data_stream.cc", |
| "net/cert/mock_cert_net_fetcher.cc", |
| "net/cert/mock_cert_verifier.cc", |
| "net/cert/mock_client_cert_verifier.cc", |
| "net/cert/pki/mock_signature_verify_cache.cc", |
| "net/cookies/cookie_change_dispatcher_test_helpers.cc", |
| "net/cookies/cookie_monster_store_test.cc", |
| "net/cookies/cookie_store_test_callbacks.cc", |
| "net/cookies/cookie_store_test_helpers.cc", |
| "net/cookies/test_cookie_access_delegate.cc", |
| "net/disk_cache/disk_cache_test_base.cc", |
| "net/disk_cache/disk_cache_test_util.cc", |
| "net/disk_cache/mock/mock_backend_impl.cc", |
| "net/disk_cache/mock/mock_entry_impl.cc", |
| "net/filter/filter_source_stream_test_util.cc", |
| "net/filter/mock_source_stream.cc", |
| "net/http/http_stream_factory_test_util.cc", |
| "net/http/http_transaction_test_util.cc", |
| "net/http/mock_http_cache.cc", |
| "net/http/transport_security_state_test_util.cc", |
| "net/log/test_net_log.cc", |
| "net/log/test_net_log_util.cc", |
| "net/network_error_logging/mock_persistent_nel_store.cc", |
| "net/network_error_logging/network_error_logging_test_util.cc", |
| "net/nqe/network_quality_estimator_test_util.cc", |
| "net/proxy_resolution/mock_pac_file_fetcher.cc", |
| "net/proxy_resolution/mock_proxy_resolver.cc", |
| "net/proxy_resolution/proxy_config_service_common_unittest.cc", |
| "net/reporting/mock_persistent_reporting_store.cc", |
| "net/reporting/reporting_test_util.cc", |
| "net/socket/read_buffering_stream_socket.cc", |
| "net/socket/socket_test_util.cc", |
| "net/socket/transport_client_socket_test_util.cc", |
| "net/spdy/spdy_test_util_common.cc", |
| "net/ssl/client_cert_identity_test_util.cc", |
| "net/ssl/ssl_private_key_test_util.cc", |
| "net/ssl/test_ssl_config_service.cc", |
| "net/ssl/test_ssl_private_key.cc", |
| "net/test/cert_builder.cc", |
| "net/test/cert_test_util.cc", |
| "net/test/ct_test_util.cc", |
| "net/test/embedded_test_server/connection_tracker.cc", |
| "net/test/embedded_test_server/controllable_http_response.cc", |
| "net/test/embedded_test_server/default_handlers.cc", |
| "net/test/embedded_test_server/embedded_test_server.cc", |
| "net/test/embedded_test_server/embedded_test_server_connection_listener.cc", |
| "net/test/embedded_test_server/http1_connection.cc", |
| "net/test/embedded_test_server/http2_connection.cc", |
| "net/test/embedded_test_server/http_connection.cc", |
| "net/test/embedded_test_server/http_request.cc", |
| "net/test/embedded_test_server/http_response.cc", |
| "net/test/embedded_test_server/request_handler_util.cc", |
| "net/test/embedded_test_server/simple_connection_listener.cc", |
| "net/test/key_util.cc", |
| "net/test/net_test_suite.cc", |
| "net/test/quic_simple_test_server.cc", |
| "net/test/revocation_builder.cc", |
| "net/test/spawned_test_server/base_test_server.cc", |
| "net/test/spawned_test_server/remote_test_server.cc", |
| "net/test/spawned_test_server/remote_test_server_spawner_request.cc", |
| "net/test/ssl_test_util.cc", |
| "net/test/test_data_directory.cc", |
| "net/test/test_doh_server.cc", |
| "net/test/url_request/ssl_certificate_error_job.cc", |
| "net/test/url_request/url_request_failed_job.cc", |
| "net/test/url_request/url_request_hanging_read_job.cc", |
| "net/test/url_request/url_request_mock_data_job.cc", |
| "net/url_request/url_request_test_job.cc", |
| "net/url_request/url_request_test_util.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_i18n__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_test_test_config__testing", |
| "cronet_aml_base_test_test_support__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_dns_test_support__testing", |
| "cronet_aml_net_gtest_util__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_quic_test_flags_utils__testing", |
| "cronet_aml_net_simple_quic_tools__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_third_party_quiche_quiche_tool_support__testing", |
| "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_ced_ced__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| "cronet_aml_third_party_libxml_libxml_utils__testing", |
| "cronet_aml_third_party_libxml_xml_reader__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_net_cronet_buildflags__testing", |
| "cronet_aml_net_http_transport_security_state_unittest_data_default__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_net_cronet_buildflags__testing", |
| "cronet_aml_net_http_transport_security_state_unittest_data_default__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUNIT_TEST", |
| "-DUSE_CHROMIUM_ICU=1", |
| "-DUSE_REMOTE_TEST_SERVER", |
| "-DU_ENABLE_DYLOAD=0", |
| "-DU_ENABLE_RESOURCE_TRACING=0", |
| "-DU_ENABLE_TRACING=1", |
| "-DU_STATIC_IMPLEMENTATION", |
| "-DU_USING_ICU_NAMESPACE=0", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/ced/src/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/third_party/quiche:net_quic_proto__testing |
| cc_genrule { |
| name: "cronet_aml_net_third_party_quiche_net_quic_proto__testing_gen", |
| srcs: [ |
| "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto", |
| "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto", |
| "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/ $(in)", |
| out: [ |
| "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.cc", |
| "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.cc", |
| "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.cc", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net/third_party/quiche:net_quic_proto__testing |
| cc_genrule { |
| name: "cronet_aml_net_third_party_quiche_net_quic_proto__testing_gen_headers", |
| srcs: [ |
| "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto", |
| "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto", |
| "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/ $(in)", |
| out: [ |
| "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.h", |
| "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.h", |
| "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.h", |
| ], |
| export_include_dirs: [ |
| ".", |
| "net/third_party/quiche/src", |
| "protos", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net/third_party/quiche:net_quic_proto |
| cc_genrule { |
| name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen", |
| srcs: [ |
| "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto", |
| "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto", |
| "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/ $(in)", |
| out: [ |
| "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.cc", |
| "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.cc", |
| "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.cc", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net/third_party/quiche:net_quic_proto |
| cc_genrule { |
| name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers", |
| srcs: [ |
| "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto", |
| "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto", |
| "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/ $(in)", |
| out: [ |
| "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.h", |
| "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.h", |
| "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.h", |
| ], |
| export_include_dirs: [ |
| ".", |
| "net/third_party/quiche/src", |
| "protos", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net/third_party/quiche:net_quic_test_tools_proto__testing |
| cc_genrule { |
| name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen", |
| srcs: [ |
| "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src/quiche/quic/test_tools --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/ $(in)", |
| out: [ |
| "external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.cc", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net/third_party/quiche:net_quic_test_tools_proto__testing |
| cc_genrule { |
| name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen_headers", |
| srcs: [ |
| "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src/quiche/quic/test_tools --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/ $(in)", |
| out: [ |
| "external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.h", |
| ], |
| export_include_dirs: [ |
| ".", |
| "net/third_party/quiche/src", |
| "net/third_party/quiche/src/quiche/quic/test_tools", |
| "protos", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net/third_party/quiche:net_quic_test_tools_proto |
| cc_genrule { |
| name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen", |
| srcs: [ |
| "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src/quiche/quic/test_tools --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/ $(in)", |
| out: [ |
| "external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.cc", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net/third_party/quiche:net_quic_test_tools_proto |
| cc_genrule { |
| name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers", |
| srcs: [ |
| "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src/quiche/quic/test_tools --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/ $(in)", |
| out: [ |
| "external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.h", |
| ], |
| export_include_dirs: [ |
| ".", |
| "net/third_party/quiche/src", |
| "net/third_party/quiche/src/quiche/quic/test_tools", |
| "protos", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //net/third_party/quiche:quiche |
| cc_library_static { |
| name: "cronet_aml_net_third_party_quiche_quiche", |
| srcs: [ |
| ":cronet_aml_net_third_party_quiche_net_quic_proto_gen", |
| "net/third_party/quiche/overrides/quiche_platform_impl/quiche_mutex_impl.cc", |
| "net/third_party/quiche/overrides/quiche_platform_impl/quiche_time_utils_impl.cc", |
| "net/third_party/quiche/overrides/quiche_platform_impl/quiche_url_utils_impl.cc", |
| "net/third_party/quiche/src/quiche/binary_http/binary_http_message.cc", |
| "net/third_party/quiche/src/quiche/common/capsule.cc", |
| "net/third_party/quiche/src/quiche/common/platform/api/quiche_hostname_utils.cc", |
| "net/third_party/quiche/src/quiche/common/platform/api/quiche_mutex.cc", |
| "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_buffer_allocator.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_crypto_logging.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_data_reader.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_data_writer.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_ip_address.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_ip_address_family.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_mem_slice_storage.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_random.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_text_utils.cc", |
| "net/third_party/quiche/src/quiche/common/simple_buffer_allocator.cc", |
| "net/third_party/quiche/src/quiche/common/structured_headers.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/event_forwarder.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/header_validator.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/http2_protocol.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/http2_util.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/noop_header_validator.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_adapter.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_session.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_util.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/window_manager.cc", |
| "net/third_party/quiche/src/quiche/http2/core/http2_trace_logging.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/decode_buffer.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/decode_http2_structures.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/decode_status.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/frame_decoder_state.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder_listener.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/http2_structure_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/altsvc_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/continuation_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/data_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/goaway_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/headers_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/ping_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_update_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/push_promise_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/rst_stream_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/settings_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/unknown_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/window_update_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_block_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_listener.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_state.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_string_buffer.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_tables.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoding_error.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder_listener.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_type_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder_listener.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_buffer.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_listener.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/http2_hpack_constants.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_encoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/huffman/huffman_spec_tables.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_encoder.cc", |
| "net/third_party/quiche/src/quiche/http2/http2_constants.cc", |
| "net/third_party/quiche/src/quiche/http2/http2_structures.cc", |
| "net/third_party/quiche/src/quiche/oblivious_http/buffers/oblivious_http_request.cc", |
| "net/third_party/quiche/src/quiche/oblivious_http/buffers/oblivious_http_response.cc", |
| "net/third_party/quiche/src/quiche/oblivious_http/common/oblivious_http_header_key_config.cc", |
| "net/third_party/quiche/src/quiche/oblivious_http/oblivious_http_client.cc", |
| "net/third_party/quiche/src/quiche/oblivious_http/oblivious_http_gateway.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bandwidth_sampler.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_drain.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_misc.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_bw.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_rtt.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_sender.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_startup.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr_sender.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/cubic_bytes.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/general_loss_algorithm.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/hybrid_slow_start.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/pacing_sender.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/prr_sender.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/rtt_stats.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/send_algorithm_interface.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/uber_loss_algorithm.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/cert_compressor.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_util.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_view.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/channel_id.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/client_proof_source.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_framer.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake_message.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_secret_boxer.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_utils.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/curve25519_key_exchange.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/key_exchange.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/null_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/null_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/p256_key_exchange.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source_x509.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_client_session_cache.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_compressed_certs_cache.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_proof.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_server_config.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_hkdf.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/tls_client_connection.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/tls_connection.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/tls_server_connection.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/transport_parameters.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/web_transport_fingerprint_proof_verifier.cc", |
| "net/third_party/quiche/src/quiche/quic/core/deterministic_connection_id_generator.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frequency_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_blocked_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_connection_close_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_crypto_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_goaway_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_handshake_done_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_message_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_connection_id_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_token_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_padding_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_challenge_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_response_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_ping_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_retire_connection_id_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_rst_stream_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_sending_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_waiting_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_stream_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_streams_blocked_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_window_update_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/http_constants.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/http_decoder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/http_encoder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_client_promised_info.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_client_push_promise_index.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_header_list.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_headers_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_receive_control_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_send_control_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_server_initiated_spdy_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_server_session_base.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session_base.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_session.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_body_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/spdy_server_push_utils.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/spdy_utils.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/web_transport_http3.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/web_transport_stream_adapter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/legacy_quic_stream_id_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_blocking_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoded_headers_accumulator.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_receiver.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_sender.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_receiver.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_sender.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_header_table.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_index_conversions.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_decoder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_encoder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instructions.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_progressive_decoder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_receive_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_required_insert_count.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_send_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_static_table.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/value_splitting_header_list.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_ack_listener_interface.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_alarm.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_bandwidth.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_chaos_protector.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_coalesced_packet.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_config.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_connection.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_connection_context.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_connection_id.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_connection_id_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_connection_stats.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_constants.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_control_frame_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_handshaker.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_crypto_handshaker.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream_base.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_crypto_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_data_reader.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_data_writer.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_datagram_queue.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_error_codes.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_flow_controller.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_framer.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_idle_network_detector.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_mtu_discovery.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_network_blackhole_detector.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_packet_creator.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_packet_number.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_packets.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_path_validator.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_ping_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_received_packet_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_sent_packet_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_server_id.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_session.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_socket_address_coder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream_id_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream_priority.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream_send_buffer.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer_buffer.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_sustained_bandwidth_recorder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_tag.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_time.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_transmission_info.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_types.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_unacked_packet_map.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_utils.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_version_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_versions.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_write_blocked_list.cc", |
| "net/third_party/quiche/src/quiche/quic/core/tls_client_handshaker.cc", |
| "net/third_party/quiche/src/quiche/quic/core/tls_handshaker.cc", |
| "net/third_party/quiche/src/quiche/quic/core/tls_server_handshaker.cc", |
| "net/third_party/quiche/src/quiche/quic/core/uber_quic_stream_id_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/uber_received_packet_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/platform/api/quic_socket_address.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/array_output_buffer.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_constants.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_decoder_adapter.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_encoder.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_entry.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_header_table.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_output_stream.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_static_table.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/http2_frame_decoder_adapter.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/http2_header_block.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/http2_header_storage.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/recording_headers_handler.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_alt_svc_wire_format.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_frame_builder.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_framer.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_no_op_visitor.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_pinnable_buffer_piece.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_prefixed_buffer_reader.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_protocol.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_simple_arena.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| "libprotobuf-cpp-lite", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_net_uri_template", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| "cronet_aml_third_party_protobuf_protobuf_lite", |
| "cronet_aml_url_url", |
| ], |
| generated_headers: [ |
| "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DIS_QUICHE_IMPL", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/third_party/quiche:quiche__testing |
| cc_library_static { |
| name: "cronet_aml_net_third_party_quiche_quiche__testing", |
| srcs: [ |
| ":cronet_aml_net_third_party_quiche_net_quic_proto__testing_gen", |
| "net/third_party/quiche/overrides/quiche_platform_impl/quiche_mutex_impl.cc", |
| "net/third_party/quiche/overrides/quiche_platform_impl/quiche_time_utils_impl.cc", |
| "net/third_party/quiche/overrides/quiche_platform_impl/quiche_url_utils_impl.cc", |
| "net/third_party/quiche/src/quiche/binary_http/binary_http_message.cc", |
| "net/third_party/quiche/src/quiche/common/capsule.cc", |
| "net/third_party/quiche/src/quiche/common/platform/api/quiche_hostname_utils.cc", |
| "net/third_party/quiche/src/quiche/common/platform/api/quiche_mutex.cc", |
| "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_buffer_allocator.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_crypto_logging.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_data_reader.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_data_writer.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_ip_address.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_ip_address_family.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_mem_slice_storage.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_random.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_text_utils.cc", |
| "net/third_party/quiche/src/quiche/common/simple_buffer_allocator.cc", |
| "net/third_party/quiche/src/quiche/common/structured_headers.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/event_forwarder.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/header_validator.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/http2_protocol.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/http2_util.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/noop_header_validator.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_adapter.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_session.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_util.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/window_manager.cc", |
| "net/third_party/quiche/src/quiche/http2/core/http2_trace_logging.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/decode_buffer.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/decode_http2_structures.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/decode_status.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/frame_decoder_state.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder_listener.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/http2_structure_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/altsvc_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/continuation_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/data_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/goaway_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/headers_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/ping_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_update_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/push_promise_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/rst_stream_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/settings_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/unknown_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/window_update_payload_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_block_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_listener.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_state.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_string_buffer.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_tables.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoding_error.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder_listener.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_type_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder_listener.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_buffer.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_listener.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/http2_hpack_constants.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_encoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/huffman/huffman_spec_tables.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_decoder.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_encoder.cc", |
| "net/third_party/quiche/src/quiche/http2/http2_constants.cc", |
| "net/third_party/quiche/src/quiche/http2/http2_structures.cc", |
| "net/third_party/quiche/src/quiche/oblivious_http/buffers/oblivious_http_request.cc", |
| "net/third_party/quiche/src/quiche/oblivious_http/buffers/oblivious_http_response.cc", |
| "net/third_party/quiche/src/quiche/oblivious_http/common/oblivious_http_header_key_config.cc", |
| "net/third_party/quiche/src/quiche/oblivious_http/oblivious_http_client.cc", |
| "net/third_party/quiche/src/quiche/oblivious_http/oblivious_http_gateway.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bandwidth_sampler.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_drain.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_misc.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_bw.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_rtt.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_sender.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_startup.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr_sender.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/cubic_bytes.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/general_loss_algorithm.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/hybrid_slow_start.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/pacing_sender.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/prr_sender.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/rtt_stats.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/send_algorithm_interface.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/uber_loss_algorithm.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/cert_compressor.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_util.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_view.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/channel_id.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/client_proof_source.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_framer.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake_message.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_secret_boxer.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_utils.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/curve25519_key_exchange.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/key_exchange.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/null_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/null_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/p256_key_exchange.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source_x509.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_client_session_cache.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_compressed_certs_cache.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_proof.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_server_config.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_decrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_encrypter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_hkdf.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/tls_client_connection.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/tls_connection.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/tls_server_connection.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/transport_parameters.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/web_transport_fingerprint_proof_verifier.cc", |
| "net/third_party/quiche/src/quiche/quic/core/deterministic_connection_id_generator.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frequency_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_blocked_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_connection_close_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_crypto_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_goaway_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_handshake_done_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_message_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_connection_id_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_token_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_padding_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_challenge_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_response_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_ping_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_retire_connection_id_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_rst_stream_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_sending_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_waiting_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_stream_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_streams_blocked_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_window_update_frame.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/http_constants.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/http_decoder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/http_encoder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_client_promised_info.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_client_push_promise_index.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_header_list.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_headers_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_receive_control_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_send_control_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_server_initiated_spdy_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_server_session_base.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session_base.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_session.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_body_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/spdy_server_push_utils.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/spdy_utils.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/web_transport_http3.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/web_transport_stream_adapter.cc", |
| "net/third_party/quiche/src/quiche/quic/core/legacy_quic_stream_id_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_blocking_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoded_headers_accumulator.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_receiver.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_sender.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_receiver.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_sender.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_header_table.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_index_conversions.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_decoder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_encoder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instructions.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_progressive_decoder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_receive_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_required_insert_count.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_send_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_static_table.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/value_splitting_header_list.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_ack_listener_interface.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_alarm.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_bandwidth.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_chaos_protector.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_coalesced_packet.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_config.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_connection.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_connection_context.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_connection_id.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_connection_id_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_connection_stats.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_constants.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_control_frame_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_handshaker.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_crypto_handshaker.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream_base.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_crypto_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_data_reader.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_data_writer.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_datagram_queue.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_error_codes.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_flow_controller.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_framer.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_idle_network_detector.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_mtu_discovery.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_network_blackhole_detector.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_packet_creator.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_packet_number.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_packets.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_path_validator.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_ping_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_received_packet_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_sent_packet_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_server_id.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_session.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_socket_address_coder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream_id_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream_priority.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream_send_buffer.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer_buffer.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_sustained_bandwidth_recorder.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_tag.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_time.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_transmission_info.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_types.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_unacked_packet_map.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_utils.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_version_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_versions.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_write_blocked_list.cc", |
| "net/third_party/quiche/src/quiche/quic/core/tls_client_handshaker.cc", |
| "net/third_party/quiche/src/quiche/quic/core/tls_handshaker.cc", |
| "net/third_party/quiche/src/quiche/quic/core/tls_server_handshaker.cc", |
| "net/third_party/quiche/src/quiche/quic/core/uber_quic_stream_id_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/uber_received_packet_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/platform/api/quic_socket_address.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/array_output_buffer.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_constants.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_decoder_adapter.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_encoder.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_entry.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_header_table.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_output_stream.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_static_table.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/http2_frame_decoder_adapter.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/http2_header_block.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/http2_header_storage.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/recording_headers_handler.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_alt_svc_wire_format.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_frame_builder.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_framer.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_no_op_visitor.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_pinnable_buffer_piece.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_prefixed_buffer_reader.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_protocol.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_simple_arena.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libprotobuf-cpp-lite", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_net_third_party_quiche_net_quic_proto__testing_gen_headers", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_net_third_party_quiche_net_quic_proto__testing_gen_headers", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DIS_QUICHE_IMPL", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/third_party/quiche:quiche_test_support__testing |
| cc_library_static { |
| name: "cronet_aml_net_third_party_quiche_quiche_test_support__testing", |
| srcs: [ |
| ":cronet_aml_third_party_quic_trace_quic_trace_proto__testing_gen", |
| "net/third_party/quiche/overrides/quiche_platform_impl/quiche_test_helpers_impl.cc", |
| "net/third_party/quiche/overrides/quiche_platform_impl/quiche_test_impl.cc", |
| "net/third_party/quiche/overrides/quiche_platform_impl/quiche_test_output_impl.cc", |
| "net/third_party/quiche/src/quiche/common/platform/api/quiche_test_loopback.cc", |
| "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_test_loopback_impl.cc", |
| "net/third_party/quiche/src/quiche/common/test_tools/quiche_test_utils.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/test_frame_sequence.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/test_utils.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/frame_decoder_state_test_util.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/frame_parts.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/frame_parts_collector.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/frame_parts_collector_listener.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/hpack_block_builder.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/hpack_block_collector.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/hpack_entry_collector.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/hpack_example.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/hpack_string_collector.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/http2_constants_test_util.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/http2_frame_builder.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/http2_frame_decoder_listener_test_util.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/http2_random.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/http2_structure_decoder_test_util.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/http2_structures_test_util.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/payload_decoder_base_test_util.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/random_decoder_test_base.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/random_util.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_trace_visitor.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/bad_packet_writer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/crypto_test_utils.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/failing_proof_source.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/fake_proof_source.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/first_flight.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/limited_mtu_test_writer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/mock_clock.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/mock_quic_client_promised_info.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/mock_quic_dispatcher.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/mock_quic_session_visitor.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/mock_quic_spdy_client_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/mock_quic_time_wait_list_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/mock_random.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/packet_dropping_test_writer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/packet_reordering_writer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/qpack/qpack_decoder_test_utils.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/qpack/qpack_encoder_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/qpack/qpack_offline_decoder.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/qpack/qpack_test_utils.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_buffered_packet_store_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_client_promised_info_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_coalesced_packet_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_config_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_connection_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_crypto_server_config_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_dispatcher_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_flow_controller_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_framer_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_packet_creator_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_path_validator_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_sent_packet_manager_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_session_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_spdy_session_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_spdy_stream_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_stream_id_manager_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_stream_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_stream_send_buffer_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_stream_sequencer_buffer_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_stream_sequencer_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_sustained_bandwidth_recorder_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_test_backend.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_test_utils.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_time_wait_list_manager_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_unacked_packet_map_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/rtt_stats_peer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_utils.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simple_data_producer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simple_quic_framer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simple_session_cache.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simple_session_notifier.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simulator/actor.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simulator/alarm_factory.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simulator/link.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simulator/packet_filter.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simulator/port.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simulator/queue.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simulator/quic_endpoint.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simulator/quic_endpoint_base.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simulator/simulator.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simulator/switch.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simulator/traffic_policer.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/test_certificates.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/test_ticket_crypter.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/web_transport_resets_backend.cc", |
| "net/third_party/quiche/src/quiche/spdy/test_tools/mock_spdy_framer_visitor.cc", |
| "net/third_party/quiche/src/quiche/spdy/test_tools/spdy_test_utils.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libprotobuf-cpp-lite", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_i18n__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_test_test_config__testing", |
| "cronet_aml_base_test_test_support__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_crypto_test_support__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_dns_test_support__testing", |
| "cronet_aml_net_gtest_util__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_quic_test_flags_utils__testing", |
| "cronet_aml_net_simple_quic_tools__testing", |
| "cronet_aml_net_test_support__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_third_party_quiche_quiche_tool_support__testing", |
| "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_ced_ced__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| "cronet_aml_third_party_libxml_libxml_utils__testing", |
| "cronet_aml_third_party_libxml_xml_reader__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_third_party_quic_trace_quic_trace_proto__testing_gen_headers", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_third_party_quic_trace_quic_trace_proto__testing_gen_headers", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUNIT_TEST", |
| "-DUSE_CHROMIUM_ICU=1", |
| "-DUSE_REMOTE_TEST_SERVER", |
| "-DU_ENABLE_DYLOAD=0", |
| "-DU_ENABLE_RESOURCE_TRACING=0", |
| "-DU_ENABLE_TRACING=1", |
| "-DU_STATIC_IMPLEMENTATION", |
| "-DU_USING_ICU_NAMESPACE=0", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/ced/src/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/third_party/quiche:quiche_tests__testing |
| cc_library_static { |
| name: "cronet_aml_net_third_party_quiche_quiche_tests__testing", |
| srcs: [ |
| "net/third_party/quiche/src/quiche/binary_http/binary_http_message_test.cc", |
| "net/third_party/quiche/src/quiche/common/capsule_test.cc", |
| "net/third_party/quiche/src/quiche/common/platform/api/quiche_file_utils_test.cc", |
| "net/third_party/quiche/src/quiche/common/platform/api/quiche_hostname_utils_test.cc", |
| "net/third_party/quiche/src/quiche/common/platform/api/quiche_mem_slice_test.cc", |
| "net/third_party/quiche/src/quiche/common/platform/api/quiche_reference_counted_test.cc", |
| "net/third_party/quiche/src/quiche/common/platform/api/quiche_stack_trace_test.cc", |
| "net/third_party/quiche/src/quiche/common/platform/api/quiche_time_utils_test.cc", |
| "net/third_party/quiche/src/quiche/common/platform/api/quiche_url_utils_test.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_buffer_allocator_test.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_circular_deque_test.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_data_reader_test.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_data_writer_test.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_endian_test.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_ip_address_test.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_linked_hash_map_test.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_mem_slice_storage_test.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_random_test.cc", |
| "net/third_party/quiche/src/quiche/common/quiche_text_utils_test.cc", |
| "net/third_party/quiche/src/quiche/common/simple_buffer_allocator_test.cc", |
| "net/third_party/quiche/src/quiche/common/structured_headers_generated_test.cc", |
| "net/third_party/quiche/src/quiche/common/structured_headers_test.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/event_forwarder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/header_validator_test.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/noop_header_validator_test.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_adapter_test.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_session_test.cc", |
| "net/third_party/quiche/src/quiche/http2/adapter/window_manager_test.cc", |
| "net/third_party/quiche/src/quiche/http2/core/priority_write_scheduler_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/decode_buffer_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/decode_http2_structures_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/http2_structure_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/altsvc_payload_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/continuation_payload_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/data_payload_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/goaway_payload_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/headers_payload_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/ping_payload_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_payload_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_update_payload_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/push_promise_payload_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/rst_stream_payload_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/settings_payload_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/unknown_payload_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/window_update_payload_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_block_collector_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_block_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_state_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_string_buffer_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_tables_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_collector_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_type_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_buffer_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/http2_hpack_constants_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_encoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_transcoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_encoder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_round_trip_test.cc", |
| "net/third_party/quiche/src/quiche/http2/http2_constants_test.cc", |
| "net/third_party/quiche/src/quiche/http2/http2_structures_test.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/hpack_block_builder_test.cc", |
| "net/third_party/quiche/src/quiche/http2/test_tools/http2_random_test.cc", |
| "net/third_party/quiche/src/quiche/oblivious_http/buffers/oblivious_http_integration_test.cc", |
| "net/third_party/quiche/src/quiche/oblivious_http/buffers/oblivious_http_request_test.cc", |
| "net/third_party/quiche/src/quiche/oblivious_http/buffers/oblivious_http_response_test.cc", |
| "net/third_party/quiche/src/quiche/oblivious_http/common/oblivious_http_header_key_config_test.cc", |
| "net/third_party/quiche/src/quiche/oblivious_http/oblivious_http_client_test.cc", |
| "net/third_party/quiche/src/quiche/oblivious_http/oblivious_http_gateway_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bandwidth_sampler_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_simulator_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr_sender_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/cubic_bytes_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/general_loss_algorithm_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/hybrid_slow_start_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/pacing_sender_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/prr_sender_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/rtt_stats_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/send_algorithm_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/uber_loss_algorithm_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/congestion_control/windowed_filter_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_decrypter_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_encrypter_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_decrypter_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_encrypter_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_decrypter_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_encrypter_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/cert_compressor_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_util_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_view_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_decrypter_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_encrypter_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_decrypter_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_encrypter_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/channel_id_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/client_proof_source_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_framer_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake_message_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_secret_boxer_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_server_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_utils_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/curve25519_key_exchange_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/null_decrypter_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/null_encrypter_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/p256_key_exchange_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source_x509_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_client_session_cache_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_compressed_certs_cache_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_server_config_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/quic_hkdf_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/transport_parameters_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/crypto/web_transport_fingerprint_proof_verifier_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/frames/quic_frames_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/http_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/http_encoder_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/http_frames_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_client_promised_info_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_client_push_promise_index_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_header_list_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_headers_stream_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_receive_control_stream_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_send_control_stream_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_server_session_base_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_session_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_body_manager_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/spdy_server_push_utils_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/spdy_utils_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/web_transport_http3_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/legacy_quic_stream_id_manager_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/packet_number_indexed_queue_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_blocking_manager_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoded_headers_accumulator_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_receiver_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_sender_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_receiver_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_sender_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_header_table_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_index_conversions_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_decoder_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_encoder_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_receive_stream_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_required_insert_count_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_round_trip_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_send_stream_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_static_table_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/qpack/value_splitting_header_list_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_alarm_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_arena_scoped_ptr_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_bandwidth_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_buffered_packet_store_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_chaos_protector_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_coalesced_packet_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_config_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_connection_context_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_connection_id_manager_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_connection_id_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_connection_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_control_frame_manager_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_handshaker_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_stream_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_crypto_stream_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_data_writer_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_datagram_queue_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_dispatcher_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_error_codes_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_flow_controller_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_framer_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_idle_network_detector_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_interval_deque_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_interval_set_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_interval_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_lru_cache_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_network_blackhole_detector_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_one_block_arena_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_packet_creator_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_packet_number_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_packets_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_path_validator_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_received_packet_manager_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_sent_packet_manager_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_server_id_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_session_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_socket_address_coder_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream_id_manager_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream_priority_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream_send_buffer_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer_buffer_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_stream_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_sustained_bandwidth_recorder_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_tag_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_time_accumulator_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_time_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_time_wait_list_manager_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_trace_visitor_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_unacked_packet_map_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_utils_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_version_manager_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_versions_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_write_blocked_list_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/tls_chlo_extractor_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/tls_client_handshaker_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/uber_quic_stream_id_manager_test.cc", |
| "net/third_party/quiche/src/quiche/quic/core/uber_received_packet_manager_test.cc", |
| "net/third_party/quiche/src/quiche/quic/platform/api/quic_socket_address_test.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/crypto_test_utils_test.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/quic_test_utils_test.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simple_session_notifier_test.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simulator/quic_endpoint_test.cc", |
| "net/third_party/quiche/src/quiche/quic/test_tools/simulator/simulator_test.cc", |
| "net/third_party/quiche/src/quiche/quic/tools/quic_memory_cache_backend_test.cc", |
| "net/third_party/quiche/src/quiche/quic/tools/quic_tcp_like_trace_converter_test.cc", |
| "net/third_party/quiche/src/quiche/quic/tools/simple_ticket_crypter_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/array_output_buffer_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_decoder_adapter_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_encoder_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_entry_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_header_table_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_output_stream_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_round_trip_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_static_table_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/http2_header_block_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/http2_header_storage_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_alt_svc_wire_format_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_frame_builder_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_framer_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_intrusive_list_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_pinnable_buffer_piece_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_prefixed_buffer_reader_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_protocol_test.cc", |
| "net/third_party/quiche/src/quiche/spdy/core/spdy_simple_arena_test.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_i18n__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_test_test_config__testing", |
| "cronet_aml_base_test_test_support__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_crypto_test_support__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_dns_test_support__testing", |
| "cronet_aml_net_gtest_util__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_quic_test_flags_utils__testing", |
| "cronet_aml_net_quic_test_tools__testing", |
| "cronet_aml_net_simple_quic_tools__testing", |
| "cronet_aml_net_spdy_test_tools__testing", |
| "cronet_aml_net_test_support__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_third_party_quiche_quiche_test_support__testing", |
| "cronet_aml_net_third_party_quiche_quiche_tool_support__testing", |
| "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_ced_ced__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| "cronet_aml_third_party_libxml_libxml_utils__testing", |
| "cronet_aml_third_party_libxml_xml_reader__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUNIT_TEST", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/third_party/quiche:quiche_tool_support__testing |
| cc_library_static { |
| name: "cronet_aml_net_third_party_quiche_quiche_tool_support__testing", |
| srcs: [ |
| "net/third_party/quiche/overrides/quiche_platform_impl/quiche_command_line_flags_impl.cc", |
| "net/third_party/quiche/overrides/quiche_platform_impl/quiche_default_proof_providers_impl.cc", |
| "net/third_party/quiche/src/quiche/common/platform/api/quiche_file_utils.cc", |
| "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_file_utils_impl.cc", |
| "net/third_party/quiche/src/quiche/quic/core/chlo_extractor.cc", |
| "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_server_stream_base.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_buffered_packet_store.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_dispatcher.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_packet_writer_wrapper.cc", |
| "net/third_party/quiche/src/quiche/quic/core/quic_time_wait_list_manager.cc", |
| "net/third_party/quiche/src/quiche/quic/core/tls_chlo_extractor.cc", |
| "net/third_party/quiche/src/quiche/quic/tools/quic_backend_response.cc", |
| "net/third_party/quiche/src/quiche/quic/tools/quic_client_base.cc", |
| "net/third_party/quiche/src/quiche/quic/tools/quic_memory_cache_backend.cc", |
| "net/third_party/quiche/src/quiche/quic/tools/quic_simple_client_session.cc", |
| "net/third_party/quiche/src/quiche/quic/tools/quic_simple_client_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/tools/quic_simple_crypto_server_stream_helper.cc", |
| "net/third_party/quiche/src/quiche/quic/tools/quic_simple_dispatcher.cc", |
| "net/third_party/quiche/src/quiche/quic/tools/quic_simple_server_session.cc", |
| "net/third_party/quiche/src/quiche/quic/tools/quic_simple_server_stream.cc", |
| "net/third_party/quiche/src/quiche/quic/tools/quic_spdy_client_base.cc", |
| "net/third_party/quiche/src/quiche/quic/tools/quic_tcp_like_trace_converter.cc", |
| "net/third_party/quiche/src/quiche/quic/tools/quic_url.cc", |
| "net/third_party/quiche/src/quiche/quic/tools/simple_ticket_crypter.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_net_dns_dns__testing", |
| "cronet_aml_net_dns_public_public__testing", |
| "cronet_aml_net_http_transport_security_state_generated_files__testing", |
| "cronet_aml_net_net__testing", |
| "cronet_aml_net_net_deps__testing", |
| "cronet_aml_net_net_public_deps__testing", |
| "cronet_aml_net_preload_decoder__testing", |
| "cronet_aml_net_third_party_quiche_quiche__testing", |
| "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| "cronet_aml_net_uri_template__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_brotli_common__testing", |
| "cronet_aml_third_party_brotli_dec__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "net/third_party/quiche/overrides/", |
| "net/third_party/quiche/src/", |
| "net/third_party/quiche/src/quiche/common/platform/default/", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/tools/huffman_trie:huffman_trie_generator_sources__testing |
| cc_library_static { |
| name: "cronet_aml_net_tools_huffman_trie_huffman_trie_generator_sources__testing", |
| srcs: [ |
| "net/tools/huffman_trie/bit_writer.cc", |
| "net/tools/huffman_trie/huffman/huffman_builder.cc", |
| "net/tools/huffman_trie/trie/trie_bit_buffer.cc", |
| "net/tools/huffman_trie/trie/trie_writer.cc", |
| "net/tools/huffman_trie/trie_entry.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| ], |
| target: { |
| android: { |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| }, |
| android_arm: { |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| ldflags: [ |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| }, |
| android_arm64: { |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| ldflags: [ |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| }, |
| android_x86: { |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| ldflags: [ |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| }, |
| android_x86_64: { |
| static_libs: [ |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| ldflags: [ |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //net/tools/tld_cleanup:tld_cleanup__testing |
| cc_library_static { |
| name: "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing", |
| srcs: [ |
| "net/tools/tld_cleanup/tld_cleanup_util.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| "cronet_aml_url_url__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/tools/transport_security_state_generator:transport_security_state_generator__testing |
| cc_binary { |
| name: "cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing", |
| srcs: [ |
| "net/tools/transport_security_state_generator/transport_security_state_generator.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_crypto_crypto__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| whole_static_libs: [ |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_buildtools_third_party_libc___libc____testing", |
| "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing", |
| "cronet_aml_net_tools_huffman_trie_huffman_trie_generator_sources__testing", |
| "cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator_sources__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| ], |
| host_supported: true, |
| device_supported: false, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fstack-protector", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| "-msse3", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| } |
| |
| // GN: //net/tools/transport_security_state_generator:transport_security_state_generator_sources__testing |
| cc_library_static { |
| name: "cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator_sources__testing", |
| srcs: [ |
| "net/tools/transport_security_state_generator/cert_util.cc", |
| "net/tools/transport_security_state_generator/input_file_parsers.cc", |
| "net/tools/transport_security_state_generator/pinset.cc", |
| "net/tools/transport_security_state_generator/pinsets.cc", |
| "net/tools/transport_security_state_generator/preloaded_state_generator.cc", |
| "net/tools/transport_security_state_generator/spki_hash.cc", |
| "net/tools/transport_security_state_generator/transport_security_state_entry.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_net_tools_huffman_trie_huffman_trie_generator_sources__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| host_supported: true, |
| device_supported: false, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fstack-protector", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| "-msse3", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| } |
| |
| // GN: //net/traffic_annotation:traffic_annotation |
| cc_library_static { |
| name: "cronet_aml_net_traffic_annotation_traffic_annotation", |
| srcs: [ |
| "net/traffic_annotation/network_traffic_annotation_android.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| ], |
| generated_headers: [ |
| "cronet_aml_build_chromeos_buildflags", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_build_chromeos_buildflags", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net/traffic_annotation:traffic_annotation__testing |
| cc_library_static { |
| name: "cronet_aml_net_traffic_annotation_traffic_annotation__testing", |
| srcs: [ |
| "net/traffic_annotation/network_traffic_annotation_android.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_build_chromeos_buildflags__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_build_chromeos_buildflags__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net:uri_template |
| cc_library_static { |
| name: "cronet_aml_net_uri_template", |
| srcs: [ |
| "net/third_party/uri_template/uri_template.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DIS_URI_TEMPLATE_IMPL", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //net:uri_template__testing |
| cc_library_static { |
| name: "cronet_aml_net_uri_template__testing", |
| srcs: [ |
| "net/third_party/uri_template/uri_template.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DIS_URI_TEMPLATE_IMPL", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //testing/android/native_test:native_test_jni_headers__testing |
| cc_genrule { |
| name: "cronet_aml_testing_android_native_test_native_test_jni_headers__testing", |
| srcs: [ |
| "testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java", |
| "testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java", |
| ], |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/testing/android/native_test/native_test_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--use_proxy_hash " + |
| "--output_name " + |
| "MainRunner_jni.h " + |
| "--output_name " + |
| "NativeTest_jni.h " + |
| "--input_file " + |
| "$(location testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java) " + |
| "--input_file " + |
| "$(location testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java)", |
| out: [ |
| "testing/android/native_test/native_test_jni_headers/MainRunner_jni.h", |
| "testing/android/native_test/native_test_jni_headers/NativeTest_jni.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //testing/android/native_test:native_test_native_code__testing |
| cc_library_static { |
| name: "cronet_aml_testing_android_native_test_native_test_native_code__testing", |
| srcs: [ |
| "testing/android/native_test/native_test_jni_onload.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_i18n__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_test_test_config__testing", |
| "cronet_aml_base_test_test_support__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_testing_android_native_test_native_test_support__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_ced_ced__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| "cronet_aml_third_party_libxml_libxml_utils__testing", |
| "cronet_aml_third_party_libxml_xml_reader__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //testing/android/native_test:native_test_support__testing |
| cc_library_static { |
| name: "cronet_aml_testing_android_native_test_native_test_support__testing", |
| srcs: [ |
| "testing/android/native_test/main_runner.cc", |
| "testing/android/native_test/native_test_launcher.cc", |
| "testing/android/native_test/native_test_util.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_i18n__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_test_test_config__testing", |
| "cronet_aml_base_test_test_support__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_testing_gtest_gtest__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_ced_ced__testing", |
| "cronet_aml_third_party_googletest_gmock__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| "cronet_aml_third_party_libxml_libxml_utils__testing", |
| "cronet_aml_third_party_libxml_xml_reader__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| "cronet_aml_testing_android_native_test_native_test_jni_headers__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| "cronet_aml_testing_android_native_test_native_test_jni_headers__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-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_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/ced/src/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //testing/gtest:gtest__testing |
| cc_library_static { |
| name: "cronet_aml_testing_gtest_gtest__testing", |
| srcs: [ |
| "testing/gtest/empty.cc", |
| "testing/multiprocess_func_list.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUNIT_TEST", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googletest/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/base:base |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| srcs: [ |
| "third_party/abseil-cpp/absl/base/internal/cycleclock.cc", |
| "third_party/abseil-cpp/absl/base/internal/spinlock.cc", |
| "third_party/abseil-cpp/absl/base/internal/sysinfo.cc", |
| "third_party/abseil-cpp/absl/base/internal/thread_identity.cc", |
| "third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/base:base__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/base/internal/cycleclock.cc", |
| "third_party/abseil-cpp/absl/base/internal/spinlock.cc", |
| "third_party/abseil-cpp/absl/base/internal/sysinfo.cc", |
| "third_party/abseil-cpp/absl/base/internal/thread_identity.cc", |
| "third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/base:log_severity |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| srcs: [ |
| "third_party/abseil-cpp/absl/base/log_severity.cc", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/base:log_severity__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/base/log_severity.cc", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/base:malloc_internal |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| srcs: [ |
| "third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/base:malloc_internal__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/base:raw_logging_internal |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| srcs: [ |
| "third_party/abseil-cpp/absl/base/internal/raw_logging.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/base:raw_logging_internal__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/base/internal/raw_logging.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/base:spinlock_wait |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| srcs: [ |
| "third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/base:spinlock_wait__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/base:strerror |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| srcs: [ |
| "third_party/abseil-cpp/absl/base/internal/strerror.cc", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/base:strerror__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/base/internal/strerror.cc", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/base:throw_delegate |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| srcs: [ |
| "third_party/abseil-cpp/absl/base/internal/throw_delegate.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/base:throw_delegate__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/base/internal/throw_delegate.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/container:hashtablez_sampler |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| srcs: [ |
| "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc", |
| "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/container:hashtablez_sampler__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc", |
| "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/container:raw_hash_set |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| srcs: [ |
| "third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/container:raw_hash_set__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/crc:cpu_detect |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| srcs: [ |
| "third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/crc:cpu_detect__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/crc:crc32c |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| srcs: [ |
| "third_party/abseil-cpp/absl/crc/crc32c.cc", |
| "third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc", |
| "third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc", |
| "third_party/abseil-cpp/absl/crc/internal/crc_non_temporal_memcpy.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/crc:crc32c__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/crc/crc32c.cc", |
| "third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc", |
| "third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc", |
| "third_party/abseil-cpp/absl/crc/internal/crc_non_temporal_memcpy.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/crc:crc_cord_state |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| srcs: [ |
| "third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/crc:crc_cord_state__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/crc:crc_internal |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| srcs: [ |
| "third_party/abseil-cpp/absl/crc/internal/crc.cc", |
| "third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/crc:crc_internal__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/crc/internal/crc.cc", |
| "third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/debugging:debugging_internal |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| srcs: [ |
| "third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc", |
| "third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc", |
| "third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/debugging:debugging_internal__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc", |
| "third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc", |
| "third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/debugging:demangle_internal |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| srcs: [ |
| "third_party/abseil-cpp/absl/debugging/internal/demangle.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/debugging:demangle_internal__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/debugging/internal/demangle.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/debugging:examine_stack |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| srcs: [ |
| "third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/debugging:examine_stack__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/debugging:failure_signal_handler |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| srcs: [ |
| "third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/debugging:failure_signal_handler__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/debugging:stacktrace |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| srcs: [ |
| "third_party/abseil-cpp/absl/debugging/stacktrace.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/debugging:stacktrace__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/debugging/stacktrace.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/debugging:symbolize |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| srcs: [ |
| "third_party/abseil-cpp/absl/debugging/symbolize.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/debugging:symbolize__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/debugging/symbolize.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/hash:city |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| srcs: [ |
| "third_party/abseil-cpp/absl/hash/internal/city.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/hash:city__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/hash/internal/city.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/hash:hash |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| srcs: [ |
| "third_party/abseil-cpp/absl/hash/internal/hash.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/hash:hash__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/hash/internal/hash.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/hash:low_level_hash |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| srcs: [ |
| "third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/hash:low_level_hash__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log:die_if_null |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/die_if_null.cc", |
| ], |
| shared_libs: [ |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log:die_if_null__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/die_if_null.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android: { |
| shared_libs: [ |
| "liblog", |
| ], |
| }, |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log:globals |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/globals.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log:globals__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/globals.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log/internal:check_op |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/internal/check_op.cc", |
| ], |
| shared_libs: [ |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log/internal:check_op__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/internal/check_op.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android: { |
| shared_libs: [ |
| "liblog", |
| ], |
| }, |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log/internal:conditions |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/internal/conditions.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log/internal:conditions__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/internal/conditions.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log/internal:format |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/internal/log_format.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log/internal:format__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/internal/log_format.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log/internal:globals |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/internal/globals.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log/internal:globals__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/internal/globals.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log/internal:log_message |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/internal/log_message.cc", |
| ], |
| shared_libs: [ |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log/internal:log_message__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/internal/log_message.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android: { |
| shared_libs: [ |
| "liblog", |
| ], |
| }, |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log/internal:log_sink_set |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/internal/log_sink_set.cc", |
| ], |
| shared_libs: [ |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log/internal:log_sink_set__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/internal/log_sink_set.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android: { |
| shared_libs: [ |
| "liblog", |
| ], |
| }, |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log/internal:nullguard |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/internal/nullguard.cc", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log/internal:nullguard__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/internal/nullguard.cc", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log/internal:proto |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/internal/proto.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log/internal:proto__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/internal/proto.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log:log_entry |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/log_entry.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log:log_entry__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/log_entry.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log:log_sink |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/log_sink.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/log:log_sink__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/log/log_sink.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/numeric:int128 |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| srcs: [ |
| "third_party/abseil-cpp/absl/numeric/int128.cc", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/numeric:int128__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/numeric/int128.cc", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/profiling:exponential_biased |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| srcs: [ |
| "third_party/abseil-cpp/absl/profiling/internal/exponential_biased.cc", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/profiling:exponential_biased__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/profiling/internal/exponential_biased.cc", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random:distributions |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/discrete_distribution.cc", |
| "third_party/abseil-cpp/absl/random/gaussian_distribution.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random:distributions__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/discrete_distribution.cc", |
| "third_party/abseil-cpp/absl/random/gaussian_distribution.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random/internal:platform |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/internal/randen_round_keys.cc", |
| ], |
| generated_headers: [ |
| "cronet_aml_build_chromeos_buildflags", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_build_chromeos_buildflags", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random/internal:platform__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/internal/randen_round_keys.cc", |
| ], |
| host_supported: true, |
| generated_headers: [ |
| "cronet_aml_build_chromeos_buildflags__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_build_chromeos_buildflags__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random/internal:pool_urbg |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/internal/pool_urbg.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random/internal:pool_urbg__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/internal/pool_urbg.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random/internal:randen |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/internal/randen.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random/internal:randen__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/internal/randen.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/internal/randen_detect.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/internal/randen_detect.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes_impl |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes_impl__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random/internal:randen_slow |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/internal/randen_slow.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random/internal:randen_slow__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/internal/randen_slow.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random/internal:seed_material |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/internal/seed_material.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random/internal:seed_material__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/internal/seed_material.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random:seed_gen_exception |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/seed_gen_exception.cc", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random:seed_gen_exception__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/seed_gen_exception.cc", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random:seed_sequences |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/seed_sequences.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/random:seed_sequences__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/random/seed_sequences.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/status:status |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| srcs: [ |
| "third_party/abseil-cpp/absl/status/status.cc", |
| "third_party/abseil-cpp/absl/status/status_payload_printer.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/status:status__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/status/status.cc", |
| "third_party/abseil-cpp/absl/status/status_payload_printer.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/status:statusor |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| srcs: [ |
| "third_party/abseil-cpp/absl/status/statusor.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/status:statusor__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/status/statusor.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/strings:cord |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| srcs: [ |
| "third_party/abseil-cpp/absl/strings/cord.cc", |
| "third_party/abseil-cpp/absl/strings/cord_analysis.cc", |
| "third_party/abseil-cpp/absl/strings/cord_buffer.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/strings:cord__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/strings/cord.cc", |
| "third_party/abseil-cpp/absl/strings/cord_analysis.cc", |
| "third_party/abseil-cpp/absl/strings/cord_buffer.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/strings:cord_internal |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| srcs: [ |
| "third_party/abseil-cpp/absl/strings/internal/cord_internal.cc", |
| "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc", |
| "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc", |
| "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc", |
| "third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc", |
| "third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc", |
| "third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/strings:cord_internal__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/strings/internal/cord_internal.cc", |
| "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc", |
| "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc", |
| "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc", |
| "third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc", |
| "third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc", |
| "third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/strings:cordz_functions |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| srcs: [ |
| "third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/strings:cordz_functions__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/strings:cordz_handle |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| srcs: [ |
| "third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/strings:cordz_handle__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/strings:cordz_info |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| srcs: [ |
| "third_party/abseil-cpp/absl/strings/internal/cordz_info.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/strings:cordz_info__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/strings/internal/cordz_info.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/strings:internal |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| srcs: [ |
| "third_party/abseil-cpp/absl/strings/internal/escaping.cc", |
| "third_party/abseil-cpp/absl/strings/internal/ostringstream.cc", |
| "third_party/abseil-cpp/absl/strings/internal/utf8.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/strings:internal__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/strings/internal/escaping.cc", |
| "third_party/abseil-cpp/absl/strings/internal/ostringstream.cc", |
| "third_party/abseil-cpp/absl/strings/internal/utf8.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/strings:str_format_internal |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| srcs: [ |
| "third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc", |
| "third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc", |
| "third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc", |
| "third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc", |
| "third_party/abseil-cpp/absl/strings/internal/str_format/output.cc", |
| "third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/strings:str_format_internal__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc", |
| "third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc", |
| "third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc", |
| "third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc", |
| "third_party/abseil-cpp/absl/strings/internal/str_format/output.cc", |
| "third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/strings:strings |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| srcs: [ |
| "third_party/abseil-cpp/absl/strings/ascii.cc", |
| "third_party/abseil-cpp/absl/strings/charconv.cc", |
| "third_party/abseil-cpp/absl/strings/escaping.cc", |
| "third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc", |
| "third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc", |
| "third_party/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.cc", |
| "third_party/abseil-cpp/absl/strings/internal/memutil.cc", |
| "third_party/abseil-cpp/absl/strings/internal/stringify_sink.cc", |
| "third_party/abseil-cpp/absl/strings/match.cc", |
| "third_party/abseil-cpp/absl/strings/numbers.cc", |
| "third_party/abseil-cpp/absl/strings/str_cat.cc", |
| "third_party/abseil-cpp/absl/strings/str_replace.cc", |
| "third_party/abseil-cpp/absl/strings/str_split.cc", |
| "third_party/abseil-cpp/absl/strings/string_view.cc", |
| "third_party/abseil-cpp/absl/strings/substitute.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/strings:strings__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/strings/ascii.cc", |
| "third_party/abseil-cpp/absl/strings/charconv.cc", |
| "third_party/abseil-cpp/absl/strings/escaping.cc", |
| "third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc", |
| "third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc", |
| "third_party/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.cc", |
| "third_party/abseil-cpp/absl/strings/internal/memutil.cc", |
| "third_party/abseil-cpp/absl/strings/internal/stringify_sink.cc", |
| "third_party/abseil-cpp/absl/strings/match.cc", |
| "third_party/abseil-cpp/absl/strings/numbers.cc", |
| "third_party/abseil-cpp/absl/strings/str_cat.cc", |
| "third_party/abseil-cpp/absl/strings/str_replace.cc", |
| "third_party/abseil-cpp/absl/strings/str_split.cc", |
| "third_party/abseil-cpp/absl/strings/string_view.cc", |
| "third_party/abseil-cpp/absl/strings/substitute.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/synchronization:graphcycles_internal |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| srcs: [ |
| "third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/synchronization:graphcycles_internal__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/synchronization:kernel_timeout_internal |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| srcs: [ |
| "third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/synchronization:kernel_timeout_internal__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/synchronization:synchronization |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| srcs: [ |
| "third_party/abseil-cpp/absl/synchronization/barrier.cc", |
| "third_party/abseil-cpp/absl/synchronization/blocking_counter.cc", |
| "third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc", |
| "third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.cc", |
| "third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc", |
| "third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.cc", |
| "third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.cc", |
| "third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.cc", |
| "third_party/abseil-cpp/absl/synchronization/internal/waiter_base.cc", |
| "third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.cc", |
| "third_party/abseil-cpp/absl/synchronization/mutex.cc", |
| "third_party/abseil-cpp/absl/synchronization/notification.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/synchronization:synchronization__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/synchronization/barrier.cc", |
| "third_party/abseil-cpp/absl/synchronization/blocking_counter.cc", |
| "third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc", |
| "third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.cc", |
| "third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc", |
| "third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.cc", |
| "third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.cc", |
| "third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.cc", |
| "third_party/abseil-cpp/absl/synchronization/internal/waiter_base.cc", |
| "third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.cc", |
| "third_party/abseil-cpp/absl/synchronization/mutex.cc", |
| "third_party/abseil-cpp/absl/synchronization/notification.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/time/internal/cctz:civil_time |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| srcs: [ |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/time/internal/cctz:civil_time__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/time/internal/cctz:time_zone |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| srcs: [ |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc", |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc", |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc", |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc", |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc", |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc", |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc", |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc", |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/time/internal/cctz:time_zone__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc", |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc", |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc", |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc", |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc", |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc", |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc", |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc", |
| "third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/time:time |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| srcs: [ |
| "third_party/abseil-cpp/absl/time/civil_time.cc", |
| "third_party/abseil-cpp/absl/time/clock.cc", |
| "third_party/abseil-cpp/absl/time/duration.cc", |
| "third_party/abseil-cpp/absl/time/format.cc", |
| "third_party/abseil-cpp/absl/time/time.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/time:time__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/time/civil_time.cc", |
| "third_party/abseil-cpp/absl/time/clock.cc", |
| "third_party/abseil-cpp/absl/time/duration.cc", |
| "third_party/abseil-cpp/absl/time/format.cc", |
| "third_party/abseil-cpp/absl/time/time.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/types:bad_optional_access |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| srcs: [ |
| "third_party/abseil-cpp/absl/types/bad_optional_access.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/types:bad_optional_access__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/types/bad_optional_access.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/types:bad_variant_access |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| srcs: [ |
| "third_party/abseil-cpp/absl/types/bad_variant_access.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/abseil-cpp/absl/types:bad_variant_access__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| srcs: [ |
| "third_party/abseil-cpp/absl/types/bad_variant_access.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DABSL_ALLOCATOR_NOTHROW=1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/android_ndk:cpu_features |
| cc_library_static { |
| name: "cronet_aml_third_party_android_ndk_cpu_features", |
| srcs: [ |
| "third_party/android_ndk/sources/android/cpufeatures/cpu-features.c", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/android_ndk/sources/android/cpufeatures/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/android_ndk:cpu_features__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| srcs: [ |
| "third_party/android_ndk/sources/android/cpufeatures/cpu-features.c", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/android_ndk/sources/android/cpufeatures/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/ashmem:ashmem |
| cc_library_static { |
| name: "cronet_aml_third_party_ashmem_ashmem", |
| srcs: [ |
| "third_party/ashmem/ashmem-dev.c", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/ashmem:ashmem__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_ashmem_ashmem__testing", |
| srcs: [ |
| "third_party/ashmem/ashmem-dev.c", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/boringssl:boringssl__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_boringssl_boringssl__testing", |
| srcs: [ |
| "third_party/boringssl/err_data.c", |
| "third_party/boringssl/src/crypto/asn1/a_bitstr.c", |
| "third_party/boringssl/src/crypto/asn1/a_bool.c", |
| "third_party/boringssl/src/crypto/asn1/a_d2i_fp.c", |
| "third_party/boringssl/src/crypto/asn1/a_dup.c", |
| "third_party/boringssl/src/crypto/asn1/a_gentm.c", |
| "third_party/boringssl/src/crypto/asn1/a_i2d_fp.c", |
| "third_party/boringssl/src/crypto/asn1/a_int.c", |
| "third_party/boringssl/src/crypto/asn1/a_mbstr.c", |
| "third_party/boringssl/src/crypto/asn1/a_object.c", |
| "third_party/boringssl/src/crypto/asn1/a_octet.c", |
| "third_party/boringssl/src/crypto/asn1/a_strex.c", |
| "third_party/boringssl/src/crypto/asn1/a_strnid.c", |
| "third_party/boringssl/src/crypto/asn1/a_time.c", |
| "third_party/boringssl/src/crypto/asn1/a_type.c", |
| "third_party/boringssl/src/crypto/asn1/a_utctm.c", |
| "third_party/boringssl/src/crypto/asn1/asn1_lib.c", |
| "third_party/boringssl/src/crypto/asn1/asn1_par.c", |
| "third_party/boringssl/src/crypto/asn1/asn_pack.c", |
| "third_party/boringssl/src/crypto/asn1/f_int.c", |
| "third_party/boringssl/src/crypto/asn1/f_string.c", |
| "third_party/boringssl/src/crypto/asn1/posix_time.c", |
| "third_party/boringssl/src/crypto/asn1/tasn_dec.c", |
| "third_party/boringssl/src/crypto/asn1/tasn_enc.c", |
| "third_party/boringssl/src/crypto/asn1/tasn_fre.c", |
| "third_party/boringssl/src/crypto/asn1/tasn_new.c", |
| "third_party/boringssl/src/crypto/asn1/tasn_typ.c", |
| "third_party/boringssl/src/crypto/asn1/tasn_utl.c", |
| "third_party/boringssl/src/crypto/base64/base64.c", |
| "third_party/boringssl/src/crypto/bio/bio.c", |
| "third_party/boringssl/src/crypto/bio/bio_mem.c", |
| "third_party/boringssl/src/crypto/bio/connect.c", |
| "third_party/boringssl/src/crypto/bio/fd.c", |
| "third_party/boringssl/src/crypto/bio/file.c", |
| "third_party/boringssl/src/crypto/bio/hexdump.c", |
| "third_party/boringssl/src/crypto/bio/pair.c", |
| "third_party/boringssl/src/crypto/bio/printf.c", |
| "third_party/boringssl/src/crypto/bio/socket.c", |
| "third_party/boringssl/src/crypto/bio/socket_helper.c", |
| "third_party/boringssl/src/crypto/blake2/blake2.c", |
| "third_party/boringssl/src/crypto/bn_extra/bn_asn1.c", |
| "third_party/boringssl/src/crypto/bn_extra/convert.c", |
| "third_party/boringssl/src/crypto/buf/buf.c", |
| "third_party/boringssl/src/crypto/bytestring/asn1_compat.c", |
| "third_party/boringssl/src/crypto/bytestring/ber.c", |
| "third_party/boringssl/src/crypto/bytestring/cbb.c", |
| "third_party/boringssl/src/crypto/bytestring/cbs.c", |
| "third_party/boringssl/src/crypto/bytestring/unicode.c", |
| "third_party/boringssl/src/crypto/chacha/chacha.c", |
| "third_party/boringssl/src/crypto/cipher_extra/cipher_extra.c", |
| "third_party/boringssl/src/crypto/cipher_extra/derive_key.c", |
| "third_party/boringssl/src/crypto/cipher_extra/e_aesctrhmac.c", |
| "third_party/boringssl/src/crypto/cipher_extra/e_aesgcmsiv.c", |
| "third_party/boringssl/src/crypto/cipher_extra/e_chacha20poly1305.c", |
| "third_party/boringssl/src/crypto/cipher_extra/e_des.c", |
| "third_party/boringssl/src/crypto/cipher_extra/e_null.c", |
| "third_party/boringssl/src/crypto/cipher_extra/e_rc2.c", |
| "third_party/boringssl/src/crypto/cipher_extra/e_rc4.c", |
| "third_party/boringssl/src/crypto/cipher_extra/e_tls.c", |
| "third_party/boringssl/src/crypto/cipher_extra/tls_cbc.c", |
| "third_party/boringssl/src/crypto/conf/conf.c", |
| "third_party/boringssl/src/crypto/cpu_aarch64_apple.c", |
| "third_party/boringssl/src/crypto/cpu_aarch64_freebsd.c", |
| "third_party/boringssl/src/crypto/cpu_aarch64_fuchsia.c", |
| "third_party/boringssl/src/crypto/cpu_aarch64_linux.c", |
| "third_party/boringssl/src/crypto/cpu_aarch64_win.c", |
| "third_party/boringssl/src/crypto/cpu_arm.c", |
| "third_party/boringssl/src/crypto/cpu_arm_freebsd.c", |
| "third_party/boringssl/src/crypto/cpu_arm_linux.c", |
| "third_party/boringssl/src/crypto/cpu_intel.c", |
| "third_party/boringssl/src/crypto/crypto.c", |
| "third_party/boringssl/src/crypto/curve25519/curve25519.c", |
| "third_party/boringssl/src/crypto/curve25519/spake25519.c", |
| "third_party/boringssl/src/crypto/des/des.c", |
| "third_party/boringssl/src/crypto/dh_extra/dh_asn1.c", |
| "third_party/boringssl/src/crypto/dh_extra/params.c", |
| "third_party/boringssl/src/crypto/digest_extra/digest_extra.c", |
| "third_party/boringssl/src/crypto/dsa/dsa.c", |
| "third_party/boringssl/src/crypto/dsa/dsa_asn1.c", |
| "third_party/boringssl/src/crypto/ec_extra/ec_asn1.c", |
| "third_party/boringssl/src/crypto/ec_extra/ec_derive.c", |
| "third_party/boringssl/src/crypto/ec_extra/hash_to_curve.c", |
| "third_party/boringssl/src/crypto/ecdh_extra/ecdh_extra.c", |
| "third_party/boringssl/src/crypto/ecdsa_extra/ecdsa_asn1.c", |
| "third_party/boringssl/src/crypto/engine/engine.c", |
| "third_party/boringssl/src/crypto/err/err.c", |
| "third_party/boringssl/src/crypto/evp/evp.c", |
| "third_party/boringssl/src/crypto/evp/evp_asn1.c", |
| "third_party/boringssl/src/crypto/evp/evp_ctx.c", |
| "third_party/boringssl/src/crypto/evp/p_dsa_asn1.c", |
| "third_party/boringssl/src/crypto/evp/p_ec.c", |
| "third_party/boringssl/src/crypto/evp/p_ec_asn1.c", |
| "third_party/boringssl/src/crypto/evp/p_ed25519.c", |
| "third_party/boringssl/src/crypto/evp/p_ed25519_asn1.c", |
| "third_party/boringssl/src/crypto/evp/p_hkdf.c", |
| "third_party/boringssl/src/crypto/evp/p_rsa.c", |
| "third_party/boringssl/src/crypto/evp/p_rsa_asn1.c", |
| "third_party/boringssl/src/crypto/evp/p_x25519.c", |
| "third_party/boringssl/src/crypto/evp/p_x25519_asn1.c", |
| "third_party/boringssl/src/crypto/evp/pbkdf.c", |
| "third_party/boringssl/src/crypto/evp/print.c", |
| "third_party/boringssl/src/crypto/evp/scrypt.c", |
| "third_party/boringssl/src/crypto/evp/sign.c", |
| "third_party/boringssl/src/crypto/ex_data.c", |
| "third_party/boringssl/src/crypto/fipsmodule/bcm.c", |
| "third_party/boringssl/src/crypto/fipsmodule/fips_shared_support.c", |
| "third_party/boringssl/src/crypto/hpke/hpke.c", |
| "third_party/boringssl/src/crypto/hrss/hrss.c", |
| "third_party/boringssl/src/crypto/kyber/keccak.c", |
| "third_party/boringssl/src/crypto/kyber/kyber.c", |
| "third_party/boringssl/src/crypto/lhash/lhash.c", |
| "third_party/boringssl/src/crypto/mem.c", |
| "third_party/boringssl/src/crypto/obj/obj.c", |
| "third_party/boringssl/src/crypto/obj/obj_xref.c", |
| "third_party/boringssl/src/crypto/pem/pem_all.c", |
| "third_party/boringssl/src/crypto/pem/pem_info.c", |
| "third_party/boringssl/src/crypto/pem/pem_lib.c", |
| "third_party/boringssl/src/crypto/pem/pem_oth.c", |
| "third_party/boringssl/src/crypto/pem/pem_pk8.c", |
| "third_party/boringssl/src/crypto/pem/pem_pkey.c", |
| "third_party/boringssl/src/crypto/pem/pem_x509.c", |
| "third_party/boringssl/src/crypto/pem/pem_xaux.c", |
| "third_party/boringssl/src/crypto/pkcs7/pkcs7.c", |
| "third_party/boringssl/src/crypto/pkcs7/pkcs7_x509.c", |
| "third_party/boringssl/src/crypto/pkcs8/p5_pbev2.c", |
| "third_party/boringssl/src/crypto/pkcs8/pkcs8.c", |
| "third_party/boringssl/src/crypto/pkcs8/pkcs8_x509.c", |
| "third_party/boringssl/src/crypto/poly1305/poly1305.c", |
| "third_party/boringssl/src/crypto/poly1305/poly1305_arm.c", |
| "third_party/boringssl/src/crypto/poly1305/poly1305_vec.c", |
| "third_party/boringssl/src/crypto/pool/pool.c", |
| "third_party/boringssl/src/crypto/rand_extra/deterministic.c", |
| "third_party/boringssl/src/crypto/rand_extra/forkunsafe.c", |
| "third_party/boringssl/src/crypto/rand_extra/fuchsia.c", |
| "third_party/boringssl/src/crypto/rand_extra/passive.c", |
| "third_party/boringssl/src/crypto/rand_extra/rand_extra.c", |
| "third_party/boringssl/src/crypto/rand_extra/windows.c", |
| "third_party/boringssl/src/crypto/rc4/rc4.c", |
| "third_party/boringssl/src/crypto/refcount_c11.c", |
| "third_party/boringssl/src/crypto/refcount_lock.c", |
| "third_party/boringssl/src/crypto/rsa_extra/rsa_asn1.c", |
| "third_party/boringssl/src/crypto/rsa_extra/rsa_crypt.c", |
| "third_party/boringssl/src/crypto/rsa_extra/rsa_print.c", |
| "third_party/boringssl/src/crypto/siphash/siphash.c", |
| "third_party/boringssl/src/crypto/stack/stack.c", |
| "third_party/boringssl/src/crypto/thread.c", |
| "third_party/boringssl/src/crypto/thread_none.c", |
| "third_party/boringssl/src/crypto/thread_pthread.c", |
| "third_party/boringssl/src/crypto/thread_win.c", |
| "third_party/boringssl/src/crypto/trust_token/pmbtoken.c", |
| "third_party/boringssl/src/crypto/trust_token/trust_token.c", |
| "third_party/boringssl/src/crypto/trust_token/voprf.c", |
| "third_party/boringssl/src/crypto/x509/a_digest.c", |
| "third_party/boringssl/src/crypto/x509/a_sign.c", |
| "third_party/boringssl/src/crypto/x509/a_verify.c", |
| "third_party/boringssl/src/crypto/x509/algorithm.c", |
| "third_party/boringssl/src/crypto/x509/asn1_gen.c", |
| "third_party/boringssl/src/crypto/x509/by_dir.c", |
| "third_party/boringssl/src/crypto/x509/by_file.c", |
| "third_party/boringssl/src/crypto/x509/i2d_pr.c", |
| "third_party/boringssl/src/crypto/x509/name_print.c", |
| "third_party/boringssl/src/crypto/x509/policy.c", |
| "third_party/boringssl/src/crypto/x509/rsa_pss.c", |
| "third_party/boringssl/src/crypto/x509/t_crl.c", |
| "third_party/boringssl/src/crypto/x509/t_req.c", |
| "third_party/boringssl/src/crypto/x509/t_x509.c", |
| "third_party/boringssl/src/crypto/x509/t_x509a.c", |
| "third_party/boringssl/src/crypto/x509/x509.c", |
| "third_party/boringssl/src/crypto/x509/x509_att.c", |
| "third_party/boringssl/src/crypto/x509/x509_cmp.c", |
| "third_party/boringssl/src/crypto/x509/x509_d2.c", |
| "third_party/boringssl/src/crypto/x509/x509_def.c", |
| "third_party/boringssl/src/crypto/x509/x509_ext.c", |
| "third_party/boringssl/src/crypto/x509/x509_lu.c", |
| "third_party/boringssl/src/crypto/x509/x509_obj.c", |
| "third_party/boringssl/src/crypto/x509/x509_req.c", |
| "third_party/boringssl/src/crypto/x509/x509_set.c", |
| "third_party/boringssl/src/crypto/x509/x509_trs.c", |
| "third_party/boringssl/src/crypto/x509/x509_txt.c", |
| "third_party/boringssl/src/crypto/x509/x509_v3.c", |
| "third_party/boringssl/src/crypto/x509/x509_vfy.c", |
| "third_party/boringssl/src/crypto/x509/x509_vpm.c", |
| "third_party/boringssl/src/crypto/x509/x509cset.c", |
| "third_party/boringssl/src/crypto/x509/x509name.c", |
| "third_party/boringssl/src/crypto/x509/x509rset.c", |
| "third_party/boringssl/src/crypto/x509/x509spki.c", |
| "third_party/boringssl/src/crypto/x509/x_algor.c", |
| "third_party/boringssl/src/crypto/x509/x_all.c", |
| "third_party/boringssl/src/crypto/x509/x_attrib.c", |
| "third_party/boringssl/src/crypto/x509/x_crl.c", |
| "third_party/boringssl/src/crypto/x509/x_exten.c", |
| "third_party/boringssl/src/crypto/x509/x_info.c", |
| "third_party/boringssl/src/crypto/x509/x_name.c", |
| "third_party/boringssl/src/crypto/x509/x_pkey.c", |
| "third_party/boringssl/src/crypto/x509/x_pubkey.c", |
| "third_party/boringssl/src/crypto/x509/x_req.c", |
| "third_party/boringssl/src/crypto/x509/x_sig.c", |
| "third_party/boringssl/src/crypto/x509/x_spki.c", |
| "third_party/boringssl/src/crypto/x509/x_val.c", |
| "third_party/boringssl/src/crypto/x509/x_x509.c", |
| "third_party/boringssl/src/crypto/x509/x_x509a.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_akey.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_akeya.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_alt.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_bcons.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_bitst.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_conf.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_cpols.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_crld.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_enum.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_extku.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_genn.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_ia5.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_info.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_int.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_lib.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_ncons.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_ocsp.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_pcons.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_pmaps.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_prn.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_purp.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_skey.c", |
| "third_party/boringssl/src/crypto/x509v3/v3_utl.c", |
| "third_party/boringssl/src/ssl/bio_ssl.cc", |
| "third_party/boringssl/src/ssl/d1_both.cc", |
| "third_party/boringssl/src/ssl/d1_lib.cc", |
| "third_party/boringssl/src/ssl/d1_pkt.cc", |
| "third_party/boringssl/src/ssl/d1_srtp.cc", |
| "third_party/boringssl/src/ssl/dtls_method.cc", |
| "third_party/boringssl/src/ssl/dtls_record.cc", |
| "third_party/boringssl/src/ssl/encrypted_client_hello.cc", |
| "third_party/boringssl/src/ssl/extensions.cc", |
| "third_party/boringssl/src/ssl/handoff.cc", |
| "third_party/boringssl/src/ssl/handshake.cc", |
| "third_party/boringssl/src/ssl/handshake_client.cc", |
| "third_party/boringssl/src/ssl/handshake_server.cc", |
| "third_party/boringssl/src/ssl/s3_both.cc", |
| "third_party/boringssl/src/ssl/s3_lib.cc", |
| "third_party/boringssl/src/ssl/s3_pkt.cc", |
| "third_party/boringssl/src/ssl/ssl_aead_ctx.cc", |
| "third_party/boringssl/src/ssl/ssl_asn1.cc", |
| "third_party/boringssl/src/ssl/ssl_buffer.cc", |
| "third_party/boringssl/src/ssl/ssl_cert.cc", |
| "third_party/boringssl/src/ssl/ssl_cipher.cc", |
| "third_party/boringssl/src/ssl/ssl_file.cc", |
| "third_party/boringssl/src/ssl/ssl_key_share.cc", |
| "third_party/boringssl/src/ssl/ssl_lib.cc", |
| "third_party/boringssl/src/ssl/ssl_privkey.cc", |
| "third_party/boringssl/src/ssl/ssl_session.cc", |
| "third_party/boringssl/src/ssl/ssl_stat.cc", |
| "third_party/boringssl/src/ssl/ssl_transcript.cc", |
| "third_party/boringssl/src/ssl/ssl_versions.cc", |
| "third_party/boringssl/src/ssl/ssl_x509.cc", |
| "third_party/boringssl/src/ssl/t1_enc.cc", |
| "third_party/boringssl/src/ssl/tls13_both.cc", |
| "third_party/boringssl/src/ssl/tls13_client.cc", |
| "third_party/boringssl/src/ssl/tls13_enc.cc", |
| "third_party/boringssl/src/ssl/tls13_server.cc", |
| "third_party/boringssl/src/ssl/tls_method.cc", |
| "third_party/boringssl/src/ssl/tls_record.cc", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DBORINGSSL_ALLOW_CXX_RUNTIME", |
| "-DBORINGSSL_IMPLEMENTATION", |
| "-DBORINGSSL_NO_STATIC_INITIALIZER", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DOPENSSL_SMALL", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/boringssl:boringssl_asm__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| srcs: [ |
| "third_party/boringssl/linux-arm/crypto/chacha/chacha-armv4-linux.S", |
| "third_party/boringssl/linux-arm/crypto/fipsmodule/aesv8-armv7-linux.S", |
| "third_party/boringssl/linux-arm/crypto/fipsmodule/armv4-mont-linux.S", |
| "third_party/boringssl/linux-arm/crypto/fipsmodule/bsaes-armv7-linux.S", |
| "third_party/boringssl/linux-arm/crypto/fipsmodule/ghash-armv4-linux.S", |
| "third_party/boringssl/linux-arm/crypto/fipsmodule/ghashv8-armv7-linux.S", |
| "third_party/boringssl/linux-arm/crypto/fipsmodule/sha1-armv4-large-linux.S", |
| "third_party/boringssl/linux-arm/crypto/fipsmodule/sha256-armv4-linux.S", |
| "third_party/boringssl/linux-arm/crypto/fipsmodule/sha512-armv4-linux.S", |
| "third_party/boringssl/linux-arm/crypto/fipsmodule/vpaes-armv7-linux.S", |
| "third_party/boringssl/linux-arm/crypto/test/trampoline-armv4-linux.S", |
| "third_party/boringssl/src/crypto/curve25519/asm/x25519-asm-arm.S", |
| "third_party/boringssl/src/crypto/poly1305/poly1305_arm_asm.S", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| srcs: [ |
| "third_party/boringssl/linux-aarch64/crypto/chacha/chacha-armv8-linux.S", |
| "third_party/boringssl/linux-aarch64/crypto/cipher_extra/chacha20_poly1305_armv8-linux.S", |
| "third_party/boringssl/linux-aarch64/crypto/fipsmodule/aesv8-armv8-linux.S", |
| "third_party/boringssl/linux-aarch64/crypto/fipsmodule/aesv8-gcm-armv8-linux.S", |
| "third_party/boringssl/linux-aarch64/crypto/fipsmodule/armv8-mont-linux.S", |
| "third_party/boringssl/linux-aarch64/crypto/fipsmodule/bn-armv8-linux.S", |
| "third_party/boringssl/linux-aarch64/crypto/fipsmodule/ghash-neon-armv8-linux.S", |
| "third_party/boringssl/linux-aarch64/crypto/fipsmodule/ghashv8-armv8-linux.S", |
| "third_party/boringssl/linux-aarch64/crypto/fipsmodule/p256-armv8-asm-linux.S", |
| "third_party/boringssl/linux-aarch64/crypto/fipsmodule/p256_beeu-armv8-asm-linux.S", |
| "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha1-armv8-linux.S", |
| "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha256-armv8-linux.S", |
| "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha512-armv8-linux.S", |
| "third_party/boringssl/linux-aarch64/crypto/fipsmodule/vpaes-armv8-linux.S", |
| "third_party/boringssl/linux-aarch64/crypto/test/trampoline-armv8-linux.S", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| srcs: [ |
| "third_party/boringssl/linux-x86/crypto/chacha/chacha-x86-linux.S", |
| "third_party/boringssl/linux-x86/crypto/fipsmodule/aesni-x86-linux.S", |
| "third_party/boringssl/linux-x86/crypto/fipsmodule/bn-586-linux.S", |
| "third_party/boringssl/linux-x86/crypto/fipsmodule/co-586-linux.S", |
| "third_party/boringssl/linux-x86/crypto/fipsmodule/ghash-ssse3-x86-linux.S", |
| "third_party/boringssl/linux-x86/crypto/fipsmodule/ghash-x86-linux.S", |
| "third_party/boringssl/linux-x86/crypto/fipsmodule/md5-586-linux.S", |
| "third_party/boringssl/linux-x86/crypto/fipsmodule/sha1-586-linux.S", |
| "third_party/boringssl/linux-x86/crypto/fipsmodule/sha256-586-linux.S", |
| "third_party/boringssl/linux-x86/crypto/fipsmodule/sha512-586-linux.S", |
| "third_party/boringssl/linux-x86/crypto/fipsmodule/vpaes-x86-linux.S", |
| "third_party/boringssl/linux-x86/crypto/fipsmodule/x86-mont-linux.S", |
| "third_party/boringssl/linux-x86/crypto/test/trampoline-x86-linux.S", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| srcs: [ |
| "third_party/boringssl/linux-x86_64/crypto/chacha/chacha-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/cipher_extra/aes128gcmsiv-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-gcm-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-ssse3-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/md5-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256-x86_64-asm-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256_beeu-x86_64-asm-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rdrand-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rsaz-avx2-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha1-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha256-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha512-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/vpaes-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont5-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/test/trampoline-x86_64-linux.S", |
| "third_party/boringssl/src/crypto/hrss/asm/poly_rq_mul.S", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| srcs: [ |
| "third_party/boringssl/linux-x86_64/crypto/chacha/chacha-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/cipher_extra/aes128gcmsiv-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-gcm-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-ssse3-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/md5-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256-x86_64-asm-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256_beeu-x86_64-asm-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rdrand-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rsaz-avx2-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha1-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha256-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha512-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/vpaes-x86_64-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont5-linux.S", |
| "third_party/boringssl/linux-x86_64/crypto/test/trampoline-x86_64-linux.S", |
| "third_party/boringssl/src/crypto/hrss/asm/poly_rq_mul.S", |
| ], |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/brotli:common |
| cc_library_static { |
| name: "cronet_aml_third_party_brotli_common", |
| srcs: [ |
| "third_party/brotli/common/constants.c", |
| "third_party/brotli/common/context.c", |
| "third_party/brotli/common/dictionary.c", |
| "third_party/brotli/common/platform.c", |
| "third_party/brotli/common/shared_dictionary.c", |
| "third_party/brotli/common/transform.c", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/brotli/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/brotli:common__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_brotli_common__testing", |
| srcs: [ |
| "third_party/brotli/common/constants.c", |
| "third_party/brotli/common/context.c", |
| "third_party/brotli/common/dictionary.c", |
| "third_party/brotli/common/platform.c", |
| "third_party/brotli/common/shared_dictionary.c", |
| "third_party/brotli/common/transform.c", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/brotli/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/brotli:dec |
| cc_library_static { |
| name: "cronet_aml_third_party_brotli_dec", |
| srcs: [ |
| "third_party/brotli/dec/bit_reader.c", |
| "third_party/brotli/dec/decode.c", |
| "third_party/brotli/dec/huffman.c", |
| "third_party/brotli/dec/state.c", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_brotli_common", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/brotli/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/brotli:dec__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_brotli_dec__testing", |
| srcs: [ |
| "third_party/brotli/dec/bit_reader.c", |
| "third_party/brotli/dec/decode.c", |
| "third_party/brotli/dec/huffman.c", |
| "third_party/brotli/dec/state.c", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_brotli_common__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/brotli/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/ced:ced__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_ced_ced__testing", |
| srcs: [ |
| "third_party/ced/src/compact_enc_det/compact_enc_det.cc", |
| "third_party/ced/src/compact_enc_det/compact_enc_det_hint_code.cc", |
| "third_party/ced/src/util/encodings/encodings.cc", |
| "third_party/ced/src/util/languages/languages.cc", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCOMPILER_GCC", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DHTML5_MODE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/ced/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/googletest:gmock__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_googletest_gmock__testing", |
| srcs: [ |
| "third_party/googletest/src/googlemock/src/gmock-cardinalities.cc", |
| "third_party/googletest/src/googlemock/src/gmock-internal-utils.cc", |
| "third_party/googletest/src/googlemock/src/gmock-matchers.cc", |
| "third_party/googletest/src/googlemock/src/gmock-spec-builders.cc", |
| "third_party/googletest/src/googlemock/src/gmock.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_googletest_gtest__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googlemock/include/", |
| "third_party/googletest/src/googletest/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/googletest:gtest__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_googletest_gtest__testing", |
| srcs: [ |
| "third_party/googletest/custom/gtest/internal/custom/chrome_custom_temp_dir.cc", |
| "third_party/googletest/custom/gtest/internal/custom/gtest_port_wrapper.cc", |
| "third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc", |
| "third_party/googletest/src/googletest/src/gtest-assertion-result.cc", |
| "third_party/googletest/src/googletest/src/gtest-death-test.cc", |
| "third_party/googletest/src/googletest/src/gtest-filepath.cc", |
| "third_party/googletest/src/googletest/src/gtest-matchers.cc", |
| "third_party/googletest/src/googletest/src/gtest-printers.cc", |
| "third_party/googletest/src/googletest/src/gtest-test-part.cc", |
| "third_party/googletest/src/googletest/src/gtest-typed-test.cc", |
| "third_party/googletest/src/googletest/src/gtest.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGTEST_API_=", |
| "-DGTEST_HAS_ABSL=1", |
| "-DGTEST_HAS_POSIX_RE=0", |
| "-DGTEST_HAS_TR1_TUPLE=0", |
| "-DGTEST_LANG_CXX11=1", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| "third_party/googletest/custom/", |
| "third_party/googletest/src/googletest/", |
| "third_party/googletest/src/googletest/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/icu:icui18n |
| cc_library_static { |
| name: "cronet_aml_third_party_icu_icui18n", |
| srcs: [ |
| "third_party/icu/source/i18n/alphaindex.cpp", |
| "third_party/icu/source/i18n/anytrans.cpp", |
| "third_party/icu/source/i18n/astro.cpp", |
| "third_party/icu/source/i18n/basictz.cpp", |
| "third_party/icu/source/i18n/bocsu.cpp", |
| "third_party/icu/source/i18n/brktrans.cpp", |
| "third_party/icu/source/i18n/buddhcal.cpp", |
| "third_party/icu/source/i18n/calendar.cpp", |
| "third_party/icu/source/i18n/casetrn.cpp", |
| "third_party/icu/source/i18n/cecal.cpp", |
| "third_party/icu/source/i18n/chnsecal.cpp", |
| "third_party/icu/source/i18n/choicfmt.cpp", |
| "third_party/icu/source/i18n/coleitr.cpp", |
| "third_party/icu/source/i18n/coll.cpp", |
| "third_party/icu/source/i18n/collation.cpp", |
| "third_party/icu/source/i18n/collationbuilder.cpp", |
| "third_party/icu/source/i18n/collationcompare.cpp", |
| "third_party/icu/source/i18n/collationdata.cpp", |
| "third_party/icu/source/i18n/collationdatabuilder.cpp", |
| "third_party/icu/source/i18n/collationdatareader.cpp", |
| "third_party/icu/source/i18n/collationdatawriter.cpp", |
| "third_party/icu/source/i18n/collationfastlatin.cpp", |
| "third_party/icu/source/i18n/collationfastlatinbuilder.cpp", |
| "third_party/icu/source/i18n/collationfcd.cpp", |
| "third_party/icu/source/i18n/collationiterator.cpp", |
| "third_party/icu/source/i18n/collationkeys.cpp", |
| "third_party/icu/source/i18n/collationroot.cpp", |
| "third_party/icu/source/i18n/collationrootelements.cpp", |
| "third_party/icu/source/i18n/collationruleparser.cpp", |
| "third_party/icu/source/i18n/collationsets.cpp", |
| "third_party/icu/source/i18n/collationsettings.cpp", |
| "third_party/icu/source/i18n/collationtailoring.cpp", |
| "third_party/icu/source/i18n/collationweights.cpp", |
| "third_party/icu/source/i18n/compactdecimalformat.cpp", |
| "third_party/icu/source/i18n/coptccal.cpp", |
| "third_party/icu/source/i18n/cpdtrans.cpp", |
| "third_party/icu/source/i18n/csdetect.cpp", |
| "third_party/icu/source/i18n/csmatch.cpp", |
| "third_party/icu/source/i18n/csr2022.cpp", |
| "third_party/icu/source/i18n/csrecog.cpp", |
| "third_party/icu/source/i18n/csrmbcs.cpp", |
| "third_party/icu/source/i18n/csrsbcs.cpp", |
| "third_party/icu/source/i18n/csrucode.cpp", |
| "third_party/icu/source/i18n/csrutf8.cpp", |
| "third_party/icu/source/i18n/curramt.cpp", |
| "third_party/icu/source/i18n/currfmt.cpp", |
| "third_party/icu/source/i18n/currpinf.cpp", |
| "third_party/icu/source/i18n/currunit.cpp", |
| "third_party/icu/source/i18n/dangical.cpp", |
| "third_party/icu/source/i18n/datefmt.cpp", |
| "third_party/icu/source/i18n/dayperiodrules.cpp", |
| "third_party/icu/source/i18n/dcfmtsym.cpp", |
| "third_party/icu/source/i18n/decContext.cpp", |
| "third_party/icu/source/i18n/decNumber.cpp", |
| "third_party/icu/source/i18n/decimfmt.cpp", |
| "third_party/icu/source/i18n/displayoptions.cpp", |
| "third_party/icu/source/i18n/double-conversion-bignum-dtoa.cpp", |
| "third_party/icu/source/i18n/double-conversion-bignum.cpp", |
| "third_party/icu/source/i18n/double-conversion-cached-powers.cpp", |
| "third_party/icu/source/i18n/double-conversion-double-to-string.cpp", |
| "third_party/icu/source/i18n/double-conversion-fast-dtoa.cpp", |
| "third_party/icu/source/i18n/double-conversion-string-to-double.cpp", |
| "third_party/icu/source/i18n/double-conversion-strtod.cpp", |
| "third_party/icu/source/i18n/dtfmtsym.cpp", |
| "third_party/icu/source/i18n/dtitvfmt.cpp", |
| "third_party/icu/source/i18n/dtitvinf.cpp", |
| "third_party/icu/source/i18n/dtptngen.cpp", |
| "third_party/icu/source/i18n/dtrule.cpp", |
| "third_party/icu/source/i18n/erarules.cpp", |
| "third_party/icu/source/i18n/esctrn.cpp", |
| "third_party/icu/source/i18n/ethpccal.cpp", |
| "third_party/icu/source/i18n/fmtable.cpp", |
| "third_party/icu/source/i18n/fmtable_cnv.cpp", |
| "third_party/icu/source/i18n/format.cpp", |
| "third_party/icu/source/i18n/formatted_string_builder.cpp", |
| "third_party/icu/source/i18n/formattedval_iterimpl.cpp", |
| "third_party/icu/source/i18n/formattedval_sbimpl.cpp", |
| "third_party/icu/source/i18n/formattedvalue.cpp", |
| "third_party/icu/source/i18n/fphdlimp.cpp", |
| "third_party/icu/source/i18n/fpositer.cpp", |
| "third_party/icu/source/i18n/funcrepl.cpp", |
| "third_party/icu/source/i18n/gender.cpp", |
| "third_party/icu/source/i18n/gregocal.cpp", |
| "third_party/icu/source/i18n/gregoimp.cpp", |
| "third_party/icu/source/i18n/hebrwcal.cpp", |
| "third_party/icu/source/i18n/indiancal.cpp", |
| "third_party/icu/source/i18n/inputext.cpp", |
| "third_party/icu/source/i18n/islamcal.cpp", |
| "third_party/icu/source/i18n/japancal.cpp", |
| "third_party/icu/source/i18n/listformatter.cpp", |
| "third_party/icu/source/i18n/measfmt.cpp", |
| "third_party/icu/source/i18n/measunit.cpp", |
| "third_party/icu/source/i18n/measunit_extra.cpp", |
| "third_party/icu/source/i18n/measure.cpp", |
| "third_party/icu/source/i18n/msgfmt.cpp", |
| "third_party/icu/source/i18n/name2uni.cpp", |
| "third_party/icu/source/i18n/nfrs.cpp", |
| "third_party/icu/source/i18n/nfrule.cpp", |
| "third_party/icu/source/i18n/nfsubs.cpp", |
| "third_party/icu/source/i18n/nortrans.cpp", |
| "third_party/icu/source/i18n/nultrans.cpp", |
| "third_party/icu/source/i18n/number_affixutils.cpp", |
| "third_party/icu/source/i18n/number_asformat.cpp", |
| "third_party/icu/source/i18n/number_capi.cpp", |
| "third_party/icu/source/i18n/number_compact.cpp", |
| "third_party/icu/source/i18n/number_currencysymbols.cpp", |
| "third_party/icu/source/i18n/number_decimalquantity.cpp", |
| "third_party/icu/source/i18n/number_decimfmtprops.cpp", |
| "third_party/icu/source/i18n/number_fluent.cpp", |
| "third_party/icu/source/i18n/number_formatimpl.cpp", |
| "third_party/icu/source/i18n/number_grouping.cpp", |
| "third_party/icu/source/i18n/number_integerwidth.cpp", |
| "third_party/icu/source/i18n/number_longnames.cpp", |
| "third_party/icu/source/i18n/number_mapper.cpp", |
| "third_party/icu/source/i18n/number_modifiers.cpp", |
| "third_party/icu/source/i18n/number_multiplier.cpp", |
| "third_party/icu/source/i18n/number_notation.cpp", |
| "third_party/icu/source/i18n/number_output.cpp", |
| "third_party/icu/source/i18n/number_padding.cpp", |
| "third_party/icu/source/i18n/number_patternmodifier.cpp", |
| "third_party/icu/source/i18n/number_patternstring.cpp", |
| "third_party/icu/source/i18n/number_rounding.cpp", |
| "third_party/icu/source/i18n/number_scientific.cpp", |
| "third_party/icu/source/i18n/number_skeletons.cpp", |
| "third_party/icu/source/i18n/number_symbolswrapper.cpp", |
| "third_party/icu/source/i18n/number_usageprefs.cpp", |
| "third_party/icu/source/i18n/number_utils.cpp", |
| "third_party/icu/source/i18n/numfmt.cpp", |
| "third_party/icu/source/i18n/numparse_affixes.cpp", |
| "third_party/icu/source/i18n/numparse_compositions.cpp", |
| "third_party/icu/source/i18n/numparse_currency.cpp", |
| "third_party/icu/source/i18n/numparse_decimal.cpp", |
| "third_party/icu/source/i18n/numparse_impl.cpp", |
| "third_party/icu/source/i18n/numparse_parsednumber.cpp", |
| "third_party/icu/source/i18n/numparse_scientific.cpp", |
| "third_party/icu/source/i18n/numparse_symbols.cpp", |
| "third_party/icu/source/i18n/numparse_validators.cpp", |
| "third_party/icu/source/i18n/numrange_capi.cpp", |
| "third_party/icu/source/i18n/numrange_fluent.cpp", |
| "third_party/icu/source/i18n/numrange_impl.cpp", |
| "third_party/icu/source/i18n/numsys.cpp", |
| "third_party/icu/source/i18n/olsontz.cpp", |
| "third_party/icu/source/i18n/persncal.cpp", |
| "third_party/icu/source/i18n/pluralranges.cpp", |
| "third_party/icu/source/i18n/plurfmt.cpp", |
| "third_party/icu/source/i18n/plurrule.cpp", |
| "third_party/icu/source/i18n/quant.cpp", |
| "third_party/icu/source/i18n/quantityformatter.cpp", |
| "third_party/icu/source/i18n/rbnf.cpp", |
| "third_party/icu/source/i18n/rbt.cpp", |
| "third_party/icu/source/i18n/rbt_data.cpp", |
| "third_party/icu/source/i18n/rbt_pars.cpp", |
| "third_party/icu/source/i18n/rbt_rule.cpp", |
| "third_party/icu/source/i18n/rbt_set.cpp", |
| "third_party/icu/source/i18n/rbtz.cpp", |
| "third_party/icu/source/i18n/regexcmp.cpp", |
| "third_party/icu/source/i18n/regeximp.cpp", |
| "third_party/icu/source/i18n/regexst.cpp", |
| "third_party/icu/source/i18n/regextxt.cpp", |
| "third_party/icu/source/i18n/region.cpp", |
| "third_party/icu/source/i18n/reldatefmt.cpp", |
| "third_party/icu/source/i18n/reldtfmt.cpp", |
| "third_party/icu/source/i18n/rematch.cpp", |
| "third_party/icu/source/i18n/remtrans.cpp", |
| "third_party/icu/source/i18n/repattrn.cpp", |
| "third_party/icu/source/i18n/rulebasedcollator.cpp", |
| "third_party/icu/source/i18n/scientificnumberformatter.cpp", |
| "third_party/icu/source/i18n/scriptset.cpp", |
| "third_party/icu/source/i18n/search.cpp", |
| "third_party/icu/source/i18n/selfmt.cpp", |
| "third_party/icu/source/i18n/sharedbreakiterator.cpp", |
| "third_party/icu/source/i18n/simpletz.cpp", |
| "third_party/icu/source/i18n/smpdtfmt.cpp", |
| "third_party/icu/source/i18n/smpdtfst.cpp", |
| "third_party/icu/source/i18n/sortkey.cpp", |
| "third_party/icu/source/i18n/standardplural.cpp", |
| "third_party/icu/source/i18n/string_segment.cpp", |
| "third_party/icu/source/i18n/strmatch.cpp", |
| "third_party/icu/source/i18n/strrepl.cpp", |
| "third_party/icu/source/i18n/stsearch.cpp", |
| "third_party/icu/source/i18n/taiwncal.cpp", |
| "third_party/icu/source/i18n/timezone.cpp", |
| "third_party/icu/source/i18n/titletrn.cpp", |
| "third_party/icu/source/i18n/tmunit.cpp", |
| "third_party/icu/source/i18n/tmutamt.cpp", |
| "third_party/icu/source/i18n/tmutfmt.cpp", |
| "third_party/icu/source/i18n/tolowtrn.cpp", |
| "third_party/icu/source/i18n/toupptrn.cpp", |
| "third_party/icu/source/i18n/translit.cpp", |
| "third_party/icu/source/i18n/transreg.cpp", |
| "third_party/icu/source/i18n/tridpars.cpp", |
| "third_party/icu/source/i18n/tzfmt.cpp", |
| "third_party/icu/source/i18n/tzgnames.cpp", |
| "third_party/icu/source/i18n/tznames.cpp", |
| "third_party/icu/source/i18n/tznames_impl.cpp", |
| "third_party/icu/source/i18n/tzrule.cpp", |
| "third_party/icu/source/i18n/tztrans.cpp", |
| "third_party/icu/source/i18n/ucal.cpp", |
| "third_party/icu/source/i18n/ucln_in.cpp", |
| "third_party/icu/source/i18n/ucol.cpp", |
| "third_party/icu/source/i18n/ucol_res.cpp", |
| "third_party/icu/source/i18n/ucol_sit.cpp", |
| "third_party/icu/source/i18n/ucoleitr.cpp", |
| "third_party/icu/source/i18n/ucsdet.cpp", |
| "third_party/icu/source/i18n/udat.cpp", |
| "third_party/icu/source/i18n/udateintervalformat.cpp", |
| "third_party/icu/source/i18n/udatpg.cpp", |
| "third_party/icu/source/i18n/ufieldpositer.cpp", |
| "third_party/icu/source/i18n/uitercollationiterator.cpp", |
| "third_party/icu/source/i18n/ulistformatter.cpp", |
| "third_party/icu/source/i18n/ulocdata.cpp", |
| "third_party/icu/source/i18n/umsg.cpp", |
| "third_party/icu/source/i18n/unesctrn.cpp", |
| "third_party/icu/source/i18n/uni2name.cpp", |
| "third_party/icu/source/i18n/units_complexconverter.cpp", |
| "third_party/icu/source/i18n/units_converter.cpp", |
| "third_party/icu/source/i18n/units_data.cpp", |
| "third_party/icu/source/i18n/units_router.cpp", |
| "third_party/icu/source/i18n/unum.cpp", |
| "third_party/icu/source/i18n/unumsys.cpp", |
| "third_party/icu/source/i18n/upluralrules.cpp", |
| "third_party/icu/source/i18n/uregex.cpp", |
| "third_party/icu/source/i18n/uregexc.cpp", |
| "third_party/icu/source/i18n/uregion.cpp", |
| "third_party/icu/source/i18n/usearch.cpp", |
| "third_party/icu/source/i18n/uspoof.cpp", |
| "third_party/icu/source/i18n/uspoof_build.cpp", |
| "third_party/icu/source/i18n/uspoof_conf.cpp", |
| "third_party/icu/source/i18n/uspoof_impl.cpp", |
| "third_party/icu/source/i18n/utf16collationiterator.cpp", |
| "third_party/icu/source/i18n/utf8collationiterator.cpp", |
| "third_party/icu/source/i18n/utmscale.cpp", |
| "third_party/icu/source/i18n/utrans.cpp", |
| "third_party/icu/source/i18n/vtzone.cpp", |
| "third_party/icu/source/i18n/vzone.cpp", |
| "third_party/icu/source/i18n/windtfmt.cpp", |
| "third_party/icu/source/i18n/winnmfmt.cpp", |
| "third_party/icu/source/i18n/wintzimpl.cpp", |
| "third_party/icu/source/i18n/zonemeta.cpp", |
| "third_party/icu/source/i18n/zrule.cpp", |
| "third_party/icu/source/i18n/ztrans.cpp", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_icu_icuuc_private", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_DLOPEN=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUCONFIG_ONLY_HTML_CONVERSION=1", |
| "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0", |
| "-DUSE_CHROMIUM_ICU=1", |
| "-DU_CHARSET_IS_UTF8=1", |
| "-DU_ENABLE_DYLOAD=0", |
| "-DU_ENABLE_RESOURCE_TRACING=0", |
| "-DU_ENABLE_TRACING=1", |
| "-DU_I18N_IMPLEMENTATION", |
| "-DU_STATIC_IMPLEMENTATION", |
| "-DU_USING_ICU_NAMESPACE=0", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| rtti: true, |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/icu:icui18n__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_icu_icui18n__testing", |
| srcs: [ |
| "third_party/icu/source/i18n/alphaindex.cpp", |
| "third_party/icu/source/i18n/anytrans.cpp", |
| "third_party/icu/source/i18n/astro.cpp", |
| "third_party/icu/source/i18n/basictz.cpp", |
| "third_party/icu/source/i18n/bocsu.cpp", |
| "third_party/icu/source/i18n/brktrans.cpp", |
| "third_party/icu/source/i18n/buddhcal.cpp", |
| "third_party/icu/source/i18n/calendar.cpp", |
| "third_party/icu/source/i18n/casetrn.cpp", |
| "third_party/icu/source/i18n/cecal.cpp", |
| "third_party/icu/source/i18n/chnsecal.cpp", |
| "third_party/icu/source/i18n/choicfmt.cpp", |
| "third_party/icu/source/i18n/coleitr.cpp", |
| "third_party/icu/source/i18n/coll.cpp", |
| "third_party/icu/source/i18n/collation.cpp", |
| "third_party/icu/source/i18n/collationbuilder.cpp", |
| "third_party/icu/source/i18n/collationcompare.cpp", |
| "third_party/icu/source/i18n/collationdata.cpp", |
| "third_party/icu/source/i18n/collationdatabuilder.cpp", |
| "third_party/icu/source/i18n/collationdatareader.cpp", |
| "third_party/icu/source/i18n/collationdatawriter.cpp", |
| "third_party/icu/source/i18n/collationfastlatin.cpp", |
| "third_party/icu/source/i18n/collationfastlatinbuilder.cpp", |
| "third_party/icu/source/i18n/collationfcd.cpp", |
| "third_party/icu/source/i18n/collationiterator.cpp", |
| "third_party/icu/source/i18n/collationkeys.cpp", |
| "third_party/icu/source/i18n/collationroot.cpp", |
| "third_party/icu/source/i18n/collationrootelements.cpp", |
| "third_party/icu/source/i18n/collationruleparser.cpp", |
| "third_party/icu/source/i18n/collationsets.cpp", |
| "third_party/icu/source/i18n/collationsettings.cpp", |
| "third_party/icu/source/i18n/collationtailoring.cpp", |
| "third_party/icu/source/i18n/collationweights.cpp", |
| "third_party/icu/source/i18n/compactdecimalformat.cpp", |
| "third_party/icu/source/i18n/coptccal.cpp", |
| "third_party/icu/source/i18n/cpdtrans.cpp", |
| "third_party/icu/source/i18n/csdetect.cpp", |
| "third_party/icu/source/i18n/csmatch.cpp", |
| "third_party/icu/source/i18n/csr2022.cpp", |
| "third_party/icu/source/i18n/csrecog.cpp", |
| "third_party/icu/source/i18n/csrmbcs.cpp", |
| "third_party/icu/source/i18n/csrsbcs.cpp", |
| "third_party/icu/source/i18n/csrucode.cpp", |
| "third_party/icu/source/i18n/csrutf8.cpp", |
| "third_party/icu/source/i18n/curramt.cpp", |
| "third_party/icu/source/i18n/currfmt.cpp", |
| "third_party/icu/source/i18n/currpinf.cpp", |
| "third_party/icu/source/i18n/currunit.cpp", |
| "third_party/icu/source/i18n/dangical.cpp", |
| "third_party/icu/source/i18n/datefmt.cpp", |
| "third_party/icu/source/i18n/dayperiodrules.cpp", |
| "third_party/icu/source/i18n/dcfmtsym.cpp", |
| "third_party/icu/source/i18n/decContext.cpp", |
| "third_party/icu/source/i18n/decNumber.cpp", |
| "third_party/icu/source/i18n/decimfmt.cpp", |
| "third_party/icu/source/i18n/displayoptions.cpp", |
| "third_party/icu/source/i18n/double-conversion-bignum-dtoa.cpp", |
| "third_party/icu/source/i18n/double-conversion-bignum.cpp", |
| "third_party/icu/source/i18n/double-conversion-cached-powers.cpp", |
| "third_party/icu/source/i18n/double-conversion-double-to-string.cpp", |
| "third_party/icu/source/i18n/double-conversion-fast-dtoa.cpp", |
| "third_party/icu/source/i18n/double-conversion-string-to-double.cpp", |
| "third_party/icu/source/i18n/double-conversion-strtod.cpp", |
| "third_party/icu/source/i18n/dtfmtsym.cpp", |
| "third_party/icu/source/i18n/dtitvfmt.cpp", |
| "third_party/icu/source/i18n/dtitvinf.cpp", |
| "third_party/icu/source/i18n/dtptngen.cpp", |
| "third_party/icu/source/i18n/dtrule.cpp", |
| "third_party/icu/source/i18n/erarules.cpp", |
| "third_party/icu/source/i18n/esctrn.cpp", |
| "third_party/icu/source/i18n/ethpccal.cpp", |
| "third_party/icu/source/i18n/fmtable.cpp", |
| "third_party/icu/source/i18n/fmtable_cnv.cpp", |
| "third_party/icu/source/i18n/format.cpp", |
| "third_party/icu/source/i18n/formatted_string_builder.cpp", |
| "third_party/icu/source/i18n/formattedval_iterimpl.cpp", |
| "third_party/icu/source/i18n/formattedval_sbimpl.cpp", |
| "third_party/icu/source/i18n/formattedvalue.cpp", |
| "third_party/icu/source/i18n/fphdlimp.cpp", |
| "third_party/icu/source/i18n/fpositer.cpp", |
| "third_party/icu/source/i18n/funcrepl.cpp", |
| "third_party/icu/source/i18n/gender.cpp", |
| "third_party/icu/source/i18n/gregocal.cpp", |
| "third_party/icu/source/i18n/gregoimp.cpp", |
| "third_party/icu/source/i18n/hebrwcal.cpp", |
| "third_party/icu/source/i18n/indiancal.cpp", |
| "third_party/icu/source/i18n/inputext.cpp", |
| "third_party/icu/source/i18n/islamcal.cpp", |
| "third_party/icu/source/i18n/japancal.cpp", |
| "third_party/icu/source/i18n/listformatter.cpp", |
| "third_party/icu/source/i18n/measfmt.cpp", |
| "third_party/icu/source/i18n/measunit.cpp", |
| "third_party/icu/source/i18n/measunit_extra.cpp", |
| "third_party/icu/source/i18n/measure.cpp", |
| "third_party/icu/source/i18n/msgfmt.cpp", |
| "third_party/icu/source/i18n/name2uni.cpp", |
| "third_party/icu/source/i18n/nfrs.cpp", |
| "third_party/icu/source/i18n/nfrule.cpp", |
| "third_party/icu/source/i18n/nfsubs.cpp", |
| "third_party/icu/source/i18n/nortrans.cpp", |
| "third_party/icu/source/i18n/nultrans.cpp", |
| "third_party/icu/source/i18n/number_affixutils.cpp", |
| "third_party/icu/source/i18n/number_asformat.cpp", |
| "third_party/icu/source/i18n/number_capi.cpp", |
| "third_party/icu/source/i18n/number_compact.cpp", |
| "third_party/icu/source/i18n/number_currencysymbols.cpp", |
| "third_party/icu/source/i18n/number_decimalquantity.cpp", |
| "third_party/icu/source/i18n/number_decimfmtprops.cpp", |
| "third_party/icu/source/i18n/number_fluent.cpp", |
| "third_party/icu/source/i18n/number_formatimpl.cpp", |
| "third_party/icu/source/i18n/number_grouping.cpp", |
| "third_party/icu/source/i18n/number_integerwidth.cpp", |
| "third_party/icu/source/i18n/number_longnames.cpp", |
| "third_party/icu/source/i18n/number_mapper.cpp", |
| "third_party/icu/source/i18n/number_modifiers.cpp", |
| "third_party/icu/source/i18n/number_multiplier.cpp", |
| "third_party/icu/source/i18n/number_notation.cpp", |
| "third_party/icu/source/i18n/number_output.cpp", |
| "third_party/icu/source/i18n/number_padding.cpp", |
| "third_party/icu/source/i18n/number_patternmodifier.cpp", |
| "third_party/icu/source/i18n/number_patternstring.cpp", |
| "third_party/icu/source/i18n/number_rounding.cpp", |
| "third_party/icu/source/i18n/number_scientific.cpp", |
| "third_party/icu/source/i18n/number_skeletons.cpp", |
| "third_party/icu/source/i18n/number_symbolswrapper.cpp", |
| "third_party/icu/source/i18n/number_usageprefs.cpp", |
| "third_party/icu/source/i18n/number_utils.cpp", |
| "third_party/icu/source/i18n/numfmt.cpp", |
| "third_party/icu/source/i18n/numparse_affixes.cpp", |
| "third_party/icu/source/i18n/numparse_compositions.cpp", |
| "third_party/icu/source/i18n/numparse_currency.cpp", |
| "third_party/icu/source/i18n/numparse_decimal.cpp", |
| "third_party/icu/source/i18n/numparse_impl.cpp", |
| "third_party/icu/source/i18n/numparse_parsednumber.cpp", |
| "third_party/icu/source/i18n/numparse_scientific.cpp", |
| "third_party/icu/source/i18n/numparse_symbols.cpp", |
| "third_party/icu/source/i18n/numparse_validators.cpp", |
| "third_party/icu/source/i18n/numrange_capi.cpp", |
| "third_party/icu/source/i18n/numrange_fluent.cpp", |
| "third_party/icu/source/i18n/numrange_impl.cpp", |
| "third_party/icu/source/i18n/numsys.cpp", |
| "third_party/icu/source/i18n/olsontz.cpp", |
| "third_party/icu/source/i18n/persncal.cpp", |
| "third_party/icu/source/i18n/pluralranges.cpp", |
| "third_party/icu/source/i18n/plurfmt.cpp", |
| "third_party/icu/source/i18n/plurrule.cpp", |
| "third_party/icu/source/i18n/quant.cpp", |
| "third_party/icu/source/i18n/quantityformatter.cpp", |
| "third_party/icu/source/i18n/rbnf.cpp", |
| "third_party/icu/source/i18n/rbt.cpp", |
| "third_party/icu/source/i18n/rbt_data.cpp", |
| "third_party/icu/source/i18n/rbt_pars.cpp", |
| "third_party/icu/source/i18n/rbt_rule.cpp", |
| "third_party/icu/source/i18n/rbt_set.cpp", |
| "third_party/icu/source/i18n/rbtz.cpp", |
| "third_party/icu/source/i18n/regexcmp.cpp", |
| "third_party/icu/source/i18n/regeximp.cpp", |
| "third_party/icu/source/i18n/regexst.cpp", |
| "third_party/icu/source/i18n/regextxt.cpp", |
| "third_party/icu/source/i18n/region.cpp", |
| "third_party/icu/source/i18n/reldatefmt.cpp", |
| "third_party/icu/source/i18n/reldtfmt.cpp", |
| "third_party/icu/source/i18n/rematch.cpp", |
| "third_party/icu/source/i18n/remtrans.cpp", |
| "third_party/icu/source/i18n/repattrn.cpp", |
| "third_party/icu/source/i18n/rulebasedcollator.cpp", |
| "third_party/icu/source/i18n/scientificnumberformatter.cpp", |
| "third_party/icu/source/i18n/scriptset.cpp", |
| "third_party/icu/source/i18n/search.cpp", |
| "third_party/icu/source/i18n/selfmt.cpp", |
| "third_party/icu/source/i18n/sharedbreakiterator.cpp", |
| "third_party/icu/source/i18n/simpletz.cpp", |
| "third_party/icu/source/i18n/smpdtfmt.cpp", |
| "third_party/icu/source/i18n/smpdtfst.cpp", |
| "third_party/icu/source/i18n/sortkey.cpp", |
| "third_party/icu/source/i18n/standardplural.cpp", |
| "third_party/icu/source/i18n/string_segment.cpp", |
| "third_party/icu/source/i18n/strmatch.cpp", |
| "third_party/icu/source/i18n/strrepl.cpp", |
| "third_party/icu/source/i18n/stsearch.cpp", |
| "third_party/icu/source/i18n/taiwncal.cpp", |
| "third_party/icu/source/i18n/timezone.cpp", |
| "third_party/icu/source/i18n/titletrn.cpp", |
| "third_party/icu/source/i18n/tmunit.cpp", |
| "third_party/icu/source/i18n/tmutamt.cpp", |
| "third_party/icu/source/i18n/tmutfmt.cpp", |
| "third_party/icu/source/i18n/tolowtrn.cpp", |
| "third_party/icu/source/i18n/toupptrn.cpp", |
| "third_party/icu/source/i18n/translit.cpp", |
| "third_party/icu/source/i18n/transreg.cpp", |
| "third_party/icu/source/i18n/tridpars.cpp", |
| "third_party/icu/source/i18n/tzfmt.cpp", |
| "third_party/icu/source/i18n/tzgnames.cpp", |
| "third_party/icu/source/i18n/tznames.cpp", |
| "third_party/icu/source/i18n/tznames_impl.cpp", |
| "third_party/icu/source/i18n/tzrule.cpp", |
| "third_party/icu/source/i18n/tztrans.cpp", |
| "third_party/icu/source/i18n/ucal.cpp", |
| "third_party/icu/source/i18n/ucln_in.cpp", |
| "third_party/icu/source/i18n/ucol.cpp", |
| "third_party/icu/source/i18n/ucol_res.cpp", |
| "third_party/icu/source/i18n/ucol_sit.cpp", |
| "third_party/icu/source/i18n/ucoleitr.cpp", |
| "third_party/icu/source/i18n/ucsdet.cpp", |
| "third_party/icu/source/i18n/udat.cpp", |
| "third_party/icu/source/i18n/udateintervalformat.cpp", |
| "third_party/icu/source/i18n/udatpg.cpp", |
| "third_party/icu/source/i18n/ufieldpositer.cpp", |
| "third_party/icu/source/i18n/uitercollationiterator.cpp", |
| "third_party/icu/source/i18n/ulistformatter.cpp", |
| "third_party/icu/source/i18n/ulocdata.cpp", |
| "third_party/icu/source/i18n/umsg.cpp", |
| "third_party/icu/source/i18n/unesctrn.cpp", |
| "third_party/icu/source/i18n/uni2name.cpp", |
| "third_party/icu/source/i18n/units_complexconverter.cpp", |
| "third_party/icu/source/i18n/units_converter.cpp", |
| "third_party/icu/source/i18n/units_data.cpp", |
| "third_party/icu/source/i18n/units_router.cpp", |
| "third_party/icu/source/i18n/unum.cpp", |
| "third_party/icu/source/i18n/unumsys.cpp", |
| "third_party/icu/source/i18n/upluralrules.cpp", |
| "third_party/icu/source/i18n/uregex.cpp", |
| "third_party/icu/source/i18n/uregexc.cpp", |
| "third_party/icu/source/i18n/uregion.cpp", |
| "third_party/icu/source/i18n/usearch.cpp", |
| "third_party/icu/source/i18n/uspoof.cpp", |
| "third_party/icu/source/i18n/uspoof_build.cpp", |
| "third_party/icu/source/i18n/uspoof_conf.cpp", |
| "third_party/icu/source/i18n/uspoof_impl.cpp", |
| "third_party/icu/source/i18n/utf16collationiterator.cpp", |
| "third_party/icu/source/i18n/utf8collationiterator.cpp", |
| "third_party/icu/source/i18n/utmscale.cpp", |
| "third_party/icu/source/i18n/utrans.cpp", |
| "third_party/icu/source/i18n/vtzone.cpp", |
| "third_party/icu/source/i18n/vzone.cpp", |
| "third_party/icu/source/i18n/windtfmt.cpp", |
| "third_party/icu/source/i18n/winnmfmt.cpp", |
| "third_party/icu/source/i18n/wintzimpl.cpp", |
| "third_party/icu/source/i18n/zonemeta.cpp", |
| "third_party/icu/source/i18n/zrule.cpp", |
| "third_party/icu/source/i18n/ztrans.cpp", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_DLOPEN=0", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUCONFIG_ONLY_HTML_CONVERSION=1", |
| "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0", |
| "-DUSE_CHROMIUM_ICU=1", |
| "-DU_CHARSET_IS_UTF8=1", |
| "-DU_ENABLE_DYLOAD=0", |
| "-DU_ENABLE_RESOURCE_TRACING=0", |
| "-DU_ENABLE_TRACING=1", |
| "-DU_I18N_IMPLEMENTATION", |
| "-DU_STATIC_IMPLEMENTATION", |
| "-DU_USING_ICU_NAMESPACE=0", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| rtti: true, |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/icu:icuuc_private |
| cc_library_static { |
| name: "cronet_aml_third_party_icu_icuuc_private", |
| srcs: [ |
| "third_party/icu/source/common/appendable.cpp", |
| "third_party/icu/source/common/bmpset.cpp", |
| "third_party/icu/source/common/brkeng.cpp", |
| "third_party/icu/source/common/brkiter.cpp", |
| "third_party/icu/source/common/bytesinkutil.cpp", |
| "third_party/icu/source/common/bytestream.cpp", |
| "third_party/icu/source/common/bytestrie.cpp", |
| "third_party/icu/source/common/bytestriebuilder.cpp", |
| "third_party/icu/source/common/bytestrieiterator.cpp", |
| "third_party/icu/source/common/caniter.cpp", |
| "third_party/icu/source/common/characterproperties.cpp", |
| "third_party/icu/source/common/chariter.cpp", |
| "third_party/icu/source/common/charstr.cpp", |
| "third_party/icu/source/common/cmemory.cpp", |
| "third_party/icu/source/common/cstr.cpp", |
| "third_party/icu/source/common/cstring.cpp", |
| "third_party/icu/source/common/cwchar.cpp", |
| "third_party/icu/source/common/dictbe.cpp", |
| "third_party/icu/source/common/dictionarydata.cpp", |
| "third_party/icu/source/common/dtintrv.cpp", |
| "third_party/icu/source/common/edits.cpp", |
| "third_party/icu/source/common/emojiprops.cpp", |
| "third_party/icu/source/common/errorcode.cpp", |
| "third_party/icu/source/common/filteredbrk.cpp", |
| "third_party/icu/source/common/filterednormalizer2.cpp", |
| "third_party/icu/source/common/icudataver.cpp", |
| "third_party/icu/source/common/icuplug.cpp", |
| "third_party/icu/source/common/loadednormalizer2impl.cpp", |
| "third_party/icu/source/common/localebuilder.cpp", |
| "third_party/icu/source/common/localematcher.cpp", |
| "third_party/icu/source/common/localeprioritylist.cpp", |
| "third_party/icu/source/common/locavailable.cpp", |
| "third_party/icu/source/common/locbased.cpp", |
| "third_party/icu/source/common/locdispnames.cpp", |
| "third_party/icu/source/common/locdistance.cpp", |
| "third_party/icu/source/common/locdspnm.cpp", |
| "third_party/icu/source/common/locid.cpp", |
| "third_party/icu/source/common/loclikely.cpp", |
| "third_party/icu/source/common/loclikelysubtags.cpp", |
| "third_party/icu/source/common/locmap.cpp", |
| "third_party/icu/source/common/locresdata.cpp", |
| "third_party/icu/source/common/locutil.cpp", |
| "third_party/icu/source/common/lsr.cpp", |
| "third_party/icu/source/common/lstmbe.cpp", |
| "third_party/icu/source/common/messagepattern.cpp", |
| "third_party/icu/source/common/normalizer2.cpp", |
| "third_party/icu/source/common/normalizer2impl.cpp", |
| "third_party/icu/source/common/normlzr.cpp", |
| "third_party/icu/source/common/parsepos.cpp", |
| "third_party/icu/source/common/patternprops.cpp", |
| "third_party/icu/source/common/pluralmap.cpp", |
| "third_party/icu/source/common/propname.cpp", |
| "third_party/icu/source/common/propsvec.cpp", |
| "third_party/icu/source/common/punycode.cpp", |
| "third_party/icu/source/common/putil.cpp", |
| "third_party/icu/source/common/rbbi.cpp", |
| "third_party/icu/source/common/rbbi_cache.cpp", |
| "third_party/icu/source/common/rbbidata.cpp", |
| "third_party/icu/source/common/rbbinode.cpp", |
| "third_party/icu/source/common/rbbirb.cpp", |
| "third_party/icu/source/common/rbbiscan.cpp", |
| "third_party/icu/source/common/rbbisetb.cpp", |
| "third_party/icu/source/common/rbbistbl.cpp", |
| "third_party/icu/source/common/rbbitblb.cpp", |
| "third_party/icu/source/common/resbund.cpp", |
| "third_party/icu/source/common/resbund_cnv.cpp", |
| "third_party/icu/source/common/resource.cpp", |
| "third_party/icu/source/common/restrace.cpp", |
| "third_party/icu/source/common/ruleiter.cpp", |
| "third_party/icu/source/common/schriter.cpp", |
| "third_party/icu/source/common/serv.cpp", |
| "third_party/icu/source/common/servlk.cpp", |
| "third_party/icu/source/common/servlkf.cpp", |
| "third_party/icu/source/common/servls.cpp", |
| "third_party/icu/source/common/servnotf.cpp", |
| "third_party/icu/source/common/servrbf.cpp", |
| "third_party/icu/source/common/servslkf.cpp", |
| "third_party/icu/source/common/sharedobject.cpp", |
| "third_party/icu/source/common/simpleformatter.cpp", |
| "third_party/icu/source/common/static_unicode_sets.cpp", |
| "third_party/icu/source/common/stringpiece.cpp", |
| "third_party/icu/source/common/stringtriebuilder.cpp", |
| "third_party/icu/source/common/uarrsort.cpp", |
| "third_party/icu/source/common/ubidi.cpp", |
| "third_party/icu/source/common/ubidi_props.cpp", |
| "third_party/icu/source/common/ubidiln.cpp", |
| "third_party/icu/source/common/ubiditransform.cpp", |
| "third_party/icu/source/common/ubidiwrt.cpp", |
| "third_party/icu/source/common/ubrk.cpp", |
| "third_party/icu/source/common/ucase.cpp", |
| "third_party/icu/source/common/ucasemap.cpp", |
| "third_party/icu/source/common/ucasemap_titlecase_brkiter.cpp", |
| "third_party/icu/source/common/ucat.cpp", |
| "third_party/icu/source/common/uchar.cpp", |
| "third_party/icu/source/common/ucharstrie.cpp", |
| "third_party/icu/source/common/ucharstriebuilder.cpp", |
| "third_party/icu/source/common/ucharstrieiterator.cpp", |
| "third_party/icu/source/common/uchriter.cpp", |
| "third_party/icu/source/common/ucln_cmn.cpp", |
| "third_party/icu/source/common/ucmndata.cpp", |
| "third_party/icu/source/common/ucnv.cpp", |
| "third_party/icu/source/common/ucnv2022.cpp", |
| "third_party/icu/source/common/ucnv_bld.cpp", |
| "third_party/icu/source/common/ucnv_cb.cpp", |
| "third_party/icu/source/common/ucnv_cnv.cpp", |
| "third_party/icu/source/common/ucnv_ct.cpp", |
| "third_party/icu/source/common/ucnv_err.cpp", |
| "third_party/icu/source/common/ucnv_ext.cpp", |
| "third_party/icu/source/common/ucnv_io.cpp", |
| "third_party/icu/source/common/ucnv_lmb.cpp", |
| "third_party/icu/source/common/ucnv_set.cpp", |
| "third_party/icu/source/common/ucnv_u16.cpp", |
| "third_party/icu/source/common/ucnv_u32.cpp", |
| "third_party/icu/source/common/ucnv_u7.cpp", |
| "third_party/icu/source/common/ucnv_u8.cpp", |
| "third_party/icu/source/common/ucnvbocu.cpp", |
| "third_party/icu/source/common/ucnvdisp.cpp", |
| "third_party/icu/source/common/ucnvhz.cpp", |
| "third_party/icu/source/common/ucnvisci.cpp", |
| "third_party/icu/source/common/ucnvlat1.cpp", |
| "third_party/icu/source/common/ucnvmbcs.cpp", |
| "third_party/icu/source/common/ucnvscsu.cpp", |
| "third_party/icu/source/common/ucnvsel.cpp", |
| "third_party/icu/source/common/ucol_swp.cpp", |
| "third_party/icu/source/common/ucptrie.cpp", |
| "third_party/icu/source/common/ucurr.cpp", |
| "third_party/icu/source/common/udata.cpp", |
| "third_party/icu/source/common/udatamem.cpp", |
| "third_party/icu/source/common/udataswp.cpp", |
| "third_party/icu/source/common/uenum.cpp", |
| "third_party/icu/source/common/uhash.cpp", |
| "third_party/icu/source/common/uhash_us.cpp", |
| "third_party/icu/source/common/uidna.cpp", |
| "third_party/icu/source/common/uinit.cpp", |
| "third_party/icu/source/common/uinvchar.cpp", |
| "third_party/icu/source/common/uiter.cpp", |
| "third_party/icu/source/common/ulist.cpp", |
| "third_party/icu/source/common/uloc.cpp", |
| "third_party/icu/source/common/uloc_keytype.cpp", |
| "third_party/icu/source/common/uloc_tag.cpp", |
| "third_party/icu/source/common/umapfile.cpp", |
| "third_party/icu/source/common/umath.cpp", |
| "third_party/icu/source/common/umutablecptrie.cpp", |
| "third_party/icu/source/common/umutex.cpp", |
| "third_party/icu/source/common/unames.cpp", |
| "third_party/icu/source/common/unifiedcache.cpp", |
| "third_party/icu/source/common/unifilt.cpp", |
| "third_party/icu/source/common/unifunct.cpp", |
| "third_party/icu/source/common/uniset.cpp", |
| "third_party/icu/source/common/uniset_closure.cpp", |
| "third_party/icu/source/common/uniset_props.cpp", |
| "third_party/icu/source/common/unisetspan.cpp", |
| "third_party/icu/source/common/unistr.cpp", |
| "third_party/icu/source/common/unistr_case.cpp", |
| "third_party/icu/source/common/unistr_case_locale.cpp", |
| "third_party/icu/source/common/unistr_cnv.cpp", |
| "third_party/icu/source/common/unistr_props.cpp", |
| "third_party/icu/source/common/unistr_titlecase_brkiter.cpp", |
| "third_party/icu/source/common/unorm.cpp", |
| "third_party/icu/source/common/unormcmp.cpp", |
| "third_party/icu/source/common/uobject.cpp", |
| "third_party/icu/source/common/uprops.cpp", |
| "third_party/icu/source/common/ures_cnv.cpp", |
| "third_party/icu/source/common/uresbund.cpp", |
| "third_party/icu/source/common/uresdata.cpp", |
| "third_party/icu/source/common/usc_impl.cpp", |
| "third_party/icu/source/common/uscript.cpp", |
| "third_party/icu/source/common/uscript_props.cpp", |
| "third_party/icu/source/common/uset.cpp", |
| "third_party/icu/source/common/uset_props.cpp", |
| "third_party/icu/source/common/usetiter.cpp", |
| "third_party/icu/source/common/ushape.cpp", |
| "third_party/icu/source/common/usprep.cpp", |
| "third_party/icu/source/common/ustack.cpp", |
| "third_party/icu/source/common/ustr_cnv.cpp", |
| "third_party/icu/source/common/ustr_titlecase_brkiter.cpp", |
| "third_party/icu/source/common/ustr_wcs.cpp", |
| "third_party/icu/source/common/ustrcase.cpp", |
| "third_party/icu/source/common/ustrcase_locale.cpp", |
| "third_party/icu/source/common/ustrenum.cpp", |
| "third_party/icu/source/common/ustrfmt.cpp", |
| "third_party/icu/source/common/ustring.cpp", |
| "third_party/icu/source/common/ustrtrns.cpp", |
| "third_party/icu/source/common/utext.cpp", |
| "third_party/icu/source/common/utf_impl.cpp", |
| "third_party/icu/source/common/util.cpp", |
| "third_party/icu/source/common/util_props.cpp", |
| "third_party/icu/source/common/utrace.cpp", |
| "third_party/icu/source/common/utrie.cpp", |
| "third_party/icu/source/common/utrie2.cpp", |
| "third_party/icu/source/common/utrie2_builder.cpp", |
| "third_party/icu/source/common/utrie_swap.cpp", |
| "third_party/icu/source/common/uts46.cpp", |
| "third_party/icu/source/common/utypes.cpp", |
| "third_party/icu/source/common/uvector.cpp", |
| "third_party/icu/source/common/uvectr32.cpp", |
| "third_party/icu/source/common/uvectr64.cpp", |
| "third_party/icu/source/common/wintz.cpp", |
| "third_party/icu/source/stubdata/stubdata.cpp", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_DLOPEN=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUCONFIG_ONLY_HTML_CONVERSION=1", |
| "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0", |
| "-DUSE_CHROMIUM_ICU=1", |
| "-DU_CHARSET_IS_UTF8=1", |
| "-DU_COMMON_IMPLEMENTATION", |
| "-DU_ENABLE_DYLOAD=0", |
| "-DU_ENABLE_RESOURCE_TRACING=0", |
| "-DU_ENABLE_TRACING=1", |
| "-DU_ICUDATAENTRY_IN_COMMON", |
| "-DU_STATIC_IMPLEMENTATION", |
| "-DU_USING_ICU_NAMESPACE=0", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| rtti: true, |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/icu:icuuc_private__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_icu_icuuc_private__testing", |
| srcs: [ |
| "third_party/icu/source/common/appendable.cpp", |
| "third_party/icu/source/common/bmpset.cpp", |
| "third_party/icu/source/common/brkeng.cpp", |
| "third_party/icu/source/common/brkiter.cpp", |
| "third_party/icu/source/common/bytesinkutil.cpp", |
| "third_party/icu/source/common/bytestream.cpp", |
| "third_party/icu/source/common/bytestrie.cpp", |
| "third_party/icu/source/common/bytestriebuilder.cpp", |
| "third_party/icu/source/common/bytestrieiterator.cpp", |
| "third_party/icu/source/common/caniter.cpp", |
| "third_party/icu/source/common/characterproperties.cpp", |
| "third_party/icu/source/common/chariter.cpp", |
| "third_party/icu/source/common/charstr.cpp", |
| "third_party/icu/source/common/cmemory.cpp", |
| "third_party/icu/source/common/cstr.cpp", |
| "third_party/icu/source/common/cstring.cpp", |
| "third_party/icu/source/common/cwchar.cpp", |
| "third_party/icu/source/common/dictbe.cpp", |
| "third_party/icu/source/common/dictionarydata.cpp", |
| "third_party/icu/source/common/dtintrv.cpp", |
| "third_party/icu/source/common/edits.cpp", |
| "third_party/icu/source/common/emojiprops.cpp", |
| "third_party/icu/source/common/errorcode.cpp", |
| "third_party/icu/source/common/filteredbrk.cpp", |
| "third_party/icu/source/common/filterednormalizer2.cpp", |
| "third_party/icu/source/common/icudataver.cpp", |
| "third_party/icu/source/common/icuplug.cpp", |
| "third_party/icu/source/common/loadednormalizer2impl.cpp", |
| "third_party/icu/source/common/localebuilder.cpp", |
| "third_party/icu/source/common/localematcher.cpp", |
| "third_party/icu/source/common/localeprioritylist.cpp", |
| "third_party/icu/source/common/locavailable.cpp", |
| "third_party/icu/source/common/locbased.cpp", |
| "third_party/icu/source/common/locdispnames.cpp", |
| "third_party/icu/source/common/locdistance.cpp", |
| "third_party/icu/source/common/locdspnm.cpp", |
| "third_party/icu/source/common/locid.cpp", |
| "third_party/icu/source/common/loclikely.cpp", |
| "third_party/icu/source/common/loclikelysubtags.cpp", |
| "third_party/icu/source/common/locmap.cpp", |
| "third_party/icu/source/common/locresdata.cpp", |
| "third_party/icu/source/common/locutil.cpp", |
| "third_party/icu/source/common/lsr.cpp", |
| "third_party/icu/source/common/lstmbe.cpp", |
| "third_party/icu/source/common/messagepattern.cpp", |
| "third_party/icu/source/common/normalizer2.cpp", |
| "third_party/icu/source/common/normalizer2impl.cpp", |
| "third_party/icu/source/common/normlzr.cpp", |
| "third_party/icu/source/common/parsepos.cpp", |
| "third_party/icu/source/common/patternprops.cpp", |
| "third_party/icu/source/common/pluralmap.cpp", |
| "third_party/icu/source/common/propname.cpp", |
| "third_party/icu/source/common/propsvec.cpp", |
| "third_party/icu/source/common/punycode.cpp", |
| "third_party/icu/source/common/putil.cpp", |
| "third_party/icu/source/common/rbbi.cpp", |
| "third_party/icu/source/common/rbbi_cache.cpp", |
| "third_party/icu/source/common/rbbidata.cpp", |
| "third_party/icu/source/common/rbbinode.cpp", |
| "third_party/icu/source/common/rbbirb.cpp", |
| "third_party/icu/source/common/rbbiscan.cpp", |
| "third_party/icu/source/common/rbbisetb.cpp", |
| "third_party/icu/source/common/rbbistbl.cpp", |
| "third_party/icu/source/common/rbbitblb.cpp", |
| "third_party/icu/source/common/resbund.cpp", |
| "third_party/icu/source/common/resbund_cnv.cpp", |
| "third_party/icu/source/common/resource.cpp", |
| "third_party/icu/source/common/restrace.cpp", |
| "third_party/icu/source/common/ruleiter.cpp", |
| "third_party/icu/source/common/schriter.cpp", |
| "third_party/icu/source/common/serv.cpp", |
| "third_party/icu/source/common/servlk.cpp", |
| "third_party/icu/source/common/servlkf.cpp", |
| "third_party/icu/source/common/servls.cpp", |
| "third_party/icu/source/common/servnotf.cpp", |
| "third_party/icu/source/common/servrbf.cpp", |
| "third_party/icu/source/common/servslkf.cpp", |
| "third_party/icu/source/common/sharedobject.cpp", |
| "third_party/icu/source/common/simpleformatter.cpp", |
| "third_party/icu/source/common/static_unicode_sets.cpp", |
| "third_party/icu/source/common/stringpiece.cpp", |
| "third_party/icu/source/common/stringtriebuilder.cpp", |
| "third_party/icu/source/common/uarrsort.cpp", |
| "third_party/icu/source/common/ubidi.cpp", |
| "third_party/icu/source/common/ubidi_props.cpp", |
| "third_party/icu/source/common/ubidiln.cpp", |
| "third_party/icu/source/common/ubiditransform.cpp", |
| "third_party/icu/source/common/ubidiwrt.cpp", |
| "third_party/icu/source/common/ubrk.cpp", |
| "third_party/icu/source/common/ucase.cpp", |
| "third_party/icu/source/common/ucasemap.cpp", |
| "third_party/icu/source/common/ucasemap_titlecase_brkiter.cpp", |
| "third_party/icu/source/common/ucat.cpp", |
| "third_party/icu/source/common/uchar.cpp", |
| "third_party/icu/source/common/ucharstrie.cpp", |
| "third_party/icu/source/common/ucharstriebuilder.cpp", |
| "third_party/icu/source/common/ucharstrieiterator.cpp", |
| "third_party/icu/source/common/uchriter.cpp", |
| "third_party/icu/source/common/ucln_cmn.cpp", |
| "third_party/icu/source/common/ucmndata.cpp", |
| "third_party/icu/source/common/ucnv.cpp", |
| "third_party/icu/source/common/ucnv2022.cpp", |
| "third_party/icu/source/common/ucnv_bld.cpp", |
| "third_party/icu/source/common/ucnv_cb.cpp", |
| "third_party/icu/source/common/ucnv_cnv.cpp", |
| "third_party/icu/source/common/ucnv_ct.cpp", |
| "third_party/icu/source/common/ucnv_err.cpp", |
| "third_party/icu/source/common/ucnv_ext.cpp", |
| "third_party/icu/source/common/ucnv_io.cpp", |
| "third_party/icu/source/common/ucnv_lmb.cpp", |
| "third_party/icu/source/common/ucnv_set.cpp", |
| "third_party/icu/source/common/ucnv_u16.cpp", |
| "third_party/icu/source/common/ucnv_u32.cpp", |
| "third_party/icu/source/common/ucnv_u7.cpp", |
| "third_party/icu/source/common/ucnv_u8.cpp", |
| "third_party/icu/source/common/ucnvbocu.cpp", |
| "third_party/icu/source/common/ucnvdisp.cpp", |
| "third_party/icu/source/common/ucnvhz.cpp", |
| "third_party/icu/source/common/ucnvisci.cpp", |
| "third_party/icu/source/common/ucnvlat1.cpp", |
| "third_party/icu/source/common/ucnvmbcs.cpp", |
| "third_party/icu/source/common/ucnvscsu.cpp", |
| "third_party/icu/source/common/ucnvsel.cpp", |
| "third_party/icu/source/common/ucol_swp.cpp", |
| "third_party/icu/source/common/ucptrie.cpp", |
| "third_party/icu/source/common/ucurr.cpp", |
| "third_party/icu/source/common/udata.cpp", |
| "third_party/icu/source/common/udatamem.cpp", |
| "third_party/icu/source/common/udataswp.cpp", |
| "third_party/icu/source/common/uenum.cpp", |
| "third_party/icu/source/common/uhash.cpp", |
| "third_party/icu/source/common/uhash_us.cpp", |
| "third_party/icu/source/common/uidna.cpp", |
| "third_party/icu/source/common/uinit.cpp", |
| "third_party/icu/source/common/uinvchar.cpp", |
| "third_party/icu/source/common/uiter.cpp", |
| "third_party/icu/source/common/ulist.cpp", |
| "third_party/icu/source/common/uloc.cpp", |
| "third_party/icu/source/common/uloc_keytype.cpp", |
| "third_party/icu/source/common/uloc_tag.cpp", |
| "third_party/icu/source/common/umapfile.cpp", |
| "third_party/icu/source/common/umath.cpp", |
| "third_party/icu/source/common/umutablecptrie.cpp", |
| "third_party/icu/source/common/umutex.cpp", |
| "third_party/icu/source/common/unames.cpp", |
| "third_party/icu/source/common/unifiedcache.cpp", |
| "third_party/icu/source/common/unifilt.cpp", |
| "third_party/icu/source/common/unifunct.cpp", |
| "third_party/icu/source/common/uniset.cpp", |
| "third_party/icu/source/common/uniset_closure.cpp", |
| "third_party/icu/source/common/uniset_props.cpp", |
| "third_party/icu/source/common/unisetspan.cpp", |
| "third_party/icu/source/common/unistr.cpp", |
| "third_party/icu/source/common/unistr_case.cpp", |
| "third_party/icu/source/common/unistr_case_locale.cpp", |
| "third_party/icu/source/common/unistr_cnv.cpp", |
| "third_party/icu/source/common/unistr_props.cpp", |
| "third_party/icu/source/common/unistr_titlecase_brkiter.cpp", |
| "third_party/icu/source/common/unorm.cpp", |
| "third_party/icu/source/common/unormcmp.cpp", |
| "third_party/icu/source/common/uobject.cpp", |
| "third_party/icu/source/common/uprops.cpp", |
| "third_party/icu/source/common/ures_cnv.cpp", |
| "third_party/icu/source/common/uresbund.cpp", |
| "third_party/icu/source/common/uresdata.cpp", |
| "third_party/icu/source/common/usc_impl.cpp", |
| "third_party/icu/source/common/uscript.cpp", |
| "third_party/icu/source/common/uscript_props.cpp", |
| "third_party/icu/source/common/uset.cpp", |
| "third_party/icu/source/common/uset_props.cpp", |
| "third_party/icu/source/common/usetiter.cpp", |
| "third_party/icu/source/common/ushape.cpp", |
| "third_party/icu/source/common/usprep.cpp", |
| "third_party/icu/source/common/ustack.cpp", |
| "third_party/icu/source/common/ustr_cnv.cpp", |
| "third_party/icu/source/common/ustr_titlecase_brkiter.cpp", |
| "third_party/icu/source/common/ustr_wcs.cpp", |
| "third_party/icu/source/common/ustrcase.cpp", |
| "third_party/icu/source/common/ustrcase_locale.cpp", |
| "third_party/icu/source/common/ustrenum.cpp", |
| "third_party/icu/source/common/ustrfmt.cpp", |
| "third_party/icu/source/common/ustring.cpp", |
| "third_party/icu/source/common/ustrtrns.cpp", |
| "third_party/icu/source/common/utext.cpp", |
| "third_party/icu/source/common/utf_impl.cpp", |
| "third_party/icu/source/common/util.cpp", |
| "third_party/icu/source/common/util_props.cpp", |
| "third_party/icu/source/common/utrace.cpp", |
| "third_party/icu/source/common/utrie.cpp", |
| "third_party/icu/source/common/utrie2.cpp", |
| "third_party/icu/source/common/utrie2_builder.cpp", |
| "third_party/icu/source/common/utrie_swap.cpp", |
| "third_party/icu/source/common/uts46.cpp", |
| "third_party/icu/source/common/utypes.cpp", |
| "third_party/icu/source/common/uvector.cpp", |
| "third_party/icu/source/common/uvectr32.cpp", |
| "third_party/icu/source/common/uvectr64.cpp", |
| "third_party/icu/source/common/wintz.cpp", |
| "third_party/icu/source/stubdata/stubdata.cpp", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_DLOPEN=0", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUCONFIG_ONLY_HTML_CONVERSION=1", |
| "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0", |
| "-DUSE_CHROMIUM_ICU=1", |
| "-DU_CHARSET_IS_UTF8=1", |
| "-DU_COMMON_IMPLEMENTATION", |
| "-DU_ENABLE_DYLOAD=0", |
| "-DU_ENABLE_RESOURCE_TRACING=0", |
| "-DU_ENABLE_TRACING=1", |
| "-DU_ICUDATAENTRY_IN_COMMON", |
| "-DU_STATIC_IMPLEMENTATION", |
| "-DU_USING_ICU_NAMESPACE=0", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| rtti: true, |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/libevent:libevent |
| cc_library_static { |
| name: "cronet_aml_third_party_libevent_libevent", |
| srcs: [ |
| "third_party/libevent/buffer.c", |
| "third_party/libevent/epoll.c", |
| "third_party/libevent/evbuffer.c", |
| "third_party/libevent/evdns.c", |
| "third_party/libevent/event.c", |
| "third_party/libevent/event_tagging.c", |
| "third_party/libevent/evrpc.c", |
| "third_party/libevent/evutil.c", |
| "third_party/libevent/http.c", |
| "third_party/libevent/log.c", |
| "third_party/libevent/poll.c", |
| "third_party/libevent/select.c", |
| "third_party/libevent/signal.c", |
| "third_party/libevent/strlcpy.c", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_CONFIG_H", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/libevent/android/", |
| "third_party/libevent/compat/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/libevent:libevent__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_libevent_libevent__testing", |
| srcs: [ |
| "third_party/libevent/buffer.c", |
| "third_party/libevent/epoll.c", |
| "third_party/libevent/evbuffer.c", |
| "third_party/libevent/evdns.c", |
| "third_party/libevent/event.c", |
| "third_party/libevent/event_tagging.c", |
| "third_party/libevent/evrpc.c", |
| "third_party/libevent/evutil.c", |
| "third_party/libevent/http.c", |
| "third_party/libevent/log.c", |
| "third_party/libevent/poll.c", |
| "third_party/libevent/select.c", |
| "third_party/libevent/signal.c", |
| "third_party/libevent/strlcpy.c", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_CONFIG_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/libevent/compat/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-fstack-protector", |
| ], |
| local_include_dirs: [ |
| "third_party/libevent/android/", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| local_include_dirs: [ |
| "third_party/libevent/android/", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-msse3", |
| ], |
| local_include_dirs: [ |
| "third_party/libevent/android/", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| local_include_dirs: [ |
| "third_party/libevent/android/", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| local_include_dirs: [ |
| "third_party/libevent/linux/", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/libxml:libxml__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_libxml_libxml__testing", |
| srcs: [ |
| "third_party/libxml/src/HTMLparser.c", |
| "third_party/libxml/src/HTMLtree.c", |
| "third_party/libxml/src/SAX2.c", |
| "third_party/libxml/src/buf.c", |
| "third_party/libxml/src/chvalid.c", |
| "third_party/libxml/src/dict.c", |
| "third_party/libxml/src/encoding.c", |
| "third_party/libxml/src/entities.c", |
| "third_party/libxml/src/error.c", |
| "third_party/libxml/src/globals.c", |
| "third_party/libxml/src/hash.c", |
| "third_party/libxml/src/list.c", |
| "third_party/libxml/src/parser.c", |
| "third_party/libxml/src/parserInternals.c", |
| "third_party/libxml/src/pattern.c", |
| "third_party/libxml/src/threads.c", |
| "third_party/libxml/src/tree.c", |
| "third_party/libxml/src/uri.c", |
| "third_party/libxml/src/valid.c", |
| "third_party/libxml/src/xmlIO.c", |
| "third_party/libxml/src/xmlmemory.c", |
| "third_party/libxml/src/xmlreader.c", |
| "third_party/libxml/src/xmlsave.c", |
| "third_party/libxml/src/xmlstring.c", |
| "third_party/libxml/src/xmlunicode.c", |
| "third_party/libxml/src/xmlwriter.c", |
| "third_party/libxml/src/xpath.c", |
| ], |
| shared_libs: [ |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-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_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_REENTRANT", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| "third_party/libxml/linux/", |
| "third_party/libxml/linux/include/", |
| "third_party/libxml/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/libxml:libxml_utils__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_libxml_libxml_utils__testing", |
| srcs: [ |
| "third_party/libxml/chromium/libxml_utils.cc", |
| ], |
| shared_libs: [ |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-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_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| "third_party/libxml/linux/include/", |
| "third_party/libxml/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/libxml:xml_reader__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_libxml_xml_reader__testing", |
| srcs: [ |
| "third_party/libxml/chromium/xml_reader.cc", |
| ], |
| shared_libs: [ |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libxml_libxml__testing", |
| "cronet_aml_third_party_libxml_libxml_utils__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-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_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/icu/source/common/", |
| "third_party/icu/source/i18n/", |
| "third_party/libxml/linux/include/", |
| "third_party/libxml/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/metrics_proto:metrics_proto__testing |
| cc_genrule { |
| name: "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen", |
| srcs: [ |
| "third_party/metrics_proto/call_stack_profile.proto", |
| "third_party/metrics_proto/cast_logs.proto", |
| "third_party/metrics_proto/chrome_os_app_list_launch_event.proto", |
| "third_party/metrics_proto/chrome_user_metrics_extension.proto", |
| "third_party/metrics_proto/custom_tab_session.proto", |
| "third_party/metrics_proto/execution_context.proto", |
| "third_party/metrics_proto/extension_install.proto", |
| "third_party/metrics_proto/histogram_event.proto", |
| "third_party/metrics_proto/omnibox_event.proto", |
| "third_party/metrics_proto/omnibox_focus_type.proto", |
| "third_party/metrics_proto/omnibox_input_type.proto", |
| "third_party/metrics_proto/perf_data.proto", |
| "third_party/metrics_proto/perf_stat.proto", |
| "third_party/metrics_proto/printer_event.proto", |
| "third_party/metrics_proto/reporting_info.proto", |
| "third_party/metrics_proto/sampled_profile.proto", |
| "third_party/metrics_proto/structured_data.proto", |
| "third_party/metrics_proto/system_profile.proto", |
| "third_party/metrics_proto/trace_log.proto", |
| "third_party/metrics_proto/translate_event.proto", |
| "third_party/metrics_proto/ukm/aggregate.proto", |
| "third_party/metrics_proto/ukm/entry.proto", |
| "third_party/metrics_proto/ukm/report.proto", |
| "third_party/metrics_proto/ukm/source.proto", |
| "third_party/metrics_proto/user_action_event.proto", |
| "third_party/metrics_proto/user_demographics.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/metrics_proto --cpp_out=lite=true:$(genDir)/external/cronet/third_party/metrics_proto/ $(in)", |
| out: [ |
| "external/cronet/third_party/metrics_proto/call_stack_profile.pb.cc", |
| "external/cronet/third_party/metrics_proto/cast_logs.pb.cc", |
| "external/cronet/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.cc", |
| "external/cronet/third_party/metrics_proto/chrome_user_metrics_extension.pb.cc", |
| "external/cronet/third_party/metrics_proto/custom_tab_session.pb.cc", |
| "external/cronet/third_party/metrics_proto/execution_context.pb.cc", |
| "external/cronet/third_party/metrics_proto/extension_install.pb.cc", |
| "external/cronet/third_party/metrics_proto/histogram_event.pb.cc", |
| "external/cronet/third_party/metrics_proto/omnibox_event.pb.cc", |
| "external/cronet/third_party/metrics_proto/omnibox_focus_type.pb.cc", |
| "external/cronet/third_party/metrics_proto/omnibox_input_type.pb.cc", |
| "external/cronet/third_party/metrics_proto/perf_data.pb.cc", |
| "external/cronet/third_party/metrics_proto/perf_stat.pb.cc", |
| "external/cronet/third_party/metrics_proto/printer_event.pb.cc", |
| "external/cronet/third_party/metrics_proto/reporting_info.pb.cc", |
| "external/cronet/third_party/metrics_proto/sampled_profile.pb.cc", |
| "external/cronet/third_party/metrics_proto/structured_data.pb.cc", |
| "external/cronet/third_party/metrics_proto/system_profile.pb.cc", |
| "external/cronet/third_party/metrics_proto/trace_log.pb.cc", |
| "external/cronet/third_party/metrics_proto/translate_event.pb.cc", |
| "external/cronet/third_party/metrics_proto/ukm/aggregate.pb.cc", |
| "external/cronet/third_party/metrics_proto/ukm/entry.pb.cc", |
| "external/cronet/third_party/metrics_proto/ukm/report.pb.cc", |
| "external/cronet/third_party/metrics_proto/ukm/source.pb.cc", |
| "external/cronet/third_party/metrics_proto/user_action_event.pb.cc", |
| "external/cronet/third_party/metrics_proto/user_demographics.pb.cc", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //third_party/metrics_proto:metrics_proto__testing |
| cc_genrule { |
| name: "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers", |
| srcs: [ |
| "third_party/metrics_proto/call_stack_profile.proto", |
| "third_party/metrics_proto/cast_logs.proto", |
| "third_party/metrics_proto/chrome_os_app_list_launch_event.proto", |
| "third_party/metrics_proto/chrome_user_metrics_extension.proto", |
| "third_party/metrics_proto/custom_tab_session.proto", |
| "third_party/metrics_proto/execution_context.proto", |
| "third_party/metrics_proto/extension_install.proto", |
| "third_party/metrics_proto/histogram_event.proto", |
| "third_party/metrics_proto/omnibox_event.proto", |
| "third_party/metrics_proto/omnibox_focus_type.proto", |
| "third_party/metrics_proto/omnibox_input_type.proto", |
| "third_party/metrics_proto/perf_data.proto", |
| "third_party/metrics_proto/perf_stat.proto", |
| "third_party/metrics_proto/printer_event.proto", |
| "third_party/metrics_proto/reporting_info.proto", |
| "third_party/metrics_proto/sampled_profile.proto", |
| "third_party/metrics_proto/structured_data.proto", |
| "third_party/metrics_proto/system_profile.proto", |
| "third_party/metrics_proto/trace_log.proto", |
| "third_party/metrics_proto/translate_event.proto", |
| "third_party/metrics_proto/ukm/aggregate.proto", |
| "third_party/metrics_proto/ukm/entry.proto", |
| "third_party/metrics_proto/ukm/report.proto", |
| "third_party/metrics_proto/ukm/source.proto", |
| "third_party/metrics_proto/user_action_event.proto", |
| "third_party/metrics_proto/user_demographics.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/metrics_proto --cpp_out=lite=true:$(genDir)/external/cronet/third_party/metrics_proto/ $(in)", |
| out: [ |
| "external/cronet/third_party/metrics_proto/call_stack_profile.pb.h", |
| "external/cronet/third_party/metrics_proto/cast_logs.pb.h", |
| "external/cronet/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.h", |
| "external/cronet/third_party/metrics_proto/chrome_user_metrics_extension.pb.h", |
| "external/cronet/third_party/metrics_proto/custom_tab_session.pb.h", |
| "external/cronet/third_party/metrics_proto/execution_context.pb.h", |
| "external/cronet/third_party/metrics_proto/extension_install.pb.h", |
| "external/cronet/third_party/metrics_proto/histogram_event.pb.h", |
| "external/cronet/third_party/metrics_proto/omnibox_event.pb.h", |
| "external/cronet/third_party/metrics_proto/omnibox_focus_type.pb.h", |
| "external/cronet/third_party/metrics_proto/omnibox_input_type.pb.h", |
| "external/cronet/third_party/metrics_proto/perf_data.pb.h", |
| "external/cronet/third_party/metrics_proto/perf_stat.pb.h", |
| "external/cronet/third_party/metrics_proto/printer_event.pb.h", |
| "external/cronet/third_party/metrics_proto/reporting_info.pb.h", |
| "external/cronet/third_party/metrics_proto/sampled_profile.pb.h", |
| "external/cronet/third_party/metrics_proto/structured_data.pb.h", |
| "external/cronet/third_party/metrics_proto/system_profile.pb.h", |
| "external/cronet/third_party/metrics_proto/trace_log.pb.h", |
| "external/cronet/third_party/metrics_proto/translate_event.pb.h", |
| "external/cronet/third_party/metrics_proto/ukm/aggregate.pb.h", |
| "external/cronet/third_party/metrics_proto/ukm/entry.pb.h", |
| "external/cronet/third_party/metrics_proto/ukm/report.pb.h", |
| "external/cronet/third_party/metrics_proto/ukm/source.pb.h", |
| "external/cronet/third_party/metrics_proto/user_action_event.pb.h", |
| "external/cronet/third_party/metrics_proto/user_demographics.pb.h", |
| ], |
| export_include_dirs: [ |
| ".", |
| "protos", |
| "third_party/metrics_proto", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //third_party/metrics_proto:metrics_proto |
| cc_genrule { |
| name: "cronet_aml_third_party_metrics_proto_metrics_proto_gen", |
| srcs: [ |
| "third_party/metrics_proto/call_stack_profile.proto", |
| "third_party/metrics_proto/cast_logs.proto", |
| "third_party/metrics_proto/chrome_os_app_list_launch_event.proto", |
| "third_party/metrics_proto/chrome_user_metrics_extension.proto", |
| "third_party/metrics_proto/custom_tab_session.proto", |
| "third_party/metrics_proto/execution_context.proto", |
| "third_party/metrics_proto/extension_install.proto", |
| "third_party/metrics_proto/histogram_event.proto", |
| "third_party/metrics_proto/omnibox_event.proto", |
| "third_party/metrics_proto/omnibox_focus_type.proto", |
| "third_party/metrics_proto/omnibox_input_type.proto", |
| "third_party/metrics_proto/perf_data.proto", |
| "third_party/metrics_proto/perf_stat.proto", |
| "third_party/metrics_proto/printer_event.proto", |
| "third_party/metrics_proto/reporting_info.proto", |
| "third_party/metrics_proto/sampled_profile.proto", |
| "third_party/metrics_proto/structured_data.proto", |
| "third_party/metrics_proto/system_profile.proto", |
| "third_party/metrics_proto/trace_log.proto", |
| "third_party/metrics_proto/translate_event.proto", |
| "third_party/metrics_proto/ukm/aggregate.proto", |
| "third_party/metrics_proto/ukm/entry.proto", |
| "third_party/metrics_proto/ukm/report.proto", |
| "third_party/metrics_proto/ukm/source.proto", |
| "third_party/metrics_proto/user_action_event.proto", |
| "third_party/metrics_proto/user_demographics.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/metrics_proto --cpp_out=lite=true:$(genDir)/external/cronet/third_party/metrics_proto/ $(in)", |
| out: [ |
| "external/cronet/third_party/metrics_proto/call_stack_profile.pb.cc", |
| "external/cronet/third_party/metrics_proto/cast_logs.pb.cc", |
| "external/cronet/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.cc", |
| "external/cronet/third_party/metrics_proto/chrome_user_metrics_extension.pb.cc", |
| "external/cronet/third_party/metrics_proto/custom_tab_session.pb.cc", |
| "external/cronet/third_party/metrics_proto/execution_context.pb.cc", |
| "external/cronet/third_party/metrics_proto/extension_install.pb.cc", |
| "external/cronet/third_party/metrics_proto/histogram_event.pb.cc", |
| "external/cronet/third_party/metrics_proto/omnibox_event.pb.cc", |
| "external/cronet/third_party/metrics_proto/omnibox_focus_type.pb.cc", |
| "external/cronet/third_party/metrics_proto/omnibox_input_type.pb.cc", |
| "external/cronet/third_party/metrics_proto/perf_data.pb.cc", |
| "external/cronet/third_party/metrics_proto/perf_stat.pb.cc", |
| "external/cronet/third_party/metrics_proto/printer_event.pb.cc", |
| "external/cronet/third_party/metrics_proto/reporting_info.pb.cc", |
| "external/cronet/third_party/metrics_proto/sampled_profile.pb.cc", |
| "external/cronet/third_party/metrics_proto/structured_data.pb.cc", |
| "external/cronet/third_party/metrics_proto/system_profile.pb.cc", |
| "external/cronet/third_party/metrics_proto/trace_log.pb.cc", |
| "external/cronet/third_party/metrics_proto/translate_event.pb.cc", |
| "external/cronet/third_party/metrics_proto/ukm/aggregate.pb.cc", |
| "external/cronet/third_party/metrics_proto/ukm/entry.pb.cc", |
| "external/cronet/third_party/metrics_proto/ukm/report.pb.cc", |
| "external/cronet/third_party/metrics_proto/ukm/source.pb.cc", |
| "external/cronet/third_party/metrics_proto/user_action_event.pb.cc", |
| "external/cronet/third_party/metrics_proto/user_demographics.pb.cc", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //third_party/metrics_proto:metrics_proto |
| cc_genrule { |
| name: "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers", |
| srcs: [ |
| "third_party/metrics_proto/call_stack_profile.proto", |
| "third_party/metrics_proto/cast_logs.proto", |
| "third_party/metrics_proto/chrome_os_app_list_launch_event.proto", |
| "third_party/metrics_proto/chrome_user_metrics_extension.proto", |
| "third_party/metrics_proto/custom_tab_session.proto", |
| "third_party/metrics_proto/execution_context.proto", |
| "third_party/metrics_proto/extension_install.proto", |
| "third_party/metrics_proto/histogram_event.proto", |
| "third_party/metrics_proto/omnibox_event.proto", |
| "third_party/metrics_proto/omnibox_focus_type.proto", |
| "third_party/metrics_proto/omnibox_input_type.proto", |
| "third_party/metrics_proto/perf_data.proto", |
| "third_party/metrics_proto/perf_stat.proto", |
| "third_party/metrics_proto/printer_event.proto", |
| "third_party/metrics_proto/reporting_info.proto", |
| "third_party/metrics_proto/sampled_profile.proto", |
| "third_party/metrics_proto/structured_data.proto", |
| "third_party/metrics_proto/system_profile.proto", |
| "third_party/metrics_proto/trace_log.proto", |
| "third_party/metrics_proto/translate_event.proto", |
| "third_party/metrics_proto/ukm/aggregate.proto", |
| "third_party/metrics_proto/ukm/entry.proto", |
| "third_party/metrics_proto/ukm/report.proto", |
| "third_party/metrics_proto/ukm/source.proto", |
| "third_party/metrics_proto/user_action_event.proto", |
| "third_party/metrics_proto/user_demographics.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/metrics_proto --cpp_out=lite=true:$(genDir)/external/cronet/third_party/metrics_proto/ $(in)", |
| out: [ |
| "external/cronet/third_party/metrics_proto/call_stack_profile.pb.h", |
| "external/cronet/third_party/metrics_proto/cast_logs.pb.h", |
| "external/cronet/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.h", |
| "external/cronet/third_party/metrics_proto/chrome_user_metrics_extension.pb.h", |
| "external/cronet/third_party/metrics_proto/custom_tab_session.pb.h", |
| "external/cronet/third_party/metrics_proto/execution_context.pb.h", |
| "external/cronet/third_party/metrics_proto/extension_install.pb.h", |
| "external/cronet/third_party/metrics_proto/histogram_event.pb.h", |
| "external/cronet/third_party/metrics_proto/omnibox_event.pb.h", |
| "external/cronet/third_party/metrics_proto/omnibox_focus_type.pb.h", |
| "external/cronet/third_party/metrics_proto/omnibox_input_type.pb.h", |
| "external/cronet/third_party/metrics_proto/perf_data.pb.h", |
| "external/cronet/third_party/metrics_proto/perf_stat.pb.h", |
| "external/cronet/third_party/metrics_proto/printer_event.pb.h", |
| "external/cronet/third_party/metrics_proto/reporting_info.pb.h", |
| "external/cronet/third_party/metrics_proto/sampled_profile.pb.h", |
| "external/cronet/third_party/metrics_proto/structured_data.pb.h", |
| "external/cronet/third_party/metrics_proto/system_profile.pb.h", |
| "external/cronet/third_party/metrics_proto/trace_log.pb.h", |
| "external/cronet/third_party/metrics_proto/translate_event.pb.h", |
| "external/cronet/third_party/metrics_proto/ukm/aggregate.pb.h", |
| "external/cronet/third_party/metrics_proto/ukm/entry.pb.h", |
| "external/cronet/third_party/metrics_proto/ukm/report.pb.h", |
| "external/cronet/third_party/metrics_proto/ukm/source.pb.h", |
| "external/cronet/third_party/metrics_proto/user_action_event.pb.h", |
| "external/cronet/third_party/metrics_proto/user_demographics.pb.h", |
| ], |
| export_include_dirs: [ |
| ".", |
| "protos", |
| "third_party/metrics_proto", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //third_party/modp_b64:modp_b64 |
| cc_library_static { |
| name: "cronet_aml_third_party_modp_b64_modp_b64", |
| srcs: [ |
| "third_party/modp_b64/modp_b64.cc", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/modp_b64:modp_b64__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| srcs: [ |
| "third_party/modp_b64/modp_b64.cc", |
| ], |
| host_supported: true, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DHAVE_SYS_UIO_H", |
| "-Oz", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| host: { |
| cflags: [ |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-O2", |
| "-fstack-protector", |
| "-msse3", |
| ], |
| compile_multilib: "64", |
| }, |
| }, |
| } |
| |
| // GN: //third_party/protobuf:protobuf_full |
| cc_library_static { |
| name: "cronet_aml_third_party_protobuf_protobuf_full", |
| srcs: [ |
| "third_party/protobuf/src/google/protobuf/any.cc", |
| "third_party/protobuf/src/google/protobuf/any.pb.cc", |
| "third_party/protobuf/src/google/protobuf/any_lite.cc", |
| "third_party/protobuf/src/google/protobuf/api.pb.cc", |
| "third_party/protobuf/src/google/protobuf/arena.cc", |
| "third_party/protobuf/src/google/protobuf/arenastring.cc", |
| "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/importer.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/parser.cc", |
| "third_party/protobuf/src/google/protobuf/descriptor.cc", |
| "third_party/protobuf/src/google/protobuf/descriptor.pb.cc", |
| "third_party/protobuf/src/google/protobuf/descriptor_database.cc", |
| "third_party/protobuf/src/google/protobuf/duration.pb.cc", |
| "third_party/protobuf/src/google/protobuf/dynamic_message.cc", |
| "third_party/protobuf/src/google/protobuf/empty.pb.cc", |
| "third_party/protobuf/src/google/protobuf/extension_set.cc", |
| "third_party/protobuf/src/google/protobuf/extension_set_heavy.cc", |
| "third_party/protobuf/src/google/protobuf/field_mask.pb.cc", |
| "third_party/protobuf/src/google/protobuf/generated_enum_util.cc", |
| "third_party/protobuf/src/google/protobuf/generated_message_bases.cc", |
| "third_party/protobuf/src/google/protobuf/generated_message_reflection.cc", |
| "third_party/protobuf/src/google/protobuf/generated_message_tctable_full.cc", |
| "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc", |
| "third_party/protobuf/src/google/protobuf/generated_message_util.cc", |
| "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc", |
| "third_party/protobuf/src/google/protobuf/inlined_string_field.cc", |
| "third_party/protobuf/src/google/protobuf/io/coded_stream.cc", |
| "third_party/protobuf/src/google/protobuf/io/gzip_stream.cc", |
| "third_party/protobuf/src/google/protobuf/io/io_win32.cc", |
| "third_party/protobuf/src/google/protobuf/io/printer.cc", |
| "third_party/protobuf/src/google/protobuf/io/strtod.cc", |
| "third_party/protobuf/src/google/protobuf/io/tokenizer.cc", |
| "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc", |
| "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc", |
| "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc", |
| "third_party/protobuf/src/google/protobuf/map.cc", |
| "third_party/protobuf/src/google/protobuf/map_field.cc", |
| "third_party/protobuf/src/google/protobuf/message.cc", |
| "third_party/protobuf/src/google/protobuf/message_lite.cc", |
| "third_party/protobuf/src/google/protobuf/parse_context.cc", |
| "third_party/protobuf/src/google/protobuf/reflection_ops.cc", |
| "third_party/protobuf/src/google/protobuf/repeated_field.cc", |
| "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc", |
| "third_party/protobuf/src/google/protobuf/service.cc", |
| "third_party/protobuf/src/google/protobuf/source_context.pb.cc", |
| "third_party/protobuf/src/google/protobuf/struct.pb.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/common.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/int128.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/status.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/statusor.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/strutil.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/substitute.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/time.cc", |
| "third_party/protobuf/src/google/protobuf/text_format.cc", |
| "third_party/protobuf/src/google/protobuf/timestamp.pb.cc", |
| "third_party/protobuf/src/google/protobuf/type.pb.cc", |
| "third_party/protobuf/src/google/protobuf/unknown_field_set.cc", |
| "third_party/protobuf/src/google/protobuf/util/delimited_message_util.cc", |
| "third_party/protobuf/src/google/protobuf/util/field_comparator.cc", |
| "third_party/protobuf/src/google/protobuf/util/field_mask_util.cc", |
| "third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc", |
| "third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc", |
| "third_party/protobuf/src/google/protobuf/util/internal/error_listener.cc", |
| "third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc", |
| "third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc", |
| "third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.cc", |
| "third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc", |
| "third_party/protobuf/src/google/protobuf/util/internal/object_writer.cc", |
| "third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc", |
| "third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc", |
| "third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc", |
| "third_party/protobuf/src/google/protobuf/util/internal/type_info.cc", |
| "third_party/protobuf/src/google/protobuf/util/internal/utility.cc", |
| "third_party/protobuf/src/google/protobuf/util/json_util.cc", |
| "third_party/protobuf/src/google/protobuf/util/message_differencer.cc", |
| "third_party/protobuf/src/google/protobuf/util/time_util.cc", |
| "third_party/protobuf/src/google/protobuf/util/type_resolver_util.cc", |
| "third_party/protobuf/src/google/protobuf/wire_format.cc", |
| "third_party/protobuf/src/google/protobuf/wire_format_lite.cc", |
| "third_party/protobuf/src/google/protobuf/wrappers.pb.cc", |
| ], |
| shared_libs: [ |
| "libz", |
| ], |
| host_supported: true, |
| device_supported: false, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DHAVE_PTHREAD", |
| "-DHAVE_ZLIB", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_GNU_SOURCE", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fstack-protector", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| "-msse3", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| } |
| |
| // GN: //third_party/protobuf:protobuf_lite |
| cc_library_static { |
| name: "cronet_aml_third_party_protobuf_protobuf_lite", |
| srcs: [ |
| "third_party/protobuf/src/google/protobuf/any_lite.cc", |
| "third_party/protobuf/src/google/protobuf/arena.cc", |
| "third_party/protobuf/src/google/protobuf/arenastring.cc", |
| "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc", |
| "third_party/protobuf/src/google/protobuf/extension_set.cc", |
| "third_party/protobuf/src/google/protobuf/generated_enum_util.cc", |
| "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc", |
| "third_party/protobuf/src/google/protobuf/generated_message_util.cc", |
| "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc", |
| "third_party/protobuf/src/google/protobuf/inlined_string_field.cc", |
| "third_party/protobuf/src/google/protobuf/io/coded_stream.cc", |
| "third_party/protobuf/src/google/protobuf/io/io_win32.cc", |
| "third_party/protobuf/src/google/protobuf/io/strtod.cc", |
| "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc", |
| "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc", |
| "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc", |
| "third_party/protobuf/src/google/protobuf/map.cc", |
| "third_party/protobuf/src/google/protobuf/message_lite.cc", |
| "third_party/protobuf/src/google/protobuf/parse_context.cc", |
| "third_party/protobuf/src/google/protobuf/repeated_field.cc", |
| "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/common.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/int128.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/status.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/statusor.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/strutil.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/time.cc", |
| "third_party/protobuf/src/google/protobuf/wire_format_lite.cc", |
| ], |
| shared_libs: [ |
| "liblog", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/protobuf:protobuf_lite__testing |
| cc_library_static { |
| name: "cronet_aml_third_party_protobuf_protobuf_lite__testing", |
| srcs: [ |
| "third_party/protobuf/src/google/protobuf/any_lite.cc", |
| "third_party/protobuf/src/google/protobuf/arena.cc", |
| "third_party/protobuf/src/google/protobuf/arenastring.cc", |
| "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc", |
| "third_party/protobuf/src/google/protobuf/extension_set.cc", |
| "third_party/protobuf/src/google/protobuf/generated_enum_util.cc", |
| "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc", |
| "third_party/protobuf/src/google/protobuf/generated_message_util.cc", |
| "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc", |
| "third_party/protobuf/src/google/protobuf/inlined_string_field.cc", |
| "third_party/protobuf/src/google/protobuf/io/coded_stream.cc", |
| "third_party/protobuf/src/google/protobuf/io/io_win32.cc", |
| "third_party/protobuf/src/google/protobuf/io/strtod.cc", |
| "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc", |
| "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc", |
| "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc", |
| "third_party/protobuf/src/google/protobuf/map.cc", |
| "third_party/protobuf/src/google/protobuf/message_lite.cc", |
| "third_party/protobuf/src/google/protobuf/parse_context.cc", |
| "third_party/protobuf/src/google/protobuf/repeated_field.cc", |
| "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/common.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/int128.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/status.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/statusor.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/strutil.cc", |
| "third_party/protobuf/src/google/protobuf/stubs/time.cc", |
| "third_party/protobuf/src/google/protobuf/wire_format_lite.cc", |
| ], |
| shared_libs: [ |
| "liblog", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-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", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //third_party/protobuf:protoc |
| cc_binary { |
| name: "cronet_aml_third_party_protobuf_protoc", |
| srcs: [ |
| "third_party/protobuf/src/google/protobuf/compiler/main.cc", |
| ], |
| shared_libs: [ |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_protobuf_protobuf_full", |
| "cronet_aml_third_party_protobuf_protoc_lib", |
| ], |
| whole_static_libs: [ |
| "cronet_aml_buildtools_third_party_libc___libc__", |
| "cronet_aml_buildtools_third_party_libc__abi_libc__abi", |
| ], |
| host_supported: true, |
| device_supported: false, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DHAVE_PTHREAD", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_GNU_SOURCE", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fstack-protector", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| "-msse3", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| } |
| |
| // GN: //third_party/protobuf:protoc_lib |
| cc_library_static { |
| name: "cronet_aml_third_party_protobuf_protoc_lib", |
| srcs: [ |
| "third_party/protobuf/src/google/protobuf/compiler/code_generator.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_extension.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_parse_function_generator.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_service.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_map_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_context.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_enum.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_enum_lite.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_extension.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_extension_lite.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_generator_factory.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_kotlin_generator.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_map_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_map_field_lite.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder_lite.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_message_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_message_field_lite.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_message_lite.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_name_resolver.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field_lite.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_service.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_string_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/java/java_string_field_lite.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/js/well_known_types_embed.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/plugin.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/python/python_helpers.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/python/python_pyi_generator.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/subprocess.cc", |
| "third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc", |
| ], |
| shared_libs: [ |
| "libz", |
| ], |
| static_libs: [ |
| "cronet_aml_third_party_protobuf_protobuf_full", |
| ], |
| host_supported: true, |
| device_supported: false, |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DCR_SYSROOT_KEY=20230329T085712Z-1", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", |
| "-DGOOGLE_PROTOBUF_NO_RTTI", |
| "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| "-DHAVE_PTHREAD", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-DUSE_AURA=1", |
| "-DUSE_OZONE=1", |
| "-DUSE_UDEV", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_GNU_SOURCE", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_LARGEFILE_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-O2", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fstack-protector", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| "-msse3", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/protobuf/src/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| ], |
| } |
| |
| // GN: //third_party/quic_trace:quic_trace_proto__testing |
| cc_genrule { |
| name: "cronet_aml_third_party_quic_trace_quic_trace_proto__testing_gen", |
| srcs: [ |
| "third_party/quic_trace/src/quic_trace/quic_trace.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/quic_trace/src/quic_trace --cpp_out=lite=true:$(genDir)/external/cronet/third_party/quic_trace/src/quic_trace/ $(in)", |
| out: [ |
| "external/cronet/third_party/quic_trace/src/quic_trace/quic_trace.pb.cc", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //third_party/quic_trace:quic_trace_proto__testing |
| cc_genrule { |
| name: "cronet_aml_third_party_quic_trace_quic_trace_proto__testing_gen_headers", |
| srcs: [ |
| "third_party/quic_trace/src/quic_trace/quic_trace.proto", |
| ], |
| tools: [ |
| "cronet_aml_third_party_protobuf_protoc", |
| ], |
| cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/quic_trace/src/quic_trace --cpp_out=lite=true:$(genDir)/external/cronet/third_party/quic_trace/src/quic_trace/ $(in)", |
| out: [ |
| "external/cronet/third_party/quic_trace/src/quic_trace/quic_trace.pb.h", |
| ], |
| export_include_dirs: [ |
| ".", |
| "protos", |
| "third_party/quic_trace/src", |
| "third_party/quic_trace/src/quic_trace", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //url:buildflags |
| cc_genrule { |
| name: "cronet_aml_url_buildflags", |
| cmd: "echo '--flags USE_PLATFORM_ICU_ALTERNATIVES=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//url:buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "url/buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //url:buildflags__testing |
| cc_genrule { |
| name: "cronet_aml_url_buildflags__testing", |
| cmd: "echo '--flags USE_PLATFORM_ICU_ALTERNATIVES=\"true\"' | " + |
| "$(location build/write_buildflag_header.py) --output " + |
| "$(out) " + |
| "--rulename " + |
| "//url:buildflags " + |
| "--gen-dir " + |
| ". " + |
| "--definitions " + |
| "/dev/stdin", |
| out: [ |
| "url/buildflags.h", |
| ], |
| tool_files: [ |
| "build/write_buildflag_header.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //url:url |
| cc_library_static { |
| name: "cronet_aml_url_url", |
| srcs: [ |
| "url/gurl.cc", |
| "url/origin.cc", |
| "url/scheme_host_port.cc", |
| "url/third_party/mozilla/url_parse.cc", |
| "url/url_canon.cc", |
| "url/url_canon_etc.cc", |
| "url/url_canon_filesystemurl.cc", |
| "url/url_canon_fileurl.cc", |
| "url/url_canon_host.cc", |
| "url/url_canon_internal.cc", |
| "url/url_canon_ip.cc", |
| "url/url_canon_mailtourl.cc", |
| "url/url_canon_path.cc", |
| "url/url_canon_pathurl.cc", |
| "url/url_canon_query.cc", |
| "url/url_canon_relative.cc", |
| "url/url_canon_stdstring.cc", |
| "url/url_canon_stdurl.cc", |
| "url/url_constants.cc", |
| "url/url_features.cc", |
| "url/url_idna_icu_alternatives_android.cc", |
| "url/url_parse_file.cc", |
| "url/url_util.cc", |
| ], |
| shared_libs: [ |
| "//external/cronet/third_party/boringssl:libcrypto", |
| "//external/cronet/third_party/boringssl:libssl", |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc", |
| "cronet_aml_base_base", |
| "cronet_aml_base_base_static", |
| "cronet_aml_base_nodebug_assertion", |
| "cronet_aml_base_third_party_double_conversion_double_conversion", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access", |
| "cronet_aml_third_party_android_ndk_cpu_features", |
| "cronet_aml_third_party_ashmem_ashmem", |
| "cronet_aml_third_party_icu_icui18n", |
| "cronet_aml_third_party_icu_icuuc_private", |
| "cronet_aml_third_party_libevent_libevent", |
| "cronet_aml_third_party_modp_b64_modp_b64", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_debugging_buildflags", |
| "cronet_aml_base_logging_buildflags", |
| "cronet_aml_build_chromeos_buildflags", |
| "cronet_aml_url_buildflags", |
| "cronet_aml_url_url_jni_headers", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_base_debugging_buildflags", |
| "cronet_aml_base_logging_buildflags", |
| "cronet_aml_build_chromeos_buildflags", |
| "cronet_aml_url_buildflags", |
| "cronet_aml_url_url_jni_headers", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DIS_URL_IMPL", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //url:url__testing |
| cc_library_static { |
| name: "cronet_aml_url_url__testing", |
| srcs: [ |
| "url/gurl.cc", |
| "url/origin.cc", |
| "url/scheme_host_port.cc", |
| "url/third_party/mozilla/url_parse.cc", |
| "url/url_canon.cc", |
| "url/url_canon_etc.cc", |
| "url/url_canon_filesystemurl.cc", |
| "url/url_canon_fileurl.cc", |
| "url/url_canon_host.cc", |
| "url/url_canon_internal.cc", |
| "url/url_canon_ip.cc", |
| "url/url_canon_mailtourl.cc", |
| "url/url_canon_path.cc", |
| "url/url_canon_pathurl.cc", |
| "url/url_canon_query.cc", |
| "url/url_canon_relative.cc", |
| "url/url_canon_stdstring.cc", |
| "url/url_canon_stdurl.cc", |
| "url/url_constants.cc", |
| "url/url_features.cc", |
| "url/url_idna_icu_alternatives_android.cc", |
| "url/url_parse_file.cc", |
| "url/url_util.cc", |
| ], |
| shared_libs: [ |
| "libandroid", |
| "liblog", |
| ], |
| static_libs: [ |
| "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing", |
| "cronet_aml_base_base__testing", |
| "cronet_aml_base_base_static__testing", |
| "cronet_aml_base_nodebug_assertion__testing", |
| "cronet_aml_base_third_party_double_conversion_double_conversion__testing", |
| "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_base__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_status__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_time_time__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing", |
| "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing", |
| "cronet_aml_third_party_android_ndk_cpu_features__testing", |
| "cronet_aml_third_party_ashmem_ashmem__testing", |
| "cronet_aml_third_party_boringssl_boringssl__testing", |
| "cronet_aml_third_party_boringssl_boringssl_asm__testing", |
| "cronet_aml_third_party_icu_icui18n__testing", |
| "cronet_aml_third_party_icu_icuuc_private__testing", |
| "cronet_aml_third_party_libevent_libevent__testing", |
| "cronet_aml_third_party_modp_b64_modp_b64__testing", |
| ], |
| generated_headers: [ |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| "cronet_aml_url_buildflags__testing", |
| "cronet_aml_url_url_jni_headers__testing", |
| ], |
| export_generated_headers: [ |
| "cronet_aml_base_debugging_buildflags__testing", |
| "cronet_aml_base_logging_buildflags__testing", |
| "cronet_aml_build_chromeos_buildflags__testing", |
| "cronet_aml_url_buildflags__testing", |
| "cronet_aml_url_url_jni_headers__testing", |
| ], |
| defaults: [ |
| "cronet_aml_defaults", |
| ], |
| cflags: [ |
| "-DANDROID", |
| "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| "-DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\"", |
| "-DCR_LIBCXX_REVISION=bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b", |
| "-DDYNAMIC_ANNOTATIONS_ENABLED=0", |
| "-DHAVE_SYS_UIO_H", |
| "-DIS_URL_IMPL", |
| "-DNDEBUG", |
| "-DNO_UNWIND_TABLES", |
| "-DNVALGRIND", |
| "-DOFFICIAL_BUILD", |
| "-D_FORTIFY_SOURCE=2", |
| "-D_GNU_SOURCE", |
| "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D_LIBCPP_ENABLE_ASSERTIONS=1", |
| "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| "-D__STDC_CONSTANT_MACROS", |
| "-D__STDC_FORMAT_MACROS", |
| "-Oz", |
| "-fdata-sections", |
| "-ffunction-sections", |
| "-fno-asynchronous-unwind-tables", |
| "-fno-unwind-tables", |
| "-fvisibility-inlines-hidden", |
| "-fvisibility=hidden", |
| "-g1", |
| ], |
| local_include_dirs: [ |
| "./", |
| "buildtools/third_party/libc++/", |
| "buildtools/third_party/libc++/trunk/include", |
| "buildtools/third_party/libc++abi/trunk/include", |
| "third_party/abseil-cpp/", |
| "third_party/boringssl/src/include/", |
| ], |
| cpp_std: "c++20", |
| ldflags: [ |
| "-Wl,--as-needed", |
| "-Wl,--gc-sections", |
| "-Wl,--icf=all", |
| "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds", |
| "-Wl,-wrap,asprintf", |
| "-Wl,-wrap,calloc", |
| "-Wl,-wrap,free", |
| "-Wl,-wrap,getcwd", |
| "-Wl,-wrap,malloc", |
| "-Wl,-wrap,malloc_usable_size", |
| "-Wl,-wrap,memalign", |
| "-Wl,-wrap,posix_memalign", |
| "-Wl,-wrap,pvalloc", |
| "-Wl,-wrap,realloc", |
| "-Wl,-wrap,realpath", |
| "-Wl,-wrap,strdup", |
| "-Wl,-wrap,strndup", |
| "-Wl,-wrap,valloc", |
| "-Wl,-wrap,vasprintf", |
| ], |
| target: { |
| android_arm: { |
| cflags: [ |
| "-fstack-protector", |
| ], |
| }, |
| android_arm64: { |
| cflags: [ |
| "-fstack-protector", |
| "-mno-outline", |
| ], |
| }, |
| android_x86: { |
| cflags: [ |
| "-msse3", |
| ], |
| }, |
| android_x86_64: { |
| cflags: [ |
| "-fstack-protector", |
| "-msse3", |
| ], |
| }, |
| }, |
| } |
| |
| // GN: //url:url_jni_headers |
| cc_genrule { |
| name: "cronet_aml_url_url_jni_headers", |
| srcs: [ |
| "url/android/java/src/org/chromium/url/IDNStringUtil.java", |
| "url/android/java/src/org/chromium/url/Origin.java", |
| ], |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/url/url_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--use_proxy_hash " + |
| "--output_name " + |
| "IDNStringUtil_jni.h " + |
| "--output_name " + |
| "Origin_jni.h " + |
| "--input_file " + |
| "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java) " + |
| "--input_file " + |
| "$(location url/android/java/src/org/chromium/url/Origin.java) " + |
| "--package_prefix " + |
| "android.net.connectivity", |
| out: [ |
| "url/url_jni_headers/IDNStringUtil_jni.h", |
| "url/url_jni_headers/Origin_jni.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |
| // GN: //url:url_jni_headers__testing |
| cc_genrule { |
| name: "cronet_aml_url_url_jni_headers__testing", |
| srcs: [ |
| "url/android/java/src/org/chromium/url/IDNStringUtil.java", |
| "url/android/java/src/org/chromium/url/Origin.java", |
| ], |
| cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " + |
| "long " + |
| "--output_dir " + |
| "$(genDir)/url/url_jni_headers " + |
| "--includes " + |
| "base/android/jni_generator/jni_generator_helper.h " + |
| "--use_proxy_hash " + |
| "--output_name " + |
| "IDNStringUtil_jni.h " + |
| "--output_name " + |
| "Origin_jni.h " + |
| "--input_file " + |
| "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java) " + |
| "--input_file " + |
| "$(location url/android/java/src/org/chromium/url/Origin.java)", |
| out: [ |
| "url/url_jni_headers/IDNStringUtil_jni.h", |
| "url/url_jni_headers/Origin_jni.h", |
| ], |
| tool_files: [ |
| "base/android/jni_generator/android_jar.classes", |
| "base/android/jni_generator/jni_generator.py", |
| "build/action_helpers.py", |
| "build/android/gyp/util/__init__.py", |
| "build/android/gyp/util/build_utils.py", |
| "build/gn_helpers.py", |
| ], |
| apex_available: [ |
| "com.android.tethering", |
| ], |
| } |
| |