// Copyright (C) 2022 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // // This file is automatically generated by gn2bp/gen_android_bp.py. Do not edit. // GN: Package-Artificial package { default_applicable_licenses: [ "external_cronet_license", ], } // GN: //base/allocator/partition_allocator/src/partition_alloc:allocator_base cc_library_static { name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_base", srcs: [ "partition_alloc_base/check.cc", "partition_alloc_base/cpu.cc", "partition_alloc_base/debug/alias.cc", "partition_alloc_base/debug/stack_trace.cc", "partition_alloc_base/debug/stack_trace_android.cc", "partition_alloc_base/debug/stack_trace_posix.cc", "partition_alloc_base/files/file_path.cc", "partition_alloc_base/files/file_util_posix.cc", "partition_alloc_base/log_message.cc", "partition_alloc_base/logging.cc", "partition_alloc_base/memory/page_size_posix.cc", "partition_alloc_base/memory/ref_counted.cc", "partition_alloc_base/native_library.cc", "partition_alloc_base/native_library_posix.cc", "partition_alloc_base/posix/safe_strerror.cc", "partition_alloc_base/process/process_handle_posix.cc", "partition_alloc_base/rand_util.cc", "partition_alloc_base/rand_util_posix.cc", "partition_alloc_base/strings/cstring_builder.cc", "partition_alloc_base/strings/safe_sprintf.cc", "partition_alloc_base/strings/string_util.cc", "partition_alloc_base/strings/stringprintf.cc", "partition_alloc_base/threading/platform_thread.cc", "partition_alloc_base/threading/platform_thread_posix.cc", "partition_alloc_base/time/time.cc", "partition_alloc_base/time/time_android.cc", "partition_alloc_base/time/time_conversion_posix.cc", "partition_alloc_base/time/time_now_posix.cc", "partition_alloc_base/time/time_override.cc", ], generated_headers: [ "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags", ], export_generated_headers: [ "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags", ], defaults: [ "cronet_aml_cc_defaults", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", "-DDYNAMIC_ANNOTATIONS_ENABLED=0", "-DHAVE_SYS_UIO_H", "-DIS_PARTITION_ALLOC_BASE_IMPL", "-DNDEBUG", "-DNO_UNWIND_TABLES", "-DNVALGRIND", "-DOFFICIAL_BUILD", "-D_GNU_SOURCE", "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-D__STDC_CONSTANT_MACROS", "-D__STDC_FORMAT_MACROS", "-O3", "-fdata-sections", "-ffunction-sections", "-fno-asynchronous-unwind-tables", "-fno-unwind-tables", "-fstack-protector", "-fvisibility-inlines-hidden", "-fvisibility=hidden", "-g1", ], include_dirs: [ "external/cronet/", "external/cronet/base/allocator/partition_allocator/src/", "external/cronet/buildtools/third_party/libc++/", "external/cronet/third_party/libc++/src/include", "external/cronet/third_party/libc++abi/src/include", ], cpp_std: "c++20", ldflags: [ "-Wl,--as-needed", "-Wl,--gc-sections", "-Wl,--icf=all", ], visibility: [ "//external/cronet:__subpackages__", ], target: { android_arm: { cflags: [ "-D_FORTIFY_SOURCE=2", ], }, android_arm64: { cflags: [ "-D_FORTIFY_SOURCE=2", "-mno-outline", ], }, android_x86: { cflags: [ "-D_FORTIFY_SOURCE=2", "-msse3", ], }, android_x86_64: { cflags: [ "-D_FORTIFY_SOURCE=2", "-msse3", ], }, }, } // GN: //base/allocator/partition_allocator/src/partition_alloc:allocator_base__testing cc_library_static { name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_base__testing", srcs: [ "partition_alloc_base/check.cc", "partition_alloc_base/cpu.cc", "partition_alloc_base/debug/alias.cc", "partition_alloc_base/debug/stack_trace.cc", "partition_alloc_base/debug/stack_trace_posix.cc", "partition_alloc_base/files/file_util_posix.cc", "partition_alloc_base/log_message.cc", "partition_alloc_base/logging.cc", "partition_alloc_base/memory/page_size_posix.cc", "partition_alloc_base/memory/ref_counted.cc", "partition_alloc_base/posix/safe_strerror.cc", "partition_alloc_base/process/process_handle_posix.cc", "partition_alloc_base/rand_util.cc", "partition_alloc_base/rand_util_posix.cc", "partition_alloc_base/strings/cstring_builder.cc", "partition_alloc_base/strings/safe_sprintf.cc", "partition_alloc_base/strings/string_util.cc", "partition_alloc_base/strings/stringprintf.cc", "partition_alloc_base/threading/platform_thread.cc", "partition_alloc_base/threading/platform_thread_posix.cc", "partition_alloc_base/time/time.cc", "partition_alloc_base/time/time_conversion_posix.cc", "partition_alloc_base/time/time_now_posix.cc", "partition_alloc_base/time/time_override.cc", ], host_supported: true, generated_headers: [ "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing", ], export_generated_headers: [ "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing", ], defaults: [ "cronet_aml_cc_defaults", ], cflags: [ "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", "-DDYNAMIC_ANNOTATIONS_ENABLED=0", "-DIS_PARTITION_ALLOC_BASE_IMPL", "-DNDEBUG", "-DNO_UNWIND_TABLES", "-DNVALGRIND", "-DOFFICIAL_BUILD", "-D_GNU_SOURCE", "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", "-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", "-fstack-protector", "-fvisibility-inlines-hidden", "-fvisibility=hidden", "-g1", ], include_dirs: [ "external/cronet/", "external/cronet/base/allocator/partition_allocator/src/", "external/cronet/buildtools/third_party/libc++/", "external/cronet/third_party/libc++/src/include", "external/cronet/third_party/libc++abi/src/include", ], cpp_std: "c++20", ldflags: [ "-Wl,--as-needed", "-Wl,--gc-sections", "-Wl,--icf=all", ], visibility: [ "//external/cronet:__subpackages__", ], target: { android_arm: { srcs: [ "partition_alloc_base/debug/stack_trace_android.cc", "partition_alloc_base/files/file_path.cc", "partition_alloc_base/native_library.cc", "partition_alloc_base/native_library_posix.cc", "partition_alloc_base/time/time_android.cc", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", ], }, android_arm64: { srcs: [ "partition_alloc_base/debug/stack_trace_android.cc", "partition_alloc_base/files/file_path.cc", "partition_alloc_base/native_library.cc", "partition_alloc_base/native_library_posix.cc", "partition_alloc_base/time/time_android.cc", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-mno-outline", ], }, android_riscv64: { srcs: [ "partition_alloc_base/debug/stack_trace_android.cc", "partition_alloc_base/files/file_path.cc", "partition_alloc_base/native_library.cc", "partition_alloc_base/native_library_posix.cc", "partition_alloc_base/time/time_android.cc", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", ], }, android_x86: { srcs: [ "partition_alloc_base/debug/stack_trace_android.cc", "partition_alloc_base/files/file_path.cc", "partition_alloc_base/native_library.cc", "partition_alloc_base/native_library_posix.cc", "partition_alloc_base/time/time_android.cc", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-msse3", ], }, android_x86_64: { srcs: [ "partition_alloc_base/debug/stack_trace_android.cc", "partition_alloc_base/files/file_path.cc", "partition_alloc_base/native_library.cc", "partition_alloc_base/native_library_posix.cc", "partition_alloc_base/time/time_android.cc", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-msse3", ], }, host: { srcs: [ "partition_alloc_base/debug/stack_trace_linux.cc", ], cflags: [ "-DCR_SYSROOT_KEY=20230611T210420Z-2", "-DUSE_AURA=1", "-DUSE_OZONE=1", "-DUSE_UDEV", "-D_FILE_OFFSET_BITS=64", "-D_FORTIFY_SOURCE=2", "-D_LARGEFILE64_SOURCE", "-D_LARGEFILE_SOURCE", "-msse3", ], compile_multilib: "64", }, }, } // GN: //base/allocator/partition_allocator/src/partition_alloc:allocator_core cc_library_static { name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_core", srcs: [ "address_pool_manager.cc", "address_pool_manager_bitmap.cc", "address_space_randomization.cc", "allocation_guard.cc", "compressed_pointer.cc", "dangling_raw_ptr_checks.cc", "gwp_asan_support.cc", "internal_allocator.cc", "lightweight_quarantine.cc", "memory_reclaimer.cc", "oom.cc", "oom_callback.cc", "page_allocator.cc", "page_allocator_internals_posix.cc", "partition_address_space.cc", "partition_alloc.cc", "partition_alloc_hooks.cc", "partition_bucket.cc", "partition_dcheck_helper.cc", "partition_freelist_entry.cc", "partition_oom.cc", "partition_page.cc", "partition_root.cc", "partition_stats.cc", "random.cc", "reservation_offset_table.cc", "spinning_mutex.cc", "stack/stack.cc", "tagging.cc", "thread_cache.cc", "thread_isolation/pkey.cc", "thread_isolation/thread_isolation.cc", ], generated_headers: [ "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags", ], export_generated_headers: [ "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags", ], defaults: [ "cronet_aml_cc_defaults", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", "-DDYNAMIC_ANNOTATIONS_ENABLED=0", "-DHAS_PR_MTE_MACROS", "-DHAVE_SYS_UIO_H", "-DIS_PARTITION_ALLOC_IMPL", "-DNDEBUG", "-DNO_UNWIND_TABLES", "-DNVALGRIND", "-DOFFICIAL_BUILD", "-D_GNU_SOURCE", "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-D__STDC_CONSTANT_MACROS", "-D__STDC_FORMAT_MACROS", "-O3", "-fdata-sections", "-ffunction-sections", "-fno-asynchronous-unwind-tables", "-fno-unwind-tables", "-fstack-protector", "-fvisibility-inlines-hidden", "-fvisibility=hidden", "-g1", ], include_dirs: [ "external/cronet/", "external/cronet/base/allocator/partition_allocator/src/", "external/cronet/buildtools/third_party/libc++/", "external/cronet/third_party/cpu_features/src/ndk_compat/", "external/cronet/third_party/libc++/src/include", "external/cronet/third_party/libc++abi/src/include", ], cpp_std: "c++20", ldflags: [ "-Wl,--as-needed", "-Wl,--gc-sections", "-Wl,--icf=all", ], visibility: [ "//external/cronet:__subpackages__", ], target: { android_arm: { srcs: [ "stack/asm/arm/push_registers_asm.cc", ], cflags: [ "-D_FORTIFY_SOURCE=2", ], }, android_arm64: { srcs: [ "stack/asm/arm64/push_registers_asm.cc", ], cflags: [ "-D_FORTIFY_SOURCE=2", "-march=armv8-a+memtag", "-mno-outline", ], }, android_riscv64: { srcs: [ "stack/asm/riscv64/push_registers_asm.cc", ], }, android_x86: { srcs: [ "stack/asm/x86/push_registers_asm.cc", ], cflags: [ "-D_FORTIFY_SOURCE=2", "-msse3", ], }, android_x86_64: { srcs: [ "stack/asm/x64/push_registers_asm.cc", ], cflags: [ "-D_FORTIFY_SOURCE=2", "-msse3", ], }, }, } // GN: //base/allocator/partition_allocator/src/partition_alloc:allocator_core__testing cc_library_static { name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_core__testing", srcs: [ "address_pool_manager.cc", "address_pool_manager_bitmap.cc", "address_space_randomization.cc", "allocation_guard.cc", "compressed_pointer.cc", "dangling_raw_ptr_checks.cc", "gwp_asan_support.cc", "internal_allocator.cc", "lightweight_quarantine.cc", "memory_reclaimer.cc", "oom.cc", "oom_callback.cc", "page_allocator.cc", "page_allocator_internals_posix.cc", "partition_address_space.cc", "partition_alloc.cc", "partition_alloc_hooks.cc", "partition_bucket.cc", "partition_dcheck_helper.cc", "partition_freelist_entry.cc", "partition_oom.cc", "partition_page.cc", "partition_root.cc", "partition_stats.cc", "random.cc", "reservation_offset_table.cc", "spinning_mutex.cc", "stack/stack.cc", "tagging.cc", "thread_cache.cc", "thread_isolation/pkey.cc", "thread_isolation/thread_isolation.cc", ], host_supported: true, generated_headers: [ "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing", ], export_generated_headers: [ "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing", ], defaults: [ "cronet_aml_cc_defaults", ], cflags: [ "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", "-DDYNAMIC_ANNOTATIONS_ENABLED=0", "-DIS_PARTITION_ALLOC_IMPL", "-DNDEBUG", "-DNO_UNWIND_TABLES", "-DNVALGRIND", "-DOFFICIAL_BUILD", "-D_GNU_SOURCE", "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", "-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", "-fstack-protector", "-fvisibility-inlines-hidden", "-fvisibility=hidden", "-g1", ], include_dirs: [ "external/cronet/", "external/cronet/base/allocator/partition_allocator/src/", "external/cronet/buildtools/third_party/libc++/", "external/cronet/third_party/libc++/src/include", "external/cronet/third_party/libc++abi/src/include", ], cpp_std: "c++20", ldflags: [ "-Wl,--as-needed", "-Wl,--gc-sections", "-Wl,--icf=all", ], visibility: [ "//external/cronet:__subpackages__", ], target: { android_arm: { srcs: [ "stack/asm/arm/push_registers_asm.cc", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAS_PR_MTE_MACROS", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", ], include_dirs: [ "external/cronet/third_party/cpu_features/src/ndk_compat/", ], }, android_arm64: { srcs: [ "stack/asm/arm64/push_registers_asm.cc", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAS_PR_MTE_MACROS", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-march=armv8-a+memtag", "-mno-outline", ], include_dirs: [ "external/cronet/third_party/cpu_features/src/ndk_compat/", ], }, android_riscv64: { srcs: [ "stack/asm/riscv64/push_registers_asm.cc", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAS_PR_MTE_MACROS", "-DHAVE_SYS_UIO_H", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", ], include_dirs: [ "external/cronet/third_party/cpu_features/src/ndk_compat/", ], }, android_x86: { srcs: [ "stack/asm/x86/push_registers_asm.cc", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAS_PR_MTE_MACROS", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-msse3", ], include_dirs: [ "external/cronet/third_party/cpu_features/src/ndk_compat/", ], }, android_x86_64: { srcs: [ "stack/asm/x64/push_registers_asm.cc", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAS_PR_MTE_MACROS", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-msse3", ], include_dirs: [ "external/cronet/third_party/cpu_features/src/ndk_compat/", ], }, host: { srcs: [ "stack/asm/x64/push_registers_asm.cc", ], cflags: [ "-DCR_SYSROOT_KEY=20230611T210420Z-2", "-DUSE_AURA=1", "-DUSE_OZONE=1", "-DUSE_UDEV", "-D_FILE_OFFSET_BITS=64", "-D_FORTIFY_SOURCE=2", "-D_LARGEFILE64_SOURCE", "-D_LARGEFILE_SOURCE", "-msse3", ], compile_multilib: "64", }, }, } // GN: //base/allocator/partition_allocator/src/partition_alloc:allocator_shim cc_library_static { name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_shim", srcs: [ "shim/allocator_shim_android.cc", "shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc", "shim/allocator_shim_dispatch_to_noop_on_free.cc", ], generated_headers: [ "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags", ], export_generated_headers: [ "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags", ], defaults: [ "cronet_aml_cc_defaults", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", "-DDYNAMIC_ANNOTATIONS_ENABLED=0", "-DHAVE_SYS_UIO_H", "-DIS_ALLOCATOR_SHIM_IMPL", "-DNDEBUG", "-DNO_UNWIND_TABLES", "-DNVALGRIND", "-DOFFICIAL_BUILD", "-D_GNU_SOURCE", "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-D__STDC_CONSTANT_MACROS", "-D__STDC_FORMAT_MACROS", "-O3", "-fdata-sections", "-ffunction-sections", "-fno-asynchronous-unwind-tables", "-fno-unwind-tables", "-fstack-protector", "-fvisibility-inlines-hidden", "-fvisibility=hidden", "-g1", ], include_dirs: [ "external/cronet/", "external/cronet/base/allocator/partition_allocator/src/", "external/cronet/buildtools/third_party/libc++/", "external/cronet/third_party/libc++/src/include", "external/cronet/third_party/libc++abi/src/include", ], cpp_std: "c++20", ldflags: [ "-Wl,--as-needed", "-Wl,--gc-sections", "-Wl,--icf=all", "-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", ], visibility: [ "//external/cronet:__subpackages__", ], target: { android_arm: { cflags: [ "-D_FORTIFY_SOURCE=2", ], }, android_arm64: { cflags: [ "-D_FORTIFY_SOURCE=2", "-mno-outline", ], }, android_x86: { cflags: [ "-D_FORTIFY_SOURCE=2", "-msse3", ], }, android_x86_64: { cflags: [ "-D_FORTIFY_SOURCE=2", "-msse3", ], }, }, } // GN: //base/allocator/partition_allocator/src/partition_alloc:allocator_shim__testing cc_library_static { name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_shim__testing", srcs: [ "shim/allocator_shim_dispatch_to_noop_on_free.cc", ], host_supported: true, generated_headers: [ "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing", ], export_generated_headers: [ "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing", ], defaults: [ "cronet_aml_cc_defaults", ], cflags: [ "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", "-DDYNAMIC_ANNOTATIONS_ENABLED=0", "-DIS_ALLOCATOR_SHIM_IMPL", "-DNDEBUG", "-DNO_UNWIND_TABLES", "-DNVALGRIND", "-DOFFICIAL_BUILD", "-D_GNU_SOURCE", "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", "-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", "-fstack-protector", "-fvisibility-inlines-hidden", "-fvisibility=hidden", "-g1", ], include_dirs: [ "external/cronet/", "external/cronet/base/allocator/partition_allocator/src/", "external/cronet/buildtools/third_party/libc++/", "external/cronet/third_party/libc++/src/include", "external/cronet/third_party/libc++abi/src/include", ], cpp_std: "c++20", ldflags: [ "-Wl,--as-needed", "-Wl,--gc-sections", "-Wl,--icf=all", ], visibility: [ "//external/cronet:__subpackages__", ], target: { android_arm: { srcs: [ "shim/allocator_shim_android.cc", "shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", ], 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: [ "shim/allocator_shim_android.cc", "shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-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_riscv64: { srcs: [ "shim/allocator_shim_android.cc", "shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", ], 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: [ "shim/allocator_shim_android.cc", "shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-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: { srcs: [ "shim/allocator_shim_android.cc", "shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-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: { srcs: [ "shim/allocator_shim.cc", "shim/allocator_shim_default_dispatch_to_glibc.cc", ], cflags: [ "-DCR_SYSROOT_KEY=20230611T210420Z-2", "-DUSE_AURA=1", "-DUSE_OZONE=1", "-DUSE_UDEV", "-D_FILE_OFFSET_BITS=64", "-D_FORTIFY_SOURCE=2", "-D_LARGEFILE64_SOURCE", "-D_LARGEFILE_SOURCE", "-msse3", ], compile_multilib: "64", }, }, } // GN: //base/allocator/partition_allocator/src/partition_alloc:raw_ptr cc_library_static { name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr", srcs: [ "pointers/empty.cc", "pointers/instance_tracer.cc", ], generated_headers: [ "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags", ], export_generated_headers: [ "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags", ], defaults: [ "cronet_aml_cc_defaults", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", "-DDYNAMIC_ANNOTATIONS_ENABLED=0", "-DHAVE_SYS_UIO_H", "-DIS_RAW_PTR_IMPL", "-DNDEBUG", "-DNO_UNWIND_TABLES", "-DNVALGRIND", "-DOFFICIAL_BUILD", "-D_GNU_SOURCE", "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-D__STDC_CONSTANT_MACROS", "-D__STDC_FORMAT_MACROS", "-O3", "-fdata-sections", "-ffunction-sections", "-fno-asynchronous-unwind-tables", "-fno-unwind-tables", "-fstack-protector", "-fvisibility-inlines-hidden", "-fvisibility=hidden", "-g1", ], include_dirs: [ "external/cronet/", "external/cronet/base/allocator/partition_allocator/src/", "external/cronet/buildtools/third_party/libc++/", "external/cronet/third_party/libc++/src/include", "external/cronet/third_party/libc++abi/src/include", ], cpp_std: "c++20", ldflags: [ "-Wl,--as-needed", "-Wl,--gc-sections", "-Wl,--icf=all", ], visibility: [ "//external/cronet:__subpackages__", ], target: { android_arm: { cflags: [ "-D_FORTIFY_SOURCE=2", ], }, android_arm64: { cflags: [ "-D_FORTIFY_SOURCE=2", "-mno-outline", ], }, android_x86: { cflags: [ "-D_FORTIFY_SOURCE=2", "-msse3", ], }, android_x86_64: { cflags: [ "-D_FORTIFY_SOURCE=2", "-msse3", ], }, }, } // GN: //base/allocator/partition_allocator/src/partition_alloc:raw_ptr__testing cc_library_static { name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr__testing", srcs: [ "pointers/empty.cc", "pointers/instance_tracer.cc", ], host_supported: true, generated_headers: [ "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing", ], export_generated_headers: [ "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing", "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing", ], defaults: [ "cronet_aml_cc_defaults", ], cflags: [ "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", "-DDYNAMIC_ANNOTATIONS_ENABLED=0", "-DIS_RAW_PTR_IMPL", "-DNDEBUG", "-DNO_UNWIND_TABLES", "-DNVALGRIND", "-DOFFICIAL_BUILD", "-D_GNU_SOURCE", "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", "-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", "-fstack-protector", "-fvisibility-inlines-hidden", "-fvisibility=hidden", "-g1", ], include_dirs: [ "external/cronet/", "external/cronet/base/allocator/partition_allocator/src/", "external/cronet/buildtools/third_party/libc++/", "external/cronet/third_party/libc++/src/include", "external/cronet/third_party/libc++abi/src/include", ], cpp_std: "c++20", ldflags: [ "-Wl,--as-needed", "-Wl,--gc-sections", "-Wl,--icf=all", ], visibility: [ "//external/cronet:__subpackages__", ], target: { android_arm: { cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", ], }, android_arm64: { cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-mno-outline", ], }, android_riscv64: { cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", ], }, android_x86: { cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-msse3", ], }, android_x86_64: { cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-msse3", ], }, host: { cflags: [ "-DCR_SYSROOT_KEY=20230611T210420Z-2", "-DUSE_AURA=1", "-DUSE_OZONE=1", "-DUSE_UDEV", "-D_FILE_OFFSET_BITS=64", "-D_FORTIFY_SOURCE=2", "-D_LARGEFILE64_SOURCE", "-D_LARGEFILE_SOURCE", "-msse3", ], compile_multilib: "64", }, }, }