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: //components/miracle_parameter/common:common 25cc_library_static { 26 name: "stable_cronet_components_miracle_parameter_common_common", 27 srcs: [ 28 "public/miracle_parameter.cc", 29 ], 30 shared_libs: [ 31 "libandroid", 32 "liblog", 33 "libz", 34 "stable_cronet_libcrypto", 35 "stable_cronet_libpki", 36 "stable_cronet_libssl", 37 ], 38 host_cross_supported: false, 39 generated_headers: [ 40 "stable_cronet_base_allocator_buildflags", 41 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 42 "stable_cronet_base_anchor_functions_buildflags", 43 "stable_cronet_base_android_runtime_jni_headers__action", 44 "stable_cronet_base_base_jni__action", 45 "stable_cronet_base_base_shared_preferences_jni__action", 46 "stable_cronet_base_build_date", 47 "stable_cronet_base_callback_jni__action", 48 "stable_cronet_base_cfi_buildflags", 49 "stable_cronet_base_check_version_internal_action", 50 "stable_cronet_base_clang_profiling_buildflags", 51 "stable_cronet_base_command_line_jni__action", 52 "stable_cronet_base_content_uri_utils_jni__action", 53 "stable_cronet_base_debugging_buildflags", 54 "stable_cronet_base_feature_list_buildflags", 55 "stable_cronet_base_fuzzing_buildflags", 56 "stable_cronet_base_ios_cronet_buildflags", 57 "stable_cronet_base_jank_tracker_jni__action", 58 "stable_cronet_base_library_loader_jni__action", 59 "stable_cronet_base_memory_jni__action", 60 "stable_cronet_base_metrics_jni__action", 61 "stable_cronet_base_orderfile_buildflags", 62 "stable_cronet_base_power_monitor_buildflags", 63 "stable_cronet_base_process_launcher_jni__action", 64 "stable_cronet_base_profiler_buildflags", 65 "stable_cronet_base_protected_memory_buildflags", 66 "stable_cronet_base_rust_logger_cxx_generated_gen_header", 67 "stable_cronet_base_sanitizer_buildflags", 68 "stable_cronet_base_synchronization_buildflags", 69 "stable_cronet_base_sys_utils_jni__action", 70 "stable_cronet_base_tasks_jni__action", 71 "stable_cronet_base_tracing_buildflags", 72 "stable_cronet_build_blink_buildflags", 73 "stable_cronet_build_branding_buildflags", 74 "stable_cronet_build_chromecast_buildflags", 75 "stable_cronet_build_chromeos_buildflags", 76 "stable_cronet_build_config_compiler_compiler_buildflags", 77 "stable_cronet_build_ios_buildflags", 78 "stable_cronet_build_robolectric_buildflags", 79 "stable_cronet_third_party_jni_zero_generate_jni__action", 80 "stable_cronet_third_party_jni_zero_system_jni__action", 81 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 82 ], 83 export_generated_headers: [ 84 "stable_cronet_base_allocator_buildflags", 85 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 86 "stable_cronet_base_anchor_functions_buildflags", 87 "stable_cronet_base_android_runtime_jni_headers__action", 88 "stable_cronet_base_base_jni__action", 89 "stable_cronet_base_base_shared_preferences_jni__action", 90 "stable_cronet_base_build_date", 91 "stable_cronet_base_callback_jni__action", 92 "stable_cronet_base_cfi_buildflags", 93 "stable_cronet_base_check_version_internal_action", 94 "stable_cronet_base_clang_profiling_buildflags", 95 "stable_cronet_base_command_line_jni__action", 96 "stable_cronet_base_content_uri_utils_jni__action", 97 "stable_cronet_base_debugging_buildflags", 98 "stable_cronet_base_feature_list_buildflags", 99 "stable_cronet_base_fuzzing_buildflags", 100 "stable_cronet_base_ios_cronet_buildflags", 101 "stable_cronet_base_jank_tracker_jni__action", 102 "stable_cronet_base_library_loader_jni__action", 103 "stable_cronet_base_memory_jni__action", 104 "stable_cronet_base_metrics_jni__action", 105 "stable_cronet_base_orderfile_buildflags", 106 "stable_cronet_base_power_monitor_buildflags", 107 "stable_cronet_base_process_launcher_jni__action", 108 "stable_cronet_base_profiler_buildflags", 109 "stable_cronet_base_protected_memory_buildflags", 110 "stable_cronet_base_rust_logger_cxx_generated_gen_header", 111 "stable_cronet_base_sanitizer_buildflags", 112 "stable_cronet_base_synchronization_buildflags", 113 "stable_cronet_base_sys_utils_jni__action", 114 "stable_cronet_base_tasks_jni__action", 115 "stable_cronet_base_tracing_buildflags", 116 "stable_cronet_build_blink_buildflags", 117 "stable_cronet_build_branding_buildflags", 118 "stable_cronet_build_chromecast_buildflags", 119 "stable_cronet_build_chromeos_buildflags", 120 "stable_cronet_build_config_compiler_compiler_buildflags", 121 "stable_cronet_build_ios_buildflags", 122 "stable_cronet_build_robolectric_buildflags", 123 "stable_cronet_third_party_jni_zero_generate_jni__action", 124 "stable_cronet_third_party_jni_zero_system_jni__action", 125 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 126 ], 127 defaults: [ 128 "stable_cronet_cc_defaults", 129 ], 130 cflags: [ 131 "-DANDROID", 132 "-DANDROID_NDK_VERSION_ROLL=r27_1", 133 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 134 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 135 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 136 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 137 "-DHAVE_SYS_UIO_H", 138 "-DIS_MIRACLE_PARAMETER_IMPL", 139 "-DNDEBUG", 140 "-DNVALGRIND", 141 "-DOFFICIAL_BUILD", 142 "-DTMP_REBUILD_HACK", 143 "-D_GNU_SOURCE", 144 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 145 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 146 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 147 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 148 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 149 "-D__STDC_CONSTANT_MACROS", 150 "-D__STDC_FORMAT_MACROS", 151 "-fdata-sections", 152 "-ffunction-sections", 153 "-fstack-protector", 154 "-fvisibility-inlines-hidden", 155 "-fvisibility=hidden", 156 "-g1", 157 ], 158 include_dirs: [ 159 "external/cronet/stable/", 160 "external/cronet/stable/base/allocator/partition_allocator/src/", 161 "external/cronet/stable/buildtools/third_party/libc++/", 162 "external/cronet/stable/third_party/abseil-cpp/", 163 "external/cronet/stable/third_party/boringssl/src/include/", 164 "external/cronet/stable/third_party/libc++/src/include", 165 "external/cronet/stable/third_party/libc++abi/src/include", 166 ], 167 cpp_std: "c++20", 168 ldflags: [ 169 "-Wl,--as-needed", 170 "-Wl,--gc-sections", 171 "-Wl,--icf=all", 172 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 173 ], 174 visibility: [ 175 "//external/cronet:__subpackages__", 176 ], 177 target: { 178 android_arm: { 179 cflags: [ 180 "-D_FORTIFY_SOURCE=2", 181 ], 182 }, 183 android_arm64: { 184 cflags: [ 185 "-D_FORTIFY_SOURCE=2", 186 "-D__ARM_NEON__=1", 187 "-O2", 188 "-mno-outline", 189 ], 190 }, 191 android_x86: { 192 cflags: [ 193 "-D_FORTIFY_SOURCE=2", 194 "-msse3", 195 ], 196 }, 197 android_x86_64: { 198 cflags: [ 199 "-D_FORTIFY_SOURCE=2", 200 "-O2", 201 "-msse3", 202 ], 203 }, 204 }, 205} 206 207// GN: //components/miracle_parameter/common:common__testing 208cc_library_static { 209 name: "stable_cronet_components_miracle_parameter_common_common__testing", 210 srcs: [ 211 "public/miracle_parameter.cc", 212 ], 213 shared_libs: [ 214 "libandroid", 215 "liblog", 216 "libz", 217 ], 218 host_cross_supported: false, 219 generated_headers: [ 220 "stable_cronet_base_allocator_buildflags__testing", 221 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 222 "stable_cronet_base_anchor_functions_buildflags__testing", 223 "stable_cronet_base_build_date__testing", 224 "stable_cronet_base_cfi_buildflags__testing", 225 "stable_cronet_base_check_version_internal_action__testing", 226 "stable_cronet_base_clang_profiling_buildflags__testing", 227 "stable_cronet_base_debugging_buildflags__testing", 228 "stable_cronet_base_feature_list_buildflags__testing", 229 "stable_cronet_base_fuzzing_buildflags__testing", 230 "stable_cronet_base_ios_cronet_buildflags__testing", 231 "stable_cronet_base_orderfile_buildflags__testing", 232 "stable_cronet_base_power_monitor_buildflags__testing", 233 "stable_cronet_base_profiler_buildflags__testing", 234 "stable_cronet_base_protected_memory_buildflags__testing", 235 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 236 "stable_cronet_base_sanitizer_buildflags__testing", 237 "stable_cronet_base_synchronization_buildflags__testing", 238 "stable_cronet_base_tracing_buildflags__testing", 239 "stable_cronet_build_blink_buildflags__testing", 240 "stable_cronet_build_branding_buildflags__testing", 241 "stable_cronet_build_chromecast_buildflags__testing", 242 "stable_cronet_build_chromeos_buildflags__testing", 243 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 244 "stable_cronet_build_ios_buildflags__testing", 245 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 246 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 247 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 248 ], 249 export_generated_headers: [ 250 "stable_cronet_base_allocator_buildflags__testing", 251 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 252 "stable_cronet_base_anchor_functions_buildflags__testing", 253 "stable_cronet_base_build_date__testing", 254 "stable_cronet_base_cfi_buildflags__testing", 255 "stable_cronet_base_check_version_internal_action__testing", 256 "stable_cronet_base_clang_profiling_buildflags__testing", 257 "stable_cronet_base_debugging_buildflags__testing", 258 "stable_cronet_base_feature_list_buildflags__testing", 259 "stable_cronet_base_fuzzing_buildflags__testing", 260 "stable_cronet_base_ios_cronet_buildflags__testing", 261 "stable_cronet_base_orderfile_buildflags__testing", 262 "stable_cronet_base_power_monitor_buildflags__testing", 263 "stable_cronet_base_profiler_buildflags__testing", 264 "stable_cronet_base_protected_memory_buildflags__testing", 265 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 266 "stable_cronet_base_sanitizer_buildflags__testing", 267 "stable_cronet_base_synchronization_buildflags__testing", 268 "stable_cronet_base_tracing_buildflags__testing", 269 "stable_cronet_build_blink_buildflags__testing", 270 "stable_cronet_build_branding_buildflags__testing", 271 "stable_cronet_build_chromecast_buildflags__testing", 272 "stable_cronet_build_chromeos_buildflags__testing", 273 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 274 "stable_cronet_build_ios_buildflags__testing", 275 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 276 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 277 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 278 ], 279 defaults: [ 280 "stable_cronet_cc_defaults", 281 ], 282 cflags: [ 283 "-DANDROID", 284 "-DANDROID_NDK_VERSION_ROLL=r27_1", 285 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 286 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 287 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 288 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 289 "-DHAVE_SYS_UIO_H", 290 "-DIS_MIRACLE_PARAMETER_IMPL", 291 "-DNDEBUG", 292 "-DNVALGRIND", 293 "-DOFFICIAL_BUILD", 294 "-DTMP_REBUILD_HACK", 295 "-D_GNU_SOURCE", 296 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 297 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 298 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 299 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 300 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 301 "-D__STDC_CONSTANT_MACROS", 302 "-D__STDC_FORMAT_MACROS", 303 "-fdata-sections", 304 "-ffunction-sections", 305 "-fstack-protector", 306 "-fvisibility-inlines-hidden", 307 "-fvisibility=hidden", 308 "-g1", 309 ], 310 include_dirs: [ 311 "external/cronet/stable/", 312 "external/cronet/stable/base/allocator/partition_allocator/src/", 313 "external/cronet/stable/buildtools/third_party/libc++/", 314 "external/cronet/stable/third_party/abseil-cpp/", 315 "external/cronet/stable/third_party/boringssl/src/include/", 316 "external/cronet/stable/third_party/libc++/src/include", 317 "external/cronet/stable/third_party/libc++abi/src/include", 318 ], 319 cpp_std: "c++20", 320 ldflags: [ 321 "-Wl,--as-needed", 322 "-Wl,--gc-sections", 323 "-Wl,--icf=all", 324 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 325 ], 326 visibility: [ 327 "//external/cronet:__subpackages__", 328 ], 329 target: { 330 android_arm: { 331 cflags: [ 332 "-D_FORTIFY_SOURCE=2", 333 ], 334 }, 335 android_arm64: { 336 cflags: [ 337 "-D_FORTIFY_SOURCE=2", 338 "-D__ARM_NEON__=1", 339 "-O2", 340 "-mno-outline", 341 ], 342 }, 343 android_x86: { 344 cflags: [ 345 "-D_FORTIFY_SOURCE=2", 346 "-msse3", 347 ], 348 }, 349 android_x86_64: { 350 cflags: [ 351 "-D_FORTIFY_SOURCE=2", 352 "-O2", 353 "-msse3", 354 ], 355 }, 356 }, 357} 358