// Copyright (C) 2022 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // // This file is automatically generated by gen_android_bp.py. Do not edit. // GN: Package-Artificial package { default_applicable_licenses: [ "external_cronet_license", ], } // GN: //net/tools/huffman_trie:huffman_trie_generator_sources__testing cc_library_static { name: "stable_cronet_net_tools_huffman_trie_huffman_trie_generator_sources__testing", srcs: [ "bit_writer.cc", "huffman/huffman_builder.cc", "trie/trie_bit_buffer.cc", "trie/trie_writer.cc", "trie_entry.cc", ], shared_libs: [ "libz", ], host_supported: true, host_cross_supported: false, generated_headers: [ "stable_cronet_base_allocator_buildflags__testing", "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", "stable_cronet_base_anchor_functions_buildflags__testing", "stable_cronet_base_build_date__testing", "stable_cronet_base_cfi_buildflags__testing", "stable_cronet_base_check_version_internal_action__testing", "stable_cronet_base_clang_profiling_buildflags__testing", "stable_cronet_base_debugging_buildflags__testing", "stable_cronet_base_feature_list_buildflags__testing", "stable_cronet_base_fuzzing_buildflags__testing", "stable_cronet_base_ios_cronet_buildflags__testing", "stable_cronet_base_orderfile_buildflags__testing", "stable_cronet_base_power_monitor_buildflags__testing", "stable_cronet_base_profiler_buildflags__testing", "stable_cronet_base_protected_memory_buildflags__testing", "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", "stable_cronet_base_sanitizer_buildflags__testing", "stable_cronet_base_synchronization_buildflags__testing", "stable_cronet_base_tracing_buildflags__testing", "stable_cronet_build_blink_buildflags__testing", "stable_cronet_build_branding_buildflags__testing", "stable_cronet_build_chromecast_buildflags__testing", "stable_cronet_build_chromeos_buildflags__testing", "stable_cronet_build_config_compiler_compiler_buildflags__testing", "stable_cronet_build_ios_buildflags__testing", "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", ], export_generated_headers: [ "stable_cronet_base_allocator_buildflags__testing", "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", "stable_cronet_base_anchor_functions_buildflags__testing", "stable_cronet_base_build_date__testing", "stable_cronet_base_cfi_buildflags__testing", "stable_cronet_base_check_version_internal_action__testing", "stable_cronet_base_clang_profiling_buildflags__testing", "stable_cronet_base_debugging_buildflags__testing", "stable_cronet_base_feature_list_buildflags__testing", "stable_cronet_base_fuzzing_buildflags__testing", "stable_cronet_base_ios_cronet_buildflags__testing", "stable_cronet_base_orderfile_buildflags__testing", "stable_cronet_base_power_monitor_buildflags__testing", "stable_cronet_base_profiler_buildflags__testing", "stable_cronet_base_protected_memory_buildflags__testing", "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", "stable_cronet_base_sanitizer_buildflags__testing", "stable_cronet_base_synchronization_buildflags__testing", "stable_cronet_base_tracing_buildflags__testing", "stable_cronet_build_blink_buildflags__testing", "stable_cronet_build_branding_buildflags__testing", "stable_cronet_build_chromecast_buildflags__testing", "stable_cronet_build_chromeos_buildflags__testing", "stable_cronet_build_config_compiler_compiler_buildflags__testing", "stable_cronet_build_ios_buildflags__testing", "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", ], defaults: [ "stable_cronet_cc_defaults", ], cflags: [ "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", "-DDYNAMIC_ANNOTATIONS_ENABLED=0", "-DNDEBUG", "-DNVALGRIND", "-DOFFICIAL_BUILD", "-DTMP_REBUILD_HACK", "-D_GNU_SOURCE", "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", "-D__STDC_CONSTANT_MACROS", "-D__STDC_FORMAT_MACROS", "-fdata-sections", "-ffunction-sections", "-fstack-protector", "-fvisibility-inlines-hidden", "-fvisibility=hidden", "-g1", ], include_dirs: [ "external/cronet/stable/", "external/cronet/stable/base/allocator/partition_allocator/src/", "external/cronet/stable/buildtools/third_party/libc++/", "external/cronet/stable/third_party/abseil-cpp/", "external/cronet/stable/third_party/boringssl/src/include/", "external/cronet/stable/third_party/libc++/src/include", "external/cronet/stable/third_party/libc++abi/src/include", ], cpp_std: "c++20", ldflags: [ "-Wl,--as-needed", "-Wl,--gc-sections", "-Wl,--icf=all", "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", ], visibility: [ "//external/cronet:__subpackages__", ], target: { android: { shared_libs: [ "libandroid", "liblog", ], }, android_arm: { shared_libs: [ "liblog", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r27_1", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", ], generated_headers: [ "stable_cronet_third_party_jni_zero_generate_jni__action__testing", "stable_cronet_third_party_jni_zero_system_jni__action__testing", ], }, android_arm64: { shared_libs: [ "liblog", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r27_1", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-D__ARM_NEON__=1", "-O2", "-mno-outline", ], generated_headers: [ "stable_cronet_third_party_jni_zero_generate_jni__action__testing", "stable_cronet_third_party_jni_zero_system_jni__action__testing", ], }, android_riscv64: { shared_libs: [ "liblog", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r27_1", "-DHAVE_SYS_UIO_H", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", ], generated_headers: [ "stable_cronet_third_party_jni_zero_generate_jni__action__testing", "stable_cronet_third_party_jni_zero_system_jni__action__testing", ], }, android_x86: { shared_libs: [ "liblog", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r27_1", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-msse3", ], generated_headers: [ "stable_cronet_third_party_jni_zero_generate_jni__action__testing", "stable_cronet_third_party_jni_zero_system_jni__action__testing", ], }, android_x86_64: { shared_libs: [ "liblog", ], cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r27_1", "-DHAVE_SYS_UIO_H", "-D_FORTIFY_SOURCE=2", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-O2", "-msse3", ], generated_headers: [ "stable_cronet_third_party_jni_zero_generate_jni__action__testing", "stable_cronet_third_party_jni_zero_system_jni__action__testing", ], }, host: { cflags: [ "-DCR_SYSROOT_KEY=20230611T210420Z-2", "-DNO_UNWIND_TABLES", "-DUSE_AURA=1", "-DUSE_OZONE=1", "-DUSE_UDEV", "-D_FILE_OFFSET_BITS=64", "-D_FORTIFY_SOURCE=2", "-D_LARGEFILE64_SOURCE", "-D_LARGEFILE_SOURCE", "-O2", "-fno-asynchronous-unwind-tables", "-fno-unwind-tables", "-msse3", ], }, }, }