1// Copyright (C) 2022 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14// 15// This file is automatically generated by gen_android_bp.py. Do not edit. 16 17// GN: Package-Artificial 18package { 19 default_applicable_licenses: [ 20 "external_cronet_license", 21 ], 22} 23 24// GN: //net/tools/tld_cleanup:tld_cleanup__testing 25cc_library_static { 26 name: "stable_cronet_net_tools_tld_cleanup_tld_cleanup__testing", 27 srcs: [ 28 "tld_cleanup_util.cc", 29 ], 30 shared_libs: [ 31 "libandroid", 32 "liblog", 33 "libz", 34 ], 35 host_cross_supported: false, 36 generated_headers: [ 37 "stable_cronet_base_allocator_buildflags__testing", 38 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 39 "stable_cronet_base_anchor_functions_buildflags__testing", 40 "stable_cronet_base_build_date__testing", 41 "stable_cronet_base_cfi_buildflags__testing", 42 "stable_cronet_base_check_version_internal_action__testing", 43 "stable_cronet_base_clang_profiling_buildflags__testing", 44 "stable_cronet_base_debugging_buildflags__testing", 45 "stable_cronet_base_feature_list_buildflags__testing", 46 "stable_cronet_base_fuzzing_buildflags__testing", 47 "stable_cronet_base_ios_cronet_buildflags__testing", 48 "stable_cronet_base_orderfile_buildflags__testing", 49 "stable_cronet_base_power_monitor_buildflags__testing", 50 "stable_cronet_base_profiler_buildflags__testing", 51 "stable_cronet_base_protected_memory_buildflags__testing", 52 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 53 "stable_cronet_base_sanitizer_buildflags__testing", 54 "stable_cronet_base_synchronization_buildflags__testing", 55 "stable_cronet_base_tracing_buildflags__testing", 56 "stable_cronet_build_blink_buildflags__testing", 57 "stable_cronet_build_branding_buildflags__testing", 58 "stable_cronet_build_chromecast_buildflags__testing", 59 "stable_cronet_build_chromeos_buildflags__testing", 60 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 61 "stable_cronet_build_ios_buildflags__testing", 62 "stable_cronet_build_robolectric_buildflags__testing", 63 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 64 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 65 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 66 "stable_cronet_url_buildflags__testing", 67 "stable_cronet_url_url_jni_headers__action__testing", 68 ], 69 export_generated_headers: [ 70 "stable_cronet_base_allocator_buildflags__testing", 71 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 72 "stable_cronet_base_anchor_functions_buildflags__testing", 73 "stable_cronet_base_build_date__testing", 74 "stable_cronet_base_cfi_buildflags__testing", 75 "stable_cronet_base_check_version_internal_action__testing", 76 "stable_cronet_base_clang_profiling_buildflags__testing", 77 "stable_cronet_base_debugging_buildflags__testing", 78 "stable_cronet_base_feature_list_buildflags__testing", 79 "stable_cronet_base_fuzzing_buildflags__testing", 80 "stable_cronet_base_ios_cronet_buildflags__testing", 81 "stable_cronet_base_orderfile_buildflags__testing", 82 "stable_cronet_base_power_monitor_buildflags__testing", 83 "stable_cronet_base_profiler_buildflags__testing", 84 "stable_cronet_base_protected_memory_buildflags__testing", 85 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 86 "stable_cronet_base_sanitizer_buildflags__testing", 87 "stable_cronet_base_synchronization_buildflags__testing", 88 "stable_cronet_base_tracing_buildflags__testing", 89 "stable_cronet_build_blink_buildflags__testing", 90 "stable_cronet_build_branding_buildflags__testing", 91 "stable_cronet_build_chromecast_buildflags__testing", 92 "stable_cronet_build_chromeos_buildflags__testing", 93 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 94 "stable_cronet_build_ios_buildflags__testing", 95 "stable_cronet_build_robolectric_buildflags__testing", 96 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 97 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 98 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 99 "stable_cronet_url_buildflags__testing", 100 "stable_cronet_url_url_jni_headers__action__testing", 101 ], 102 defaults: [ 103 "stable_cronet_cc_defaults", 104 ], 105 cflags: [ 106 "-DANDROID", 107 "-DANDROID_NDK_VERSION_ROLL=r27_1", 108 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 109 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 110 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 111 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 112 "-DHAVE_SYS_UIO_H", 113 "-DNDEBUG", 114 "-DNVALGRIND", 115 "-DOFFICIAL_BUILD", 116 "-DTMP_REBUILD_HACK", 117 "-D_GNU_SOURCE", 118 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 119 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 120 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 121 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 122 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 123 "-D__STDC_CONSTANT_MACROS", 124 "-D__STDC_FORMAT_MACROS", 125 "-fdata-sections", 126 "-ffunction-sections", 127 "-fstack-protector", 128 "-fvisibility-inlines-hidden", 129 "-fvisibility=hidden", 130 "-g1", 131 ], 132 include_dirs: [ 133 "external/cronet/stable/", 134 "external/cronet/stable/base/allocator/partition_allocator/src/", 135 "external/cronet/stable/buildtools/third_party/libc++/", 136 "external/cronet/stable/third_party/abseil-cpp/", 137 "external/cronet/stable/third_party/boringssl/src/include/", 138 "external/cronet/stable/third_party/libc++/src/include", 139 "external/cronet/stable/third_party/libc++abi/src/include", 140 ], 141 cpp_std: "c++20", 142 ldflags: [ 143 "-Wl,--as-needed", 144 "-Wl,--gc-sections", 145 "-Wl,--icf=all", 146 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 147 ], 148 visibility: [ 149 "//external/cronet:__subpackages__", 150 ], 151 target: { 152 android_arm: { 153 cflags: [ 154 "-D_FORTIFY_SOURCE=2", 155 ], 156 }, 157 android_arm64: { 158 cflags: [ 159 "-D_FORTIFY_SOURCE=2", 160 "-D__ARM_NEON__=1", 161 "-O2", 162 "-mno-outline", 163 ], 164 }, 165 android_x86: { 166 cflags: [ 167 "-D_FORTIFY_SOURCE=2", 168 "-msse3", 169 ], 170 }, 171 android_x86_64: { 172 cflags: [ 173 "-D_FORTIFY_SOURCE=2", 174 "-O2", 175 "-msse3", 176 ], 177 }, 178 }, 179} 180