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/dns:dns 25cc_library_static { 26 name: "stable_cronet_net_dns_dns", 27 srcs: [ 28 "address_info.cc", 29 "address_sorter_posix.cc", 30 "context_host_resolver.cc", 31 "dns_alias_utility.cc", 32 "dns_client.cc", 33 "dns_config.cc", 34 "dns_config_service.cc", 35 "dns_config_service_android.cc", 36 "dns_hosts.cc", 37 "dns_names_util.cc", 38 "dns_query.cc", 39 "dns_reloader.cc", 40 "dns_response.cc", 41 "dns_response_result_extractor.cc", 42 "dns_server_iterator.cc", 43 "dns_session.cc", 44 "dns_task_results_manager.cc", 45 "dns_transaction.cc", 46 "dns_udp_tracker.cc", 47 "dns_util.cc", 48 "host_cache.cc", 49 "host_resolver.cc", 50 "host_resolver_cache.cc", 51 "host_resolver_dns_task.cc", 52 "host_resolver_internal_result.cc", 53 "host_resolver_manager.cc", 54 "host_resolver_manager_job.cc", 55 "host_resolver_manager_request_impl.cc", 56 "host_resolver_manager_service_endpoint_request_impl.cc", 57 "host_resolver_mdns_listener_impl.cc", 58 "host_resolver_mdns_task.cc", 59 "host_resolver_nat64_task.cc", 60 "host_resolver_proc.cc", 61 "host_resolver_system_task.cc", 62 "https_record_rdata.cc", 63 "httpssvc_metrics.cc", 64 "loopback_only.cc", 65 "mapped_host_resolver.cc", 66 "nsswitch_reader.cc", 67 "opt_record_rdata.cc", 68 "record_parsed.cc", 69 "record_rdata.cc", 70 "resolve_context.cc", 71 "serial_worker.cc", 72 "stale_host_resolver.cc", 73 "system_dns_config_change_notifier.cc", 74 "test_dns_config_service.cc", 75 ], 76 shared_libs: [ 77 "libandroid", 78 "liblog", 79 "libprotobuf-cpp-lite", 80 "libz", 81 "stable_cronet_libcrypto", 82 "stable_cronet_libpki", 83 "stable_cronet_libssl", 84 ], 85 host_cross_supported: false, 86 generated_headers: [ 87 "stable_cronet_base_allocator_buildflags", 88 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 89 "stable_cronet_base_anchor_functions_buildflags", 90 "stable_cronet_base_android_runtime_jni_headers__action", 91 "stable_cronet_base_base_jni__action", 92 "stable_cronet_base_base_shared_preferences_jni__action", 93 "stable_cronet_base_build_date", 94 "stable_cronet_base_callback_jni__action", 95 "stable_cronet_base_cfi_buildflags", 96 "stable_cronet_base_check_version_internal_action", 97 "stable_cronet_base_clang_profiling_buildflags", 98 "stable_cronet_base_command_line_jni__action", 99 "stable_cronet_base_content_uri_utils_jni__action", 100 "stable_cronet_base_debugging_buildflags", 101 "stable_cronet_base_feature_list_buildflags", 102 "stable_cronet_base_fuzzing_buildflags", 103 "stable_cronet_base_ios_cronet_buildflags", 104 "stable_cronet_base_jank_tracker_jni__action", 105 "stable_cronet_base_library_loader_jni__action", 106 "stable_cronet_base_memory_jni__action", 107 "stable_cronet_base_metrics_jni__action", 108 "stable_cronet_base_orderfile_buildflags", 109 "stable_cronet_base_power_monitor_buildflags", 110 "stable_cronet_base_process_launcher_jni__action", 111 "stable_cronet_base_profiler_buildflags", 112 "stable_cronet_base_protected_memory_buildflags", 113 "stable_cronet_base_rust_logger_cxx_generated_gen_header", 114 "stable_cronet_base_sanitizer_buildflags", 115 "stable_cronet_base_synchronization_buildflags", 116 "stable_cronet_base_sys_utils_jni__action", 117 "stable_cronet_base_tasks_jni__action", 118 "stable_cronet_base_tracing_buildflags", 119 "stable_cronet_build_blink_buildflags", 120 "stable_cronet_build_branding_buildflags", 121 "stable_cronet_build_chromecast_buildflags", 122 "stable_cronet_build_chromeos_buildflags", 123 "stable_cronet_build_config_compiler_compiler_buildflags", 124 "stable_cronet_build_ios_buildflags", 125 "stable_cronet_build_robolectric_buildflags", 126 "stable_cronet_crypto_buildflags", 127 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains", 128 "stable_cronet_net_buildflags", 129 "stable_cronet_net_cronet_buildflags", 130 "stable_cronet_net_isolation_info_proto_gen_headers", 131 "stable_cronet_net_net_jni_headers__action", 132 "stable_cronet_net_net_nqe_proto_gen_headers", 133 "stable_cronet_net_third_party_quiche_net_quic_proto_gen_headers", 134 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen_headers", 135 "stable_cronet_third_party_jni_zero_generate_jni__action", 136 "stable_cronet_third_party_jni_zero_system_jni__action", 137 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 138 "stable_cronet_url_buildflags", 139 "stable_cronet_url_url_jni_headers__action", 140 ], 141 export_generated_headers: [ 142 "stable_cronet_base_allocator_buildflags", 143 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 144 "stable_cronet_base_anchor_functions_buildflags", 145 "stable_cronet_base_android_runtime_jni_headers__action", 146 "stable_cronet_base_base_jni__action", 147 "stable_cronet_base_base_shared_preferences_jni__action", 148 "stable_cronet_base_build_date", 149 "stable_cronet_base_callback_jni__action", 150 "stable_cronet_base_cfi_buildflags", 151 "stable_cronet_base_check_version_internal_action", 152 "stable_cronet_base_clang_profiling_buildflags", 153 "stable_cronet_base_command_line_jni__action", 154 "stable_cronet_base_content_uri_utils_jni__action", 155 "stable_cronet_base_debugging_buildflags", 156 "stable_cronet_base_feature_list_buildflags", 157 "stable_cronet_base_fuzzing_buildflags", 158 "stable_cronet_base_ios_cronet_buildflags", 159 "stable_cronet_base_jank_tracker_jni__action", 160 "stable_cronet_base_library_loader_jni__action", 161 "stable_cronet_base_memory_jni__action", 162 "stable_cronet_base_metrics_jni__action", 163 "stable_cronet_base_orderfile_buildflags", 164 "stable_cronet_base_power_monitor_buildflags", 165 "stable_cronet_base_process_launcher_jni__action", 166 "stable_cronet_base_profiler_buildflags", 167 "stable_cronet_base_protected_memory_buildflags", 168 "stable_cronet_base_rust_logger_cxx_generated_gen_header", 169 "stable_cronet_base_sanitizer_buildflags", 170 "stable_cronet_base_synchronization_buildflags", 171 "stable_cronet_base_sys_utils_jni__action", 172 "stable_cronet_base_tasks_jni__action", 173 "stable_cronet_base_tracing_buildflags", 174 "stable_cronet_build_blink_buildflags", 175 "stable_cronet_build_branding_buildflags", 176 "stable_cronet_build_chromecast_buildflags", 177 "stable_cronet_build_chromeos_buildflags", 178 "stable_cronet_build_config_compiler_compiler_buildflags", 179 "stable_cronet_build_ios_buildflags", 180 "stable_cronet_build_robolectric_buildflags", 181 "stable_cronet_crypto_buildflags", 182 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains", 183 "stable_cronet_net_buildflags", 184 "stable_cronet_net_cronet_buildflags", 185 "stable_cronet_net_isolation_info_proto_gen_headers", 186 "stable_cronet_net_net_jni_headers__action", 187 "stable_cronet_net_net_nqe_proto_gen_headers", 188 "stable_cronet_net_third_party_quiche_net_quic_proto_gen_headers", 189 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen_headers", 190 "stable_cronet_third_party_jni_zero_generate_jni__action", 191 "stable_cronet_third_party_jni_zero_system_jni__action", 192 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 193 "stable_cronet_url_buildflags", 194 "stable_cronet_url_url_jni_headers__action", 195 ], 196 defaults: [ 197 "stable_cronet_cc_defaults", 198 ], 199 cflags: [ 200 "-DANDROID", 201 "-DANDROID_NDK_VERSION_ROLL=r27_1", 202 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 203 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 204 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 205 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 206 "-DENABLE_BUILT_IN_DNS", 207 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 208 "-DGOOGLE_PROTOBUF_NO_RTTI", 209 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 210 "-DHAVE_PTHREAD", 211 "-DHAVE_SYS_UIO_H", 212 "-DNDEBUG", 213 "-DNET_IMPLEMENTATION", 214 "-DNVALGRIND", 215 "-DOFFICIAL_BUILD", 216 "-DTMP_REBUILD_HACK", 217 "-D_GNU_SOURCE", 218 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 219 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 220 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 221 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 222 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 223 "-D__STDC_CONSTANT_MACROS", 224 "-D__STDC_FORMAT_MACROS", 225 "-fdata-sections", 226 "-ffunction-sections", 227 "-fstack-protector", 228 "-fvisibility-inlines-hidden", 229 "-fvisibility=hidden", 230 "-g1", 231 ], 232 include_dirs: [ 233 "external/cronet/stable/", 234 "external/cronet/stable/base/allocator/partition_allocator/src/", 235 "external/cronet/stable/buildtools/third_party/libc++/", 236 "external/cronet/stable/net/third_party/quiche/overrides/", 237 "external/cronet/stable/net/third_party/quiche/src/", 238 "external/cronet/stable/net/third_party/quiche/src/quiche/common/platform/default/", 239 "external/cronet/stable/third_party/abseil-cpp/", 240 "external/cronet/stable/third_party/boringssl/src/include/", 241 "external/cronet/stable/third_party/brotli/include/", 242 "external/cronet/stable/third_party/libc++/src/include", 243 "external/cronet/stable/third_party/libc++abi/src/include", 244 "external/cronet/stable/third_party/protobuf/src/", 245 ], 246 cpp_std: "c++20", 247 ldflags: [ 248 "-Wl,--as-needed", 249 "-Wl,--gc-sections", 250 "-Wl,--icf=all", 251 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 252 ], 253 visibility: [ 254 "//external/cronet:__subpackages__", 255 ], 256 target: { 257 android_arm: { 258 cflags: [ 259 "-D_FORTIFY_SOURCE=2", 260 ], 261 }, 262 android_arm64: { 263 cflags: [ 264 "-D_FORTIFY_SOURCE=2", 265 "-D__ARM_NEON__=1", 266 "-O2", 267 "-mno-outline", 268 ], 269 }, 270 android_x86: { 271 cflags: [ 272 "-D_FORTIFY_SOURCE=2", 273 "-msse3", 274 ], 275 }, 276 android_x86_64: { 277 cflags: [ 278 "-D_FORTIFY_SOURCE=2", 279 "-O2", 280 "-msse3", 281 ], 282 }, 283 }, 284} 285 286// GN: //net/dns:dns__testing 287cc_library_static { 288 name: "stable_cronet_net_dns_dns__testing", 289 srcs: [ 290 "address_info.cc", 291 "address_sorter_posix.cc", 292 "context_host_resolver.cc", 293 "dns_alias_utility.cc", 294 "dns_client.cc", 295 "dns_config.cc", 296 "dns_config_service.cc", 297 "dns_config_service_android.cc", 298 "dns_hosts.cc", 299 "dns_names_util.cc", 300 "dns_query.cc", 301 "dns_reloader.cc", 302 "dns_response.cc", 303 "dns_response_result_extractor.cc", 304 "dns_server_iterator.cc", 305 "dns_session.cc", 306 "dns_task_results_manager.cc", 307 "dns_transaction.cc", 308 "dns_udp_tracker.cc", 309 "dns_util.cc", 310 "host_cache.cc", 311 "host_resolver.cc", 312 "host_resolver_cache.cc", 313 "host_resolver_dns_task.cc", 314 "host_resolver_internal_result.cc", 315 "host_resolver_manager.cc", 316 "host_resolver_manager_job.cc", 317 "host_resolver_manager_request_impl.cc", 318 "host_resolver_manager_service_endpoint_request_impl.cc", 319 "host_resolver_mdns_listener_impl.cc", 320 "host_resolver_mdns_task.cc", 321 "host_resolver_nat64_task.cc", 322 "host_resolver_proc.cc", 323 "host_resolver_system_task.cc", 324 "https_record_rdata.cc", 325 "httpssvc_metrics.cc", 326 "loopback_only.cc", 327 "mapped_host_resolver.cc", 328 "nsswitch_reader.cc", 329 "opt_record_rdata.cc", 330 "record_parsed.cc", 331 "record_rdata.cc", 332 "resolve_context.cc", 333 "serial_worker.cc", 334 "stale_host_resolver.cc", 335 "system_dns_config_change_notifier.cc", 336 "test_dns_config_service.cc", 337 ], 338 shared_libs: [ 339 "libandroid", 340 "liblog", 341 "libprotobuf-cpp-lite", 342 "libz", 343 ], 344 host_cross_supported: false, 345 generated_headers: [ 346 "stable_cronet_base_allocator_buildflags__testing", 347 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 348 "stable_cronet_base_anchor_functions_buildflags__testing", 349 "stable_cronet_base_build_date__testing", 350 "stable_cronet_base_cfi_buildflags__testing", 351 "stable_cronet_base_check_version_internal_action__testing", 352 "stable_cronet_base_clang_profiling_buildflags__testing", 353 "stable_cronet_base_debugging_buildflags__testing", 354 "stable_cronet_base_feature_list_buildflags__testing", 355 "stable_cronet_base_fuzzing_buildflags__testing", 356 "stable_cronet_base_ios_cronet_buildflags__testing", 357 "stable_cronet_base_orderfile_buildflags__testing", 358 "stable_cronet_base_power_monitor_buildflags__testing", 359 "stable_cronet_base_profiler_buildflags__testing", 360 "stable_cronet_base_protected_memory_buildflags__testing", 361 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 362 "stable_cronet_base_sanitizer_buildflags__testing", 363 "stable_cronet_base_synchronization_buildflags__testing", 364 "stable_cronet_base_tracing_buildflags__testing", 365 "stable_cronet_build_blink_buildflags__testing", 366 "stable_cronet_build_branding_buildflags__testing", 367 "stable_cronet_build_chromecast_buildflags__testing", 368 "stable_cronet_build_chromeos_buildflags__testing", 369 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 370 "stable_cronet_build_ios_buildflags__testing", 371 "stable_cronet_build_robolectric_buildflags__testing", 372 "stable_cronet_crypto_buildflags__testing", 373 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains__testing", 374 "stable_cronet_net_buildflags__testing", 375 "stable_cronet_net_cronet_buildflags__testing", 376 "stable_cronet_net_isolation_info_proto_gen__testing_headers", 377 "stable_cronet_net_net_jni_headers__action__testing", 378 "stable_cronet_net_net_nqe_proto_gen__testing_headers", 379 "stable_cronet_net_third_party_quiche_net_quic_proto_gen__testing_headers", 380 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers", 381 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 382 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 383 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 384 "stable_cronet_url_buildflags__testing", 385 "stable_cronet_url_url_jni_headers__action__testing", 386 ], 387 export_generated_headers: [ 388 "stable_cronet_base_allocator_buildflags__testing", 389 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 390 "stable_cronet_base_anchor_functions_buildflags__testing", 391 "stable_cronet_base_build_date__testing", 392 "stable_cronet_base_cfi_buildflags__testing", 393 "stable_cronet_base_check_version_internal_action__testing", 394 "stable_cronet_base_clang_profiling_buildflags__testing", 395 "stable_cronet_base_debugging_buildflags__testing", 396 "stable_cronet_base_feature_list_buildflags__testing", 397 "stable_cronet_base_fuzzing_buildflags__testing", 398 "stable_cronet_base_ios_cronet_buildflags__testing", 399 "stable_cronet_base_orderfile_buildflags__testing", 400 "stable_cronet_base_power_monitor_buildflags__testing", 401 "stable_cronet_base_profiler_buildflags__testing", 402 "stable_cronet_base_protected_memory_buildflags__testing", 403 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 404 "stable_cronet_base_sanitizer_buildflags__testing", 405 "stable_cronet_base_synchronization_buildflags__testing", 406 "stable_cronet_base_tracing_buildflags__testing", 407 "stable_cronet_build_blink_buildflags__testing", 408 "stable_cronet_build_branding_buildflags__testing", 409 "stable_cronet_build_chromecast_buildflags__testing", 410 "stable_cronet_build_chromeos_buildflags__testing", 411 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 412 "stable_cronet_build_ios_buildflags__testing", 413 "stable_cronet_build_robolectric_buildflags__testing", 414 "stable_cronet_crypto_buildflags__testing", 415 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains__testing", 416 "stable_cronet_net_buildflags__testing", 417 "stable_cronet_net_cronet_buildflags__testing", 418 "stable_cronet_net_isolation_info_proto_gen__testing_headers", 419 "stable_cronet_net_net_jni_headers__action__testing", 420 "stable_cronet_net_net_nqe_proto_gen__testing_headers", 421 "stable_cronet_net_third_party_quiche_net_quic_proto_gen__testing_headers", 422 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers", 423 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 424 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 425 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 426 "stable_cronet_url_buildflags__testing", 427 "stable_cronet_url_url_jni_headers__action__testing", 428 ], 429 defaults: [ 430 "stable_cronet_cc_defaults", 431 ], 432 cflags: [ 433 "-DANDROID", 434 "-DANDROID_NDK_VERSION_ROLL=r27_1", 435 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 436 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 437 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 438 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 439 "-DENABLE_BUILT_IN_DNS", 440 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 441 "-DGOOGLE_PROTOBUF_NO_RTTI", 442 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 443 "-DHAVE_PTHREAD", 444 "-DHAVE_SYS_UIO_H", 445 "-DNDEBUG", 446 "-DNET_IMPLEMENTATION", 447 "-DNVALGRIND", 448 "-DOFFICIAL_BUILD", 449 "-DTMP_REBUILD_HACK", 450 "-D_GNU_SOURCE", 451 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 452 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 453 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 454 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 455 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 456 "-D__STDC_CONSTANT_MACROS", 457 "-D__STDC_FORMAT_MACROS", 458 "-fdata-sections", 459 "-ffunction-sections", 460 "-fstack-protector", 461 "-fvisibility-inlines-hidden", 462 "-fvisibility=hidden", 463 "-g1", 464 ], 465 include_dirs: [ 466 "external/cronet/stable/", 467 "external/cronet/stable/base/allocator/partition_allocator/src/", 468 "external/cronet/stable/buildtools/third_party/libc++/", 469 "external/cronet/stable/net/third_party/quiche/overrides/", 470 "external/cronet/stable/net/third_party/quiche/src/", 471 "external/cronet/stable/net/third_party/quiche/src/quiche/common/platform/default/", 472 "external/cronet/stable/third_party/abseil-cpp/", 473 "external/cronet/stable/third_party/boringssl/src/include/", 474 "external/cronet/stable/third_party/brotli/include/", 475 "external/cronet/stable/third_party/libc++/src/include", 476 "external/cronet/stable/third_party/libc++abi/src/include", 477 "external/cronet/stable/third_party/protobuf/src/", 478 ], 479 cpp_std: "c++20", 480 ldflags: [ 481 "-Wl,--as-needed", 482 "-Wl,--gc-sections", 483 "-Wl,--icf=all", 484 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 485 ], 486 visibility: [ 487 "//external/cronet:__subpackages__", 488 ], 489 target: { 490 android_arm: { 491 cflags: [ 492 "-D_FORTIFY_SOURCE=2", 493 ], 494 }, 495 android_arm64: { 496 cflags: [ 497 "-D_FORTIFY_SOURCE=2", 498 "-D__ARM_NEON__=1", 499 "-O2", 500 "-mno-outline", 501 ], 502 }, 503 android_x86: { 504 cflags: [ 505 "-D_FORTIFY_SOURCE=2", 506 "-msse3", 507 ], 508 }, 509 android_x86_64: { 510 cflags: [ 511 "-D_FORTIFY_SOURCE=2", 512 "-O2", 513 "-msse3", 514 ], 515 }, 516 }, 517} 518 519// GN: //net/dns:dns_client 520cc_library_static { 521 name: "stable_cronet_net_dns_dns_client", 522 shared_libs: [ 523 "libandroid", 524 "liblog", 525 "libprotobuf-cpp-lite", 526 "libz", 527 "stable_cronet_libcrypto", 528 "stable_cronet_libpki", 529 "stable_cronet_libssl", 530 ], 531 host_cross_supported: false, 532 generated_headers: [ 533 "stable_cronet_base_allocator_buildflags", 534 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 535 "stable_cronet_base_anchor_functions_buildflags", 536 "stable_cronet_base_android_runtime_jni_headers__action", 537 "stable_cronet_base_base_jni__action", 538 "stable_cronet_base_base_shared_preferences_jni__action", 539 "stable_cronet_base_build_date", 540 "stable_cronet_base_callback_jni__action", 541 "stable_cronet_base_cfi_buildflags", 542 "stable_cronet_base_check_version_internal_action", 543 "stable_cronet_base_clang_profiling_buildflags", 544 "stable_cronet_base_command_line_jni__action", 545 "stable_cronet_base_content_uri_utils_jni__action", 546 "stable_cronet_base_debugging_buildflags", 547 "stable_cronet_base_feature_list_buildflags", 548 "stable_cronet_base_fuzzing_buildflags", 549 "stable_cronet_base_ios_cronet_buildflags", 550 "stable_cronet_base_jank_tracker_jni__action", 551 "stable_cronet_base_library_loader_jni__action", 552 "stable_cronet_base_memory_jni__action", 553 "stable_cronet_base_metrics_jni__action", 554 "stable_cronet_base_orderfile_buildflags", 555 "stable_cronet_base_power_monitor_buildflags", 556 "stable_cronet_base_process_launcher_jni__action", 557 "stable_cronet_base_profiler_buildflags", 558 "stable_cronet_base_protected_memory_buildflags", 559 "stable_cronet_base_rust_logger_cxx_generated_gen_header", 560 "stable_cronet_base_sanitizer_buildflags", 561 "stable_cronet_base_synchronization_buildflags", 562 "stable_cronet_base_sys_utils_jni__action", 563 "stable_cronet_base_tasks_jni__action", 564 "stable_cronet_base_tracing_buildflags", 565 "stable_cronet_build_blink_buildflags", 566 "stable_cronet_build_branding_buildflags", 567 "stable_cronet_build_chromecast_buildflags", 568 "stable_cronet_build_chromeos_buildflags", 569 "stable_cronet_build_config_compiler_compiler_buildflags", 570 "stable_cronet_build_ios_buildflags", 571 "stable_cronet_build_robolectric_buildflags", 572 "stable_cronet_crypto_buildflags", 573 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains", 574 "stable_cronet_net_buildflags", 575 "stable_cronet_net_cronet_buildflags", 576 "stable_cronet_net_isolation_info_proto_gen_headers", 577 "stable_cronet_net_net_jni_headers__action", 578 "stable_cronet_net_net_nqe_proto_gen_headers", 579 "stable_cronet_net_third_party_quiche_net_quic_proto_gen_headers", 580 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen_headers", 581 "stable_cronet_third_party_jni_zero_generate_jni__action", 582 "stable_cronet_third_party_jni_zero_system_jni__action", 583 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 584 "stable_cronet_url_buildflags", 585 "stable_cronet_url_url_jni_headers__action", 586 ], 587 export_generated_headers: [ 588 "stable_cronet_base_allocator_buildflags", 589 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 590 "stable_cronet_base_anchor_functions_buildflags", 591 "stable_cronet_base_android_runtime_jni_headers__action", 592 "stable_cronet_base_base_jni__action", 593 "stable_cronet_base_base_shared_preferences_jni__action", 594 "stable_cronet_base_build_date", 595 "stable_cronet_base_callback_jni__action", 596 "stable_cronet_base_cfi_buildflags", 597 "stable_cronet_base_check_version_internal_action", 598 "stable_cronet_base_clang_profiling_buildflags", 599 "stable_cronet_base_command_line_jni__action", 600 "stable_cronet_base_content_uri_utils_jni__action", 601 "stable_cronet_base_debugging_buildflags", 602 "stable_cronet_base_feature_list_buildflags", 603 "stable_cronet_base_fuzzing_buildflags", 604 "stable_cronet_base_ios_cronet_buildflags", 605 "stable_cronet_base_jank_tracker_jni__action", 606 "stable_cronet_base_library_loader_jni__action", 607 "stable_cronet_base_memory_jni__action", 608 "stable_cronet_base_metrics_jni__action", 609 "stable_cronet_base_orderfile_buildflags", 610 "stable_cronet_base_power_monitor_buildflags", 611 "stable_cronet_base_process_launcher_jni__action", 612 "stable_cronet_base_profiler_buildflags", 613 "stable_cronet_base_protected_memory_buildflags", 614 "stable_cronet_base_rust_logger_cxx_generated_gen_header", 615 "stable_cronet_base_sanitizer_buildflags", 616 "stable_cronet_base_synchronization_buildflags", 617 "stable_cronet_base_sys_utils_jni__action", 618 "stable_cronet_base_tasks_jni__action", 619 "stable_cronet_base_tracing_buildflags", 620 "stable_cronet_build_blink_buildflags", 621 "stable_cronet_build_branding_buildflags", 622 "stable_cronet_build_chromecast_buildflags", 623 "stable_cronet_build_chromeos_buildflags", 624 "stable_cronet_build_config_compiler_compiler_buildflags", 625 "stable_cronet_build_ios_buildflags", 626 "stable_cronet_build_robolectric_buildflags", 627 "stable_cronet_crypto_buildflags", 628 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains", 629 "stable_cronet_net_buildflags", 630 "stable_cronet_net_cronet_buildflags", 631 "stable_cronet_net_isolation_info_proto_gen_headers", 632 "stable_cronet_net_net_jni_headers__action", 633 "stable_cronet_net_net_nqe_proto_gen_headers", 634 "stable_cronet_net_third_party_quiche_net_quic_proto_gen_headers", 635 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen_headers", 636 "stable_cronet_third_party_jni_zero_generate_jni__action", 637 "stable_cronet_third_party_jni_zero_system_jni__action", 638 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 639 "stable_cronet_url_buildflags", 640 "stable_cronet_url_url_jni_headers__action", 641 ], 642 defaults: [ 643 "stable_cronet_cc_defaults", 644 ], 645 cflags: [ 646 "-DANDROID", 647 "-DANDROID_NDK_VERSION_ROLL=r27_1", 648 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 649 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 650 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 651 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 652 "-DENABLE_BUILT_IN_DNS", 653 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 654 "-DGOOGLE_PROTOBUF_NO_RTTI", 655 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 656 "-DHAVE_PTHREAD", 657 "-DHAVE_SYS_UIO_H", 658 "-DNDEBUG", 659 "-DNET_IMPLEMENTATION", 660 "-DNVALGRIND", 661 "-DOFFICIAL_BUILD", 662 "-DTMP_REBUILD_HACK", 663 "-D_GNU_SOURCE", 664 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 665 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 666 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 667 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 668 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 669 "-D__STDC_CONSTANT_MACROS", 670 "-D__STDC_FORMAT_MACROS", 671 "-fdata-sections", 672 "-ffunction-sections", 673 "-fstack-protector", 674 "-fvisibility-inlines-hidden", 675 "-fvisibility=hidden", 676 "-g1", 677 ], 678 include_dirs: [ 679 "external/cronet/stable/", 680 "external/cronet/stable/base/allocator/partition_allocator/src/", 681 "external/cronet/stable/buildtools/third_party/libc++/", 682 "external/cronet/stable/net/third_party/quiche/overrides/", 683 "external/cronet/stable/net/third_party/quiche/src/", 684 "external/cronet/stable/net/third_party/quiche/src/quiche/common/platform/default/", 685 "external/cronet/stable/third_party/abseil-cpp/", 686 "external/cronet/stable/third_party/boringssl/src/include/", 687 "external/cronet/stable/third_party/brotli/include/", 688 "external/cronet/stable/third_party/libc++/src/include", 689 "external/cronet/stable/third_party/libc++abi/src/include", 690 "external/cronet/stable/third_party/protobuf/src/", 691 ], 692 cpp_std: "c++20", 693 ldflags: [ 694 "-Wl,--as-needed", 695 "-Wl,--gc-sections", 696 "-Wl,--icf=all", 697 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 698 ], 699 visibility: [ 700 "//external/cronet:__subpackages__", 701 ], 702 target: { 703 android_arm: { 704 cflags: [ 705 "-D_FORTIFY_SOURCE=2", 706 ], 707 }, 708 android_arm64: { 709 cflags: [ 710 "-D_FORTIFY_SOURCE=2", 711 "-D__ARM_NEON__=1", 712 "-O2", 713 "-mno-outline", 714 ], 715 }, 716 android_x86: { 717 cflags: [ 718 "-D_FORTIFY_SOURCE=2", 719 "-msse3", 720 ], 721 }, 722 android_x86_64: { 723 cflags: [ 724 "-D_FORTIFY_SOURCE=2", 725 "-O2", 726 "-msse3", 727 ], 728 }, 729 }, 730} 731 732// GN: //net/dns:dns_client__testing 733cc_library_static { 734 name: "stable_cronet_net_dns_dns_client__testing", 735 shared_libs: [ 736 "libandroid", 737 "liblog", 738 "libprotobuf-cpp-lite", 739 "libz", 740 ], 741 host_cross_supported: false, 742 generated_headers: [ 743 "stable_cronet_base_allocator_buildflags__testing", 744 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 745 "stable_cronet_base_anchor_functions_buildflags__testing", 746 "stable_cronet_base_build_date__testing", 747 "stable_cronet_base_cfi_buildflags__testing", 748 "stable_cronet_base_check_version_internal_action__testing", 749 "stable_cronet_base_clang_profiling_buildflags__testing", 750 "stable_cronet_base_debugging_buildflags__testing", 751 "stable_cronet_base_feature_list_buildflags__testing", 752 "stable_cronet_base_fuzzing_buildflags__testing", 753 "stable_cronet_base_ios_cronet_buildflags__testing", 754 "stable_cronet_base_orderfile_buildflags__testing", 755 "stable_cronet_base_power_monitor_buildflags__testing", 756 "stable_cronet_base_profiler_buildflags__testing", 757 "stable_cronet_base_protected_memory_buildflags__testing", 758 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 759 "stable_cronet_base_sanitizer_buildflags__testing", 760 "stable_cronet_base_synchronization_buildflags__testing", 761 "stable_cronet_base_tracing_buildflags__testing", 762 "stable_cronet_build_blink_buildflags__testing", 763 "stable_cronet_build_branding_buildflags__testing", 764 "stable_cronet_build_chromecast_buildflags__testing", 765 "stable_cronet_build_chromeos_buildflags__testing", 766 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 767 "stable_cronet_build_ios_buildflags__testing", 768 "stable_cronet_build_robolectric_buildflags__testing", 769 "stable_cronet_crypto_buildflags__testing", 770 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains__testing", 771 "stable_cronet_net_buildflags__testing", 772 "stable_cronet_net_cronet_buildflags__testing", 773 "stable_cronet_net_isolation_info_proto_gen__testing_headers", 774 "stable_cronet_net_net_jni_headers__action__testing", 775 "stable_cronet_net_net_nqe_proto_gen__testing_headers", 776 "stable_cronet_net_third_party_quiche_net_quic_proto_gen__testing_headers", 777 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers", 778 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 779 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 780 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 781 "stable_cronet_url_buildflags__testing", 782 "stable_cronet_url_url_jni_headers__action__testing", 783 ], 784 export_generated_headers: [ 785 "stable_cronet_base_allocator_buildflags__testing", 786 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 787 "stable_cronet_base_anchor_functions_buildflags__testing", 788 "stable_cronet_base_build_date__testing", 789 "stable_cronet_base_cfi_buildflags__testing", 790 "stable_cronet_base_check_version_internal_action__testing", 791 "stable_cronet_base_clang_profiling_buildflags__testing", 792 "stable_cronet_base_debugging_buildflags__testing", 793 "stable_cronet_base_feature_list_buildflags__testing", 794 "stable_cronet_base_fuzzing_buildflags__testing", 795 "stable_cronet_base_ios_cronet_buildflags__testing", 796 "stable_cronet_base_orderfile_buildflags__testing", 797 "stable_cronet_base_power_monitor_buildflags__testing", 798 "stable_cronet_base_profiler_buildflags__testing", 799 "stable_cronet_base_protected_memory_buildflags__testing", 800 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 801 "stable_cronet_base_sanitizer_buildflags__testing", 802 "stable_cronet_base_synchronization_buildflags__testing", 803 "stable_cronet_base_tracing_buildflags__testing", 804 "stable_cronet_build_blink_buildflags__testing", 805 "stable_cronet_build_branding_buildflags__testing", 806 "stable_cronet_build_chromecast_buildflags__testing", 807 "stable_cronet_build_chromeos_buildflags__testing", 808 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 809 "stable_cronet_build_ios_buildflags__testing", 810 "stable_cronet_build_robolectric_buildflags__testing", 811 "stable_cronet_crypto_buildflags__testing", 812 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains__testing", 813 "stable_cronet_net_buildflags__testing", 814 "stable_cronet_net_cronet_buildflags__testing", 815 "stable_cronet_net_isolation_info_proto_gen__testing_headers", 816 "stable_cronet_net_net_jni_headers__action__testing", 817 "stable_cronet_net_net_nqe_proto_gen__testing_headers", 818 "stable_cronet_net_third_party_quiche_net_quic_proto_gen__testing_headers", 819 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers", 820 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 821 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 822 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 823 "stable_cronet_url_buildflags__testing", 824 "stable_cronet_url_url_jni_headers__action__testing", 825 ], 826 defaults: [ 827 "stable_cronet_cc_defaults", 828 ], 829 cflags: [ 830 "-DANDROID", 831 "-DANDROID_NDK_VERSION_ROLL=r27_1", 832 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 833 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 834 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 835 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 836 "-DENABLE_BUILT_IN_DNS", 837 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 838 "-DGOOGLE_PROTOBUF_NO_RTTI", 839 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 840 "-DHAVE_PTHREAD", 841 "-DHAVE_SYS_UIO_H", 842 "-DNDEBUG", 843 "-DNET_IMPLEMENTATION", 844 "-DNVALGRIND", 845 "-DOFFICIAL_BUILD", 846 "-DTMP_REBUILD_HACK", 847 "-D_GNU_SOURCE", 848 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 849 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 850 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 851 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 852 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 853 "-D__STDC_CONSTANT_MACROS", 854 "-D__STDC_FORMAT_MACROS", 855 "-fdata-sections", 856 "-ffunction-sections", 857 "-fstack-protector", 858 "-fvisibility-inlines-hidden", 859 "-fvisibility=hidden", 860 "-g1", 861 ], 862 include_dirs: [ 863 "external/cronet/stable/", 864 "external/cronet/stable/base/allocator/partition_allocator/src/", 865 "external/cronet/stable/buildtools/third_party/libc++/", 866 "external/cronet/stable/net/third_party/quiche/overrides/", 867 "external/cronet/stable/net/third_party/quiche/src/", 868 "external/cronet/stable/net/third_party/quiche/src/quiche/common/platform/default/", 869 "external/cronet/stable/third_party/abseil-cpp/", 870 "external/cronet/stable/third_party/boringssl/src/include/", 871 "external/cronet/stable/third_party/brotli/include/", 872 "external/cronet/stable/third_party/libc++/src/include", 873 "external/cronet/stable/third_party/libc++abi/src/include", 874 "external/cronet/stable/third_party/protobuf/src/", 875 ], 876 cpp_std: "c++20", 877 ldflags: [ 878 "-Wl,--as-needed", 879 "-Wl,--gc-sections", 880 "-Wl,--icf=all", 881 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 882 ], 883 visibility: [ 884 "//external/cronet:__subpackages__", 885 ], 886 target: { 887 android_arm: { 888 cflags: [ 889 "-D_FORTIFY_SOURCE=2", 890 ], 891 }, 892 android_arm64: { 893 cflags: [ 894 "-D_FORTIFY_SOURCE=2", 895 "-D__ARM_NEON__=1", 896 "-O2", 897 "-mno-outline", 898 ], 899 }, 900 android_x86: { 901 cflags: [ 902 "-D_FORTIFY_SOURCE=2", 903 "-msse3", 904 ], 905 }, 906 android_x86_64: { 907 cflags: [ 908 "-D_FORTIFY_SOURCE=2", 909 "-O2", 910 "-msse3", 911 ], 912 }, 913 }, 914} 915 916// GN: //net/dns:host_resolver 917cc_library_static { 918 name: "stable_cronet_net_dns_host_resolver", 919 shared_libs: [ 920 "libandroid", 921 "liblog", 922 "libprotobuf-cpp-lite", 923 "libz", 924 "stable_cronet_libcrypto", 925 "stable_cronet_libpki", 926 "stable_cronet_libssl", 927 ], 928 host_cross_supported: false, 929 generated_headers: [ 930 "stable_cronet_base_allocator_buildflags", 931 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 932 "stable_cronet_base_anchor_functions_buildflags", 933 "stable_cronet_base_android_runtime_jni_headers__action", 934 "stable_cronet_base_base_jni__action", 935 "stable_cronet_base_base_shared_preferences_jni__action", 936 "stable_cronet_base_build_date", 937 "stable_cronet_base_callback_jni__action", 938 "stable_cronet_base_cfi_buildflags", 939 "stable_cronet_base_check_version_internal_action", 940 "stable_cronet_base_clang_profiling_buildflags", 941 "stable_cronet_base_command_line_jni__action", 942 "stable_cronet_base_content_uri_utils_jni__action", 943 "stable_cronet_base_debugging_buildflags", 944 "stable_cronet_base_feature_list_buildflags", 945 "stable_cronet_base_fuzzing_buildflags", 946 "stable_cronet_base_ios_cronet_buildflags", 947 "stable_cronet_base_jank_tracker_jni__action", 948 "stable_cronet_base_library_loader_jni__action", 949 "stable_cronet_base_memory_jni__action", 950 "stable_cronet_base_metrics_jni__action", 951 "stable_cronet_base_orderfile_buildflags", 952 "stable_cronet_base_power_monitor_buildflags", 953 "stable_cronet_base_process_launcher_jni__action", 954 "stable_cronet_base_profiler_buildflags", 955 "stable_cronet_base_protected_memory_buildflags", 956 "stable_cronet_base_rust_logger_cxx_generated_gen_header", 957 "stable_cronet_base_sanitizer_buildflags", 958 "stable_cronet_base_synchronization_buildflags", 959 "stable_cronet_base_sys_utils_jni__action", 960 "stable_cronet_base_tasks_jni__action", 961 "stable_cronet_base_tracing_buildflags", 962 "stable_cronet_build_blink_buildflags", 963 "stable_cronet_build_branding_buildflags", 964 "stable_cronet_build_chromecast_buildflags", 965 "stable_cronet_build_chromeos_buildflags", 966 "stable_cronet_build_config_compiler_compiler_buildflags", 967 "stable_cronet_build_ios_buildflags", 968 "stable_cronet_build_robolectric_buildflags", 969 "stable_cronet_crypto_buildflags", 970 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains", 971 "stable_cronet_net_buildflags", 972 "stable_cronet_net_cronet_buildflags", 973 "stable_cronet_net_isolation_info_proto_gen_headers", 974 "stable_cronet_net_net_jni_headers__action", 975 "stable_cronet_net_net_nqe_proto_gen_headers", 976 "stable_cronet_net_third_party_quiche_net_quic_proto_gen_headers", 977 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen_headers", 978 "stable_cronet_third_party_jni_zero_generate_jni__action", 979 "stable_cronet_third_party_jni_zero_system_jni__action", 980 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 981 "stable_cronet_url_buildflags", 982 "stable_cronet_url_url_jni_headers__action", 983 ], 984 export_generated_headers: [ 985 "stable_cronet_base_allocator_buildflags", 986 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 987 "stable_cronet_base_anchor_functions_buildflags", 988 "stable_cronet_base_android_runtime_jni_headers__action", 989 "stable_cronet_base_base_jni__action", 990 "stable_cronet_base_base_shared_preferences_jni__action", 991 "stable_cronet_base_build_date", 992 "stable_cronet_base_callback_jni__action", 993 "stable_cronet_base_cfi_buildflags", 994 "stable_cronet_base_check_version_internal_action", 995 "stable_cronet_base_clang_profiling_buildflags", 996 "stable_cronet_base_command_line_jni__action", 997 "stable_cronet_base_content_uri_utils_jni__action", 998 "stable_cronet_base_debugging_buildflags", 999 "stable_cronet_base_feature_list_buildflags", 1000 "stable_cronet_base_fuzzing_buildflags", 1001 "stable_cronet_base_ios_cronet_buildflags", 1002 "stable_cronet_base_jank_tracker_jni__action", 1003 "stable_cronet_base_library_loader_jni__action", 1004 "stable_cronet_base_memory_jni__action", 1005 "stable_cronet_base_metrics_jni__action", 1006 "stable_cronet_base_orderfile_buildflags", 1007 "stable_cronet_base_power_monitor_buildflags", 1008 "stable_cronet_base_process_launcher_jni__action", 1009 "stable_cronet_base_profiler_buildflags", 1010 "stable_cronet_base_protected_memory_buildflags", 1011 "stable_cronet_base_rust_logger_cxx_generated_gen_header", 1012 "stable_cronet_base_sanitizer_buildflags", 1013 "stable_cronet_base_synchronization_buildflags", 1014 "stable_cronet_base_sys_utils_jni__action", 1015 "stable_cronet_base_tasks_jni__action", 1016 "stable_cronet_base_tracing_buildflags", 1017 "stable_cronet_build_blink_buildflags", 1018 "stable_cronet_build_branding_buildflags", 1019 "stable_cronet_build_chromecast_buildflags", 1020 "stable_cronet_build_chromeos_buildflags", 1021 "stable_cronet_build_config_compiler_compiler_buildflags", 1022 "stable_cronet_build_ios_buildflags", 1023 "stable_cronet_build_robolectric_buildflags", 1024 "stable_cronet_crypto_buildflags", 1025 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains", 1026 "stable_cronet_net_buildflags", 1027 "stable_cronet_net_cronet_buildflags", 1028 "stable_cronet_net_isolation_info_proto_gen_headers", 1029 "stable_cronet_net_net_jni_headers__action", 1030 "stable_cronet_net_net_nqe_proto_gen_headers", 1031 "stable_cronet_net_third_party_quiche_net_quic_proto_gen_headers", 1032 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen_headers", 1033 "stable_cronet_third_party_jni_zero_generate_jni__action", 1034 "stable_cronet_third_party_jni_zero_system_jni__action", 1035 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 1036 "stable_cronet_url_buildflags", 1037 "stable_cronet_url_url_jni_headers__action", 1038 ], 1039 defaults: [ 1040 "stable_cronet_cc_defaults", 1041 ], 1042 cflags: [ 1043 "-DANDROID", 1044 "-DANDROID_NDK_VERSION_ROLL=r27_1", 1045 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 1046 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 1047 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 1048 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 1049 "-DENABLE_BUILT_IN_DNS", 1050 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 1051 "-DGOOGLE_PROTOBUF_NO_RTTI", 1052 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 1053 "-DHAVE_PTHREAD", 1054 "-DHAVE_SYS_UIO_H", 1055 "-DNDEBUG", 1056 "-DNET_IMPLEMENTATION", 1057 "-DNVALGRIND", 1058 "-DOFFICIAL_BUILD", 1059 "-DTMP_REBUILD_HACK", 1060 "-D_GNU_SOURCE", 1061 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 1062 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 1063 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 1064 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 1065 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 1066 "-D__STDC_CONSTANT_MACROS", 1067 "-D__STDC_FORMAT_MACROS", 1068 "-fdata-sections", 1069 "-ffunction-sections", 1070 "-fstack-protector", 1071 "-fvisibility-inlines-hidden", 1072 "-fvisibility=hidden", 1073 "-g1", 1074 ], 1075 include_dirs: [ 1076 "external/cronet/stable/", 1077 "external/cronet/stable/base/allocator/partition_allocator/src/", 1078 "external/cronet/stable/buildtools/third_party/libc++/", 1079 "external/cronet/stable/net/third_party/quiche/overrides/", 1080 "external/cronet/stable/net/third_party/quiche/src/", 1081 "external/cronet/stable/net/third_party/quiche/src/quiche/common/platform/default/", 1082 "external/cronet/stable/third_party/abseil-cpp/", 1083 "external/cronet/stable/third_party/boringssl/src/include/", 1084 "external/cronet/stable/third_party/brotli/include/", 1085 "external/cronet/stable/third_party/libc++/src/include", 1086 "external/cronet/stable/third_party/libc++abi/src/include", 1087 "external/cronet/stable/third_party/protobuf/src/", 1088 ], 1089 cpp_std: "c++20", 1090 ldflags: [ 1091 "-Wl,--as-needed", 1092 "-Wl,--gc-sections", 1093 "-Wl,--icf=all", 1094 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 1095 ], 1096 visibility: [ 1097 "//external/cronet:__subpackages__", 1098 ], 1099 target: { 1100 android_arm: { 1101 cflags: [ 1102 "-D_FORTIFY_SOURCE=2", 1103 ], 1104 }, 1105 android_arm64: { 1106 cflags: [ 1107 "-D_FORTIFY_SOURCE=2", 1108 "-D__ARM_NEON__=1", 1109 "-O2", 1110 "-mno-outline", 1111 ], 1112 }, 1113 android_x86: { 1114 cflags: [ 1115 "-D_FORTIFY_SOURCE=2", 1116 "-msse3", 1117 ], 1118 }, 1119 android_x86_64: { 1120 cflags: [ 1121 "-D_FORTIFY_SOURCE=2", 1122 "-O2", 1123 "-msse3", 1124 ], 1125 }, 1126 }, 1127} 1128 1129// GN: //net/dns:host_resolver__testing 1130cc_library_static { 1131 name: "stable_cronet_net_dns_host_resolver__testing", 1132 shared_libs: [ 1133 "libandroid", 1134 "liblog", 1135 "libprotobuf-cpp-lite", 1136 "libz", 1137 ], 1138 host_cross_supported: false, 1139 generated_headers: [ 1140 "stable_cronet_base_allocator_buildflags__testing", 1141 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 1142 "stable_cronet_base_anchor_functions_buildflags__testing", 1143 "stable_cronet_base_build_date__testing", 1144 "stable_cronet_base_cfi_buildflags__testing", 1145 "stable_cronet_base_check_version_internal_action__testing", 1146 "stable_cronet_base_clang_profiling_buildflags__testing", 1147 "stable_cronet_base_debugging_buildflags__testing", 1148 "stable_cronet_base_feature_list_buildflags__testing", 1149 "stable_cronet_base_fuzzing_buildflags__testing", 1150 "stable_cronet_base_ios_cronet_buildflags__testing", 1151 "stable_cronet_base_orderfile_buildflags__testing", 1152 "stable_cronet_base_power_monitor_buildflags__testing", 1153 "stable_cronet_base_profiler_buildflags__testing", 1154 "stable_cronet_base_protected_memory_buildflags__testing", 1155 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 1156 "stable_cronet_base_sanitizer_buildflags__testing", 1157 "stable_cronet_base_synchronization_buildflags__testing", 1158 "stable_cronet_base_tracing_buildflags__testing", 1159 "stable_cronet_build_blink_buildflags__testing", 1160 "stable_cronet_build_branding_buildflags__testing", 1161 "stable_cronet_build_chromecast_buildflags__testing", 1162 "stable_cronet_build_chromeos_buildflags__testing", 1163 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 1164 "stable_cronet_build_ios_buildflags__testing", 1165 "stable_cronet_build_robolectric_buildflags__testing", 1166 "stable_cronet_crypto_buildflags__testing", 1167 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains__testing", 1168 "stable_cronet_net_buildflags__testing", 1169 "stable_cronet_net_cronet_buildflags__testing", 1170 "stable_cronet_net_isolation_info_proto_gen__testing_headers", 1171 "stable_cronet_net_net_jni_headers__action__testing", 1172 "stable_cronet_net_net_nqe_proto_gen__testing_headers", 1173 "stable_cronet_net_third_party_quiche_net_quic_proto_gen__testing_headers", 1174 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers", 1175 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 1176 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 1177 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 1178 "stable_cronet_url_buildflags__testing", 1179 "stable_cronet_url_url_jni_headers__action__testing", 1180 ], 1181 export_generated_headers: [ 1182 "stable_cronet_base_allocator_buildflags__testing", 1183 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 1184 "stable_cronet_base_anchor_functions_buildflags__testing", 1185 "stable_cronet_base_build_date__testing", 1186 "stable_cronet_base_cfi_buildflags__testing", 1187 "stable_cronet_base_check_version_internal_action__testing", 1188 "stable_cronet_base_clang_profiling_buildflags__testing", 1189 "stable_cronet_base_debugging_buildflags__testing", 1190 "stable_cronet_base_feature_list_buildflags__testing", 1191 "stable_cronet_base_fuzzing_buildflags__testing", 1192 "stable_cronet_base_ios_cronet_buildflags__testing", 1193 "stable_cronet_base_orderfile_buildflags__testing", 1194 "stable_cronet_base_power_monitor_buildflags__testing", 1195 "stable_cronet_base_profiler_buildflags__testing", 1196 "stable_cronet_base_protected_memory_buildflags__testing", 1197 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 1198 "stable_cronet_base_sanitizer_buildflags__testing", 1199 "stable_cronet_base_synchronization_buildflags__testing", 1200 "stable_cronet_base_tracing_buildflags__testing", 1201 "stable_cronet_build_blink_buildflags__testing", 1202 "stable_cronet_build_branding_buildflags__testing", 1203 "stable_cronet_build_chromecast_buildflags__testing", 1204 "stable_cronet_build_chromeos_buildflags__testing", 1205 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 1206 "stable_cronet_build_ios_buildflags__testing", 1207 "stable_cronet_build_robolectric_buildflags__testing", 1208 "stable_cronet_crypto_buildflags__testing", 1209 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains__testing", 1210 "stable_cronet_net_buildflags__testing", 1211 "stable_cronet_net_cronet_buildflags__testing", 1212 "stable_cronet_net_isolation_info_proto_gen__testing_headers", 1213 "stable_cronet_net_net_jni_headers__action__testing", 1214 "stable_cronet_net_net_nqe_proto_gen__testing_headers", 1215 "stable_cronet_net_third_party_quiche_net_quic_proto_gen__testing_headers", 1216 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers", 1217 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 1218 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 1219 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 1220 "stable_cronet_url_buildflags__testing", 1221 "stable_cronet_url_url_jni_headers__action__testing", 1222 ], 1223 defaults: [ 1224 "stable_cronet_cc_defaults", 1225 ], 1226 cflags: [ 1227 "-DANDROID", 1228 "-DANDROID_NDK_VERSION_ROLL=r27_1", 1229 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 1230 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 1231 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 1232 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 1233 "-DENABLE_BUILT_IN_DNS", 1234 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 1235 "-DGOOGLE_PROTOBUF_NO_RTTI", 1236 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 1237 "-DHAVE_PTHREAD", 1238 "-DHAVE_SYS_UIO_H", 1239 "-DNDEBUG", 1240 "-DNET_IMPLEMENTATION", 1241 "-DNVALGRIND", 1242 "-DOFFICIAL_BUILD", 1243 "-DTMP_REBUILD_HACK", 1244 "-D_GNU_SOURCE", 1245 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 1246 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 1247 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 1248 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 1249 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 1250 "-D__STDC_CONSTANT_MACROS", 1251 "-D__STDC_FORMAT_MACROS", 1252 "-fdata-sections", 1253 "-ffunction-sections", 1254 "-fstack-protector", 1255 "-fvisibility-inlines-hidden", 1256 "-fvisibility=hidden", 1257 "-g1", 1258 ], 1259 include_dirs: [ 1260 "external/cronet/stable/", 1261 "external/cronet/stable/base/allocator/partition_allocator/src/", 1262 "external/cronet/stable/buildtools/third_party/libc++/", 1263 "external/cronet/stable/net/third_party/quiche/overrides/", 1264 "external/cronet/stable/net/third_party/quiche/src/", 1265 "external/cronet/stable/net/third_party/quiche/src/quiche/common/platform/default/", 1266 "external/cronet/stable/third_party/abseil-cpp/", 1267 "external/cronet/stable/third_party/boringssl/src/include/", 1268 "external/cronet/stable/third_party/brotli/include/", 1269 "external/cronet/stable/third_party/libc++/src/include", 1270 "external/cronet/stable/third_party/libc++abi/src/include", 1271 "external/cronet/stable/third_party/protobuf/src/", 1272 ], 1273 cpp_std: "c++20", 1274 ldflags: [ 1275 "-Wl,--as-needed", 1276 "-Wl,--gc-sections", 1277 "-Wl,--icf=all", 1278 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 1279 ], 1280 visibility: [ 1281 "//external/cronet:__subpackages__", 1282 ], 1283 target: { 1284 android_arm: { 1285 cflags: [ 1286 "-D_FORTIFY_SOURCE=2", 1287 ], 1288 }, 1289 android_arm64: { 1290 cflags: [ 1291 "-D_FORTIFY_SOURCE=2", 1292 "-D__ARM_NEON__=1", 1293 "-O2", 1294 "-mno-outline", 1295 ], 1296 }, 1297 android_x86: { 1298 cflags: [ 1299 "-D_FORTIFY_SOURCE=2", 1300 "-msse3", 1301 ], 1302 }, 1303 android_x86_64: { 1304 cflags: [ 1305 "-D_FORTIFY_SOURCE=2", 1306 "-O2", 1307 "-msse3", 1308 ], 1309 }, 1310 }, 1311} 1312 1313// GN: //net/dns:host_resolver_manager 1314cc_library_static { 1315 name: "stable_cronet_net_dns_host_resolver_manager", 1316 shared_libs: [ 1317 "libandroid", 1318 "liblog", 1319 "libprotobuf-cpp-lite", 1320 "libz", 1321 "stable_cronet_libcrypto", 1322 "stable_cronet_libpki", 1323 "stable_cronet_libssl", 1324 ], 1325 host_cross_supported: false, 1326 generated_headers: [ 1327 "stable_cronet_base_allocator_buildflags", 1328 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 1329 "stable_cronet_base_anchor_functions_buildflags", 1330 "stable_cronet_base_android_runtime_jni_headers__action", 1331 "stable_cronet_base_base_jni__action", 1332 "stable_cronet_base_base_shared_preferences_jni__action", 1333 "stable_cronet_base_build_date", 1334 "stable_cronet_base_callback_jni__action", 1335 "stable_cronet_base_cfi_buildflags", 1336 "stable_cronet_base_check_version_internal_action", 1337 "stable_cronet_base_clang_profiling_buildflags", 1338 "stable_cronet_base_command_line_jni__action", 1339 "stable_cronet_base_content_uri_utils_jni__action", 1340 "stable_cronet_base_debugging_buildflags", 1341 "stable_cronet_base_feature_list_buildflags", 1342 "stable_cronet_base_fuzzing_buildflags", 1343 "stable_cronet_base_ios_cronet_buildflags", 1344 "stable_cronet_base_jank_tracker_jni__action", 1345 "stable_cronet_base_library_loader_jni__action", 1346 "stable_cronet_base_memory_jni__action", 1347 "stable_cronet_base_metrics_jni__action", 1348 "stable_cronet_base_orderfile_buildflags", 1349 "stable_cronet_base_power_monitor_buildflags", 1350 "stable_cronet_base_process_launcher_jni__action", 1351 "stable_cronet_base_profiler_buildflags", 1352 "stable_cronet_base_protected_memory_buildflags", 1353 "stable_cronet_base_rust_logger_cxx_generated_gen_header", 1354 "stable_cronet_base_sanitizer_buildflags", 1355 "stable_cronet_base_synchronization_buildflags", 1356 "stable_cronet_base_sys_utils_jni__action", 1357 "stable_cronet_base_tasks_jni__action", 1358 "stable_cronet_base_tracing_buildflags", 1359 "stable_cronet_build_blink_buildflags", 1360 "stable_cronet_build_branding_buildflags", 1361 "stable_cronet_build_chromecast_buildflags", 1362 "stable_cronet_build_chromeos_buildflags", 1363 "stable_cronet_build_config_compiler_compiler_buildflags", 1364 "stable_cronet_build_ios_buildflags", 1365 "stable_cronet_build_robolectric_buildflags", 1366 "stable_cronet_crypto_buildflags", 1367 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains", 1368 "stable_cronet_net_buildflags", 1369 "stable_cronet_net_cronet_buildflags", 1370 "stable_cronet_net_isolation_info_proto_gen_headers", 1371 "stable_cronet_net_net_jni_headers__action", 1372 "stable_cronet_net_net_nqe_proto_gen_headers", 1373 "stable_cronet_net_third_party_quiche_net_quic_proto_gen_headers", 1374 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen_headers", 1375 "stable_cronet_third_party_jni_zero_generate_jni__action", 1376 "stable_cronet_third_party_jni_zero_system_jni__action", 1377 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 1378 "stable_cronet_url_buildflags", 1379 "stable_cronet_url_url_jni_headers__action", 1380 ], 1381 export_generated_headers: [ 1382 "stable_cronet_base_allocator_buildflags", 1383 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 1384 "stable_cronet_base_anchor_functions_buildflags", 1385 "stable_cronet_base_android_runtime_jni_headers__action", 1386 "stable_cronet_base_base_jni__action", 1387 "stable_cronet_base_base_shared_preferences_jni__action", 1388 "stable_cronet_base_build_date", 1389 "stable_cronet_base_callback_jni__action", 1390 "stable_cronet_base_cfi_buildflags", 1391 "stable_cronet_base_check_version_internal_action", 1392 "stable_cronet_base_clang_profiling_buildflags", 1393 "stable_cronet_base_command_line_jni__action", 1394 "stable_cronet_base_content_uri_utils_jni__action", 1395 "stable_cronet_base_debugging_buildflags", 1396 "stable_cronet_base_feature_list_buildflags", 1397 "stable_cronet_base_fuzzing_buildflags", 1398 "stable_cronet_base_ios_cronet_buildflags", 1399 "stable_cronet_base_jank_tracker_jni__action", 1400 "stable_cronet_base_library_loader_jni__action", 1401 "stable_cronet_base_memory_jni__action", 1402 "stable_cronet_base_metrics_jni__action", 1403 "stable_cronet_base_orderfile_buildflags", 1404 "stable_cronet_base_power_monitor_buildflags", 1405 "stable_cronet_base_process_launcher_jni__action", 1406 "stable_cronet_base_profiler_buildflags", 1407 "stable_cronet_base_protected_memory_buildflags", 1408 "stable_cronet_base_rust_logger_cxx_generated_gen_header", 1409 "stable_cronet_base_sanitizer_buildflags", 1410 "stable_cronet_base_synchronization_buildflags", 1411 "stable_cronet_base_sys_utils_jni__action", 1412 "stable_cronet_base_tasks_jni__action", 1413 "stable_cronet_base_tracing_buildflags", 1414 "stable_cronet_build_blink_buildflags", 1415 "stable_cronet_build_branding_buildflags", 1416 "stable_cronet_build_chromecast_buildflags", 1417 "stable_cronet_build_chromeos_buildflags", 1418 "stable_cronet_build_config_compiler_compiler_buildflags", 1419 "stable_cronet_build_ios_buildflags", 1420 "stable_cronet_build_robolectric_buildflags", 1421 "stable_cronet_crypto_buildflags", 1422 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains", 1423 "stable_cronet_net_buildflags", 1424 "stable_cronet_net_cronet_buildflags", 1425 "stable_cronet_net_isolation_info_proto_gen_headers", 1426 "stable_cronet_net_net_jni_headers__action", 1427 "stable_cronet_net_net_nqe_proto_gen_headers", 1428 "stable_cronet_net_third_party_quiche_net_quic_proto_gen_headers", 1429 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen_headers", 1430 "stable_cronet_third_party_jni_zero_generate_jni__action", 1431 "stable_cronet_third_party_jni_zero_system_jni__action", 1432 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 1433 "stable_cronet_url_buildflags", 1434 "stable_cronet_url_url_jni_headers__action", 1435 ], 1436 defaults: [ 1437 "stable_cronet_cc_defaults", 1438 ], 1439 cflags: [ 1440 "-DANDROID", 1441 "-DANDROID_NDK_VERSION_ROLL=r27_1", 1442 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 1443 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 1444 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 1445 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 1446 "-DENABLE_BUILT_IN_DNS", 1447 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 1448 "-DGOOGLE_PROTOBUF_NO_RTTI", 1449 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 1450 "-DHAVE_PTHREAD", 1451 "-DHAVE_SYS_UIO_H", 1452 "-DNDEBUG", 1453 "-DNET_IMPLEMENTATION", 1454 "-DNVALGRIND", 1455 "-DOFFICIAL_BUILD", 1456 "-DTMP_REBUILD_HACK", 1457 "-D_GNU_SOURCE", 1458 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 1459 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 1460 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 1461 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 1462 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 1463 "-D__STDC_CONSTANT_MACROS", 1464 "-D__STDC_FORMAT_MACROS", 1465 "-fdata-sections", 1466 "-ffunction-sections", 1467 "-fstack-protector", 1468 "-fvisibility-inlines-hidden", 1469 "-fvisibility=hidden", 1470 "-g1", 1471 ], 1472 include_dirs: [ 1473 "external/cronet/stable/", 1474 "external/cronet/stable/base/allocator/partition_allocator/src/", 1475 "external/cronet/stable/buildtools/third_party/libc++/", 1476 "external/cronet/stable/net/third_party/quiche/overrides/", 1477 "external/cronet/stable/net/third_party/quiche/src/", 1478 "external/cronet/stable/net/third_party/quiche/src/quiche/common/platform/default/", 1479 "external/cronet/stable/third_party/abseil-cpp/", 1480 "external/cronet/stable/third_party/boringssl/src/include/", 1481 "external/cronet/stable/third_party/brotli/include/", 1482 "external/cronet/stable/third_party/libc++/src/include", 1483 "external/cronet/stable/third_party/libc++abi/src/include", 1484 "external/cronet/stable/third_party/protobuf/src/", 1485 ], 1486 cpp_std: "c++20", 1487 ldflags: [ 1488 "-Wl,--as-needed", 1489 "-Wl,--gc-sections", 1490 "-Wl,--icf=all", 1491 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 1492 ], 1493 visibility: [ 1494 "//external/cronet:__subpackages__", 1495 ], 1496 target: { 1497 android_arm: { 1498 cflags: [ 1499 "-D_FORTIFY_SOURCE=2", 1500 ], 1501 }, 1502 android_arm64: { 1503 cflags: [ 1504 "-D_FORTIFY_SOURCE=2", 1505 "-D__ARM_NEON__=1", 1506 "-O2", 1507 "-mno-outline", 1508 ], 1509 }, 1510 android_x86: { 1511 cflags: [ 1512 "-D_FORTIFY_SOURCE=2", 1513 "-msse3", 1514 ], 1515 }, 1516 android_x86_64: { 1517 cflags: [ 1518 "-D_FORTIFY_SOURCE=2", 1519 "-O2", 1520 "-msse3", 1521 ], 1522 }, 1523 }, 1524} 1525 1526// GN: //net/dns:host_resolver_manager__testing 1527cc_library_static { 1528 name: "stable_cronet_net_dns_host_resolver_manager__testing", 1529 shared_libs: [ 1530 "libandroid", 1531 "liblog", 1532 "libprotobuf-cpp-lite", 1533 "libz", 1534 ], 1535 host_cross_supported: false, 1536 generated_headers: [ 1537 "stable_cronet_base_allocator_buildflags__testing", 1538 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 1539 "stable_cronet_base_anchor_functions_buildflags__testing", 1540 "stable_cronet_base_build_date__testing", 1541 "stable_cronet_base_cfi_buildflags__testing", 1542 "stable_cronet_base_check_version_internal_action__testing", 1543 "stable_cronet_base_clang_profiling_buildflags__testing", 1544 "stable_cronet_base_debugging_buildflags__testing", 1545 "stable_cronet_base_feature_list_buildflags__testing", 1546 "stable_cronet_base_fuzzing_buildflags__testing", 1547 "stable_cronet_base_ios_cronet_buildflags__testing", 1548 "stable_cronet_base_orderfile_buildflags__testing", 1549 "stable_cronet_base_power_monitor_buildflags__testing", 1550 "stable_cronet_base_profiler_buildflags__testing", 1551 "stable_cronet_base_protected_memory_buildflags__testing", 1552 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 1553 "stable_cronet_base_sanitizer_buildflags__testing", 1554 "stable_cronet_base_synchronization_buildflags__testing", 1555 "stable_cronet_base_tracing_buildflags__testing", 1556 "stable_cronet_build_blink_buildflags__testing", 1557 "stable_cronet_build_branding_buildflags__testing", 1558 "stable_cronet_build_chromecast_buildflags__testing", 1559 "stable_cronet_build_chromeos_buildflags__testing", 1560 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 1561 "stable_cronet_build_ios_buildflags__testing", 1562 "stable_cronet_build_robolectric_buildflags__testing", 1563 "stable_cronet_crypto_buildflags__testing", 1564 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains__testing", 1565 "stable_cronet_net_buildflags__testing", 1566 "stable_cronet_net_cronet_buildflags__testing", 1567 "stable_cronet_net_isolation_info_proto_gen__testing_headers", 1568 "stable_cronet_net_net_jni_headers__action__testing", 1569 "stable_cronet_net_net_nqe_proto_gen__testing_headers", 1570 "stable_cronet_net_third_party_quiche_net_quic_proto_gen__testing_headers", 1571 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers", 1572 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 1573 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 1574 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 1575 "stable_cronet_url_buildflags__testing", 1576 "stable_cronet_url_url_jni_headers__action__testing", 1577 ], 1578 export_generated_headers: [ 1579 "stable_cronet_base_allocator_buildflags__testing", 1580 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 1581 "stable_cronet_base_anchor_functions_buildflags__testing", 1582 "stable_cronet_base_build_date__testing", 1583 "stable_cronet_base_cfi_buildflags__testing", 1584 "stable_cronet_base_check_version_internal_action__testing", 1585 "stable_cronet_base_clang_profiling_buildflags__testing", 1586 "stable_cronet_base_debugging_buildflags__testing", 1587 "stable_cronet_base_feature_list_buildflags__testing", 1588 "stable_cronet_base_fuzzing_buildflags__testing", 1589 "stable_cronet_base_ios_cronet_buildflags__testing", 1590 "stable_cronet_base_orderfile_buildflags__testing", 1591 "stable_cronet_base_power_monitor_buildflags__testing", 1592 "stable_cronet_base_profiler_buildflags__testing", 1593 "stable_cronet_base_protected_memory_buildflags__testing", 1594 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 1595 "stable_cronet_base_sanitizer_buildflags__testing", 1596 "stable_cronet_base_synchronization_buildflags__testing", 1597 "stable_cronet_base_tracing_buildflags__testing", 1598 "stable_cronet_build_blink_buildflags__testing", 1599 "stable_cronet_build_branding_buildflags__testing", 1600 "stable_cronet_build_chromecast_buildflags__testing", 1601 "stable_cronet_build_chromeos_buildflags__testing", 1602 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 1603 "stable_cronet_build_ios_buildflags__testing", 1604 "stable_cronet_build_robolectric_buildflags__testing", 1605 "stable_cronet_crypto_buildflags__testing", 1606 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains__testing", 1607 "stable_cronet_net_buildflags__testing", 1608 "stable_cronet_net_cronet_buildflags__testing", 1609 "stable_cronet_net_isolation_info_proto_gen__testing_headers", 1610 "stable_cronet_net_net_jni_headers__action__testing", 1611 "stable_cronet_net_net_nqe_proto_gen__testing_headers", 1612 "stable_cronet_net_third_party_quiche_net_quic_proto_gen__testing_headers", 1613 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers", 1614 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 1615 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 1616 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 1617 "stable_cronet_url_buildflags__testing", 1618 "stable_cronet_url_url_jni_headers__action__testing", 1619 ], 1620 defaults: [ 1621 "stable_cronet_cc_defaults", 1622 ], 1623 cflags: [ 1624 "-DANDROID", 1625 "-DANDROID_NDK_VERSION_ROLL=r27_1", 1626 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 1627 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 1628 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 1629 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 1630 "-DENABLE_BUILT_IN_DNS", 1631 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 1632 "-DGOOGLE_PROTOBUF_NO_RTTI", 1633 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 1634 "-DHAVE_PTHREAD", 1635 "-DHAVE_SYS_UIO_H", 1636 "-DNDEBUG", 1637 "-DNET_IMPLEMENTATION", 1638 "-DNVALGRIND", 1639 "-DOFFICIAL_BUILD", 1640 "-DTMP_REBUILD_HACK", 1641 "-D_GNU_SOURCE", 1642 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 1643 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 1644 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 1645 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 1646 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 1647 "-D__STDC_CONSTANT_MACROS", 1648 "-D__STDC_FORMAT_MACROS", 1649 "-fdata-sections", 1650 "-ffunction-sections", 1651 "-fstack-protector", 1652 "-fvisibility-inlines-hidden", 1653 "-fvisibility=hidden", 1654 "-g1", 1655 ], 1656 include_dirs: [ 1657 "external/cronet/stable/", 1658 "external/cronet/stable/base/allocator/partition_allocator/src/", 1659 "external/cronet/stable/buildtools/third_party/libc++/", 1660 "external/cronet/stable/net/third_party/quiche/overrides/", 1661 "external/cronet/stable/net/third_party/quiche/src/", 1662 "external/cronet/stable/net/third_party/quiche/src/quiche/common/platform/default/", 1663 "external/cronet/stable/third_party/abseil-cpp/", 1664 "external/cronet/stable/third_party/boringssl/src/include/", 1665 "external/cronet/stable/third_party/brotli/include/", 1666 "external/cronet/stable/third_party/libc++/src/include", 1667 "external/cronet/stable/third_party/libc++abi/src/include", 1668 "external/cronet/stable/third_party/protobuf/src/", 1669 ], 1670 cpp_std: "c++20", 1671 ldflags: [ 1672 "-Wl,--as-needed", 1673 "-Wl,--gc-sections", 1674 "-Wl,--icf=all", 1675 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 1676 ], 1677 visibility: [ 1678 "//external/cronet:__subpackages__", 1679 ], 1680 target: { 1681 android_arm: { 1682 cflags: [ 1683 "-D_FORTIFY_SOURCE=2", 1684 ], 1685 }, 1686 android_arm64: { 1687 cflags: [ 1688 "-D_FORTIFY_SOURCE=2", 1689 "-D__ARM_NEON__=1", 1690 "-O2", 1691 "-mno-outline", 1692 ], 1693 }, 1694 android_x86: { 1695 cflags: [ 1696 "-D_FORTIFY_SOURCE=2", 1697 "-msse3", 1698 ], 1699 }, 1700 android_x86_64: { 1701 cflags: [ 1702 "-D_FORTIFY_SOURCE=2", 1703 "-O2", 1704 "-msse3", 1705 ], 1706 }, 1707 }, 1708} 1709 1710// GN: //net/dns:mdns_client 1711cc_library_static { 1712 name: "stable_cronet_net_dns_mdns_client", 1713 shared_libs: [ 1714 "libandroid", 1715 "liblog", 1716 "libprotobuf-cpp-lite", 1717 "libz", 1718 "stable_cronet_libcrypto", 1719 "stable_cronet_libpki", 1720 "stable_cronet_libssl", 1721 ], 1722 host_cross_supported: false, 1723 generated_headers: [ 1724 "stable_cronet_base_allocator_buildflags", 1725 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 1726 "stable_cronet_base_anchor_functions_buildflags", 1727 "stable_cronet_base_android_runtime_jni_headers__action", 1728 "stable_cronet_base_base_jni__action", 1729 "stable_cronet_base_base_shared_preferences_jni__action", 1730 "stable_cronet_base_build_date", 1731 "stable_cronet_base_callback_jni__action", 1732 "stable_cronet_base_cfi_buildflags", 1733 "stable_cronet_base_check_version_internal_action", 1734 "stable_cronet_base_clang_profiling_buildflags", 1735 "stable_cronet_base_command_line_jni__action", 1736 "stable_cronet_base_content_uri_utils_jni__action", 1737 "stable_cronet_base_debugging_buildflags", 1738 "stable_cronet_base_feature_list_buildflags", 1739 "stable_cronet_base_fuzzing_buildflags", 1740 "stable_cronet_base_ios_cronet_buildflags", 1741 "stable_cronet_base_jank_tracker_jni__action", 1742 "stable_cronet_base_library_loader_jni__action", 1743 "stable_cronet_base_memory_jni__action", 1744 "stable_cronet_base_metrics_jni__action", 1745 "stable_cronet_base_orderfile_buildflags", 1746 "stable_cronet_base_power_monitor_buildflags", 1747 "stable_cronet_base_process_launcher_jni__action", 1748 "stable_cronet_base_profiler_buildflags", 1749 "stable_cronet_base_protected_memory_buildflags", 1750 "stable_cronet_base_rust_logger_cxx_generated_gen_header", 1751 "stable_cronet_base_sanitizer_buildflags", 1752 "stable_cronet_base_synchronization_buildflags", 1753 "stable_cronet_base_sys_utils_jni__action", 1754 "stable_cronet_base_tasks_jni__action", 1755 "stable_cronet_base_tracing_buildflags", 1756 "stable_cronet_build_blink_buildflags", 1757 "stable_cronet_build_branding_buildflags", 1758 "stable_cronet_build_chromecast_buildflags", 1759 "stable_cronet_build_chromeos_buildflags", 1760 "stable_cronet_build_config_compiler_compiler_buildflags", 1761 "stable_cronet_build_ios_buildflags", 1762 "stable_cronet_build_robolectric_buildflags", 1763 "stable_cronet_crypto_buildflags", 1764 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains", 1765 "stable_cronet_net_buildflags", 1766 "stable_cronet_net_cronet_buildflags", 1767 "stable_cronet_net_isolation_info_proto_gen_headers", 1768 "stable_cronet_net_net_jni_headers__action", 1769 "stable_cronet_net_net_nqe_proto_gen_headers", 1770 "stable_cronet_net_third_party_quiche_net_quic_proto_gen_headers", 1771 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen_headers", 1772 "stable_cronet_third_party_jni_zero_generate_jni__action", 1773 "stable_cronet_third_party_jni_zero_system_jni__action", 1774 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 1775 "stable_cronet_url_buildflags", 1776 "stable_cronet_url_url_jni_headers__action", 1777 ], 1778 export_generated_headers: [ 1779 "stable_cronet_base_allocator_buildflags", 1780 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 1781 "stable_cronet_base_anchor_functions_buildflags", 1782 "stable_cronet_base_android_runtime_jni_headers__action", 1783 "stable_cronet_base_base_jni__action", 1784 "stable_cronet_base_base_shared_preferences_jni__action", 1785 "stable_cronet_base_build_date", 1786 "stable_cronet_base_callback_jni__action", 1787 "stable_cronet_base_cfi_buildflags", 1788 "stable_cronet_base_check_version_internal_action", 1789 "stable_cronet_base_clang_profiling_buildflags", 1790 "stable_cronet_base_command_line_jni__action", 1791 "stable_cronet_base_content_uri_utils_jni__action", 1792 "stable_cronet_base_debugging_buildflags", 1793 "stable_cronet_base_feature_list_buildflags", 1794 "stable_cronet_base_fuzzing_buildflags", 1795 "stable_cronet_base_ios_cronet_buildflags", 1796 "stable_cronet_base_jank_tracker_jni__action", 1797 "stable_cronet_base_library_loader_jni__action", 1798 "stable_cronet_base_memory_jni__action", 1799 "stable_cronet_base_metrics_jni__action", 1800 "stable_cronet_base_orderfile_buildflags", 1801 "stable_cronet_base_power_monitor_buildflags", 1802 "stable_cronet_base_process_launcher_jni__action", 1803 "stable_cronet_base_profiler_buildflags", 1804 "stable_cronet_base_protected_memory_buildflags", 1805 "stable_cronet_base_rust_logger_cxx_generated_gen_header", 1806 "stable_cronet_base_sanitizer_buildflags", 1807 "stable_cronet_base_synchronization_buildflags", 1808 "stable_cronet_base_sys_utils_jni__action", 1809 "stable_cronet_base_tasks_jni__action", 1810 "stable_cronet_base_tracing_buildflags", 1811 "stable_cronet_build_blink_buildflags", 1812 "stable_cronet_build_branding_buildflags", 1813 "stable_cronet_build_chromecast_buildflags", 1814 "stable_cronet_build_chromeos_buildflags", 1815 "stable_cronet_build_config_compiler_compiler_buildflags", 1816 "stable_cronet_build_ios_buildflags", 1817 "stable_cronet_build_robolectric_buildflags", 1818 "stable_cronet_crypto_buildflags", 1819 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains", 1820 "stable_cronet_net_buildflags", 1821 "stable_cronet_net_cronet_buildflags", 1822 "stable_cronet_net_isolation_info_proto_gen_headers", 1823 "stable_cronet_net_net_jni_headers__action", 1824 "stable_cronet_net_net_nqe_proto_gen_headers", 1825 "stable_cronet_net_third_party_quiche_net_quic_proto_gen_headers", 1826 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen_headers", 1827 "stable_cronet_third_party_jni_zero_generate_jni__action", 1828 "stable_cronet_third_party_jni_zero_system_jni__action", 1829 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 1830 "stable_cronet_url_buildflags", 1831 "stable_cronet_url_url_jni_headers__action", 1832 ], 1833 defaults: [ 1834 "stable_cronet_cc_defaults", 1835 ], 1836 cflags: [ 1837 "-DANDROID", 1838 "-DANDROID_NDK_VERSION_ROLL=r27_1", 1839 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 1840 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 1841 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 1842 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 1843 "-DENABLE_BUILT_IN_DNS", 1844 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 1845 "-DGOOGLE_PROTOBUF_NO_RTTI", 1846 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 1847 "-DHAVE_PTHREAD", 1848 "-DHAVE_SYS_UIO_H", 1849 "-DNDEBUG", 1850 "-DNET_IMPLEMENTATION", 1851 "-DNVALGRIND", 1852 "-DOFFICIAL_BUILD", 1853 "-DTMP_REBUILD_HACK", 1854 "-D_GNU_SOURCE", 1855 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 1856 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 1857 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 1858 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 1859 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 1860 "-D__STDC_CONSTANT_MACROS", 1861 "-D__STDC_FORMAT_MACROS", 1862 "-fdata-sections", 1863 "-ffunction-sections", 1864 "-fstack-protector", 1865 "-fvisibility-inlines-hidden", 1866 "-fvisibility=hidden", 1867 "-g1", 1868 ], 1869 include_dirs: [ 1870 "external/cronet/stable/", 1871 "external/cronet/stable/base/allocator/partition_allocator/src/", 1872 "external/cronet/stable/buildtools/third_party/libc++/", 1873 "external/cronet/stable/net/third_party/quiche/overrides/", 1874 "external/cronet/stable/net/third_party/quiche/src/", 1875 "external/cronet/stable/net/third_party/quiche/src/quiche/common/platform/default/", 1876 "external/cronet/stable/third_party/abseil-cpp/", 1877 "external/cronet/stable/third_party/boringssl/src/include/", 1878 "external/cronet/stable/third_party/brotli/include/", 1879 "external/cronet/stable/third_party/libc++/src/include", 1880 "external/cronet/stable/third_party/libc++abi/src/include", 1881 "external/cronet/stable/third_party/protobuf/src/", 1882 ], 1883 cpp_std: "c++20", 1884 ldflags: [ 1885 "-Wl,--as-needed", 1886 "-Wl,--gc-sections", 1887 "-Wl,--icf=all", 1888 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 1889 ], 1890 visibility: [ 1891 "//external/cronet:__subpackages__", 1892 ], 1893 target: { 1894 android_arm: { 1895 cflags: [ 1896 "-D_FORTIFY_SOURCE=2", 1897 ], 1898 }, 1899 android_arm64: { 1900 cflags: [ 1901 "-D_FORTIFY_SOURCE=2", 1902 "-D__ARM_NEON__=1", 1903 "-O2", 1904 "-mno-outline", 1905 ], 1906 }, 1907 android_x86: { 1908 cflags: [ 1909 "-D_FORTIFY_SOURCE=2", 1910 "-msse3", 1911 ], 1912 }, 1913 android_x86_64: { 1914 cflags: [ 1915 "-D_FORTIFY_SOURCE=2", 1916 "-O2", 1917 "-msse3", 1918 ], 1919 }, 1920 }, 1921} 1922 1923// GN: //net/dns:mdns_client__testing 1924cc_library_static { 1925 name: "stable_cronet_net_dns_mdns_client__testing", 1926 shared_libs: [ 1927 "libandroid", 1928 "liblog", 1929 "libprotobuf-cpp-lite", 1930 "libz", 1931 ], 1932 host_cross_supported: false, 1933 generated_headers: [ 1934 "stable_cronet_base_allocator_buildflags__testing", 1935 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 1936 "stable_cronet_base_anchor_functions_buildflags__testing", 1937 "stable_cronet_base_build_date__testing", 1938 "stable_cronet_base_cfi_buildflags__testing", 1939 "stable_cronet_base_check_version_internal_action__testing", 1940 "stable_cronet_base_clang_profiling_buildflags__testing", 1941 "stable_cronet_base_debugging_buildflags__testing", 1942 "stable_cronet_base_feature_list_buildflags__testing", 1943 "stable_cronet_base_fuzzing_buildflags__testing", 1944 "stable_cronet_base_ios_cronet_buildflags__testing", 1945 "stable_cronet_base_orderfile_buildflags__testing", 1946 "stable_cronet_base_power_monitor_buildflags__testing", 1947 "stable_cronet_base_profiler_buildflags__testing", 1948 "stable_cronet_base_protected_memory_buildflags__testing", 1949 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 1950 "stable_cronet_base_sanitizer_buildflags__testing", 1951 "stable_cronet_base_synchronization_buildflags__testing", 1952 "stable_cronet_base_tracing_buildflags__testing", 1953 "stable_cronet_build_blink_buildflags__testing", 1954 "stable_cronet_build_branding_buildflags__testing", 1955 "stable_cronet_build_chromecast_buildflags__testing", 1956 "stable_cronet_build_chromeos_buildflags__testing", 1957 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 1958 "stable_cronet_build_ios_buildflags__testing", 1959 "stable_cronet_build_robolectric_buildflags__testing", 1960 "stable_cronet_crypto_buildflags__testing", 1961 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains__testing", 1962 "stable_cronet_net_buildflags__testing", 1963 "stable_cronet_net_cronet_buildflags__testing", 1964 "stable_cronet_net_isolation_info_proto_gen__testing_headers", 1965 "stable_cronet_net_net_jni_headers__action__testing", 1966 "stable_cronet_net_net_nqe_proto_gen__testing_headers", 1967 "stable_cronet_net_third_party_quiche_net_quic_proto_gen__testing_headers", 1968 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers", 1969 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 1970 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 1971 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 1972 "stable_cronet_url_buildflags__testing", 1973 "stable_cronet_url_url_jni_headers__action__testing", 1974 ], 1975 export_generated_headers: [ 1976 "stable_cronet_base_allocator_buildflags__testing", 1977 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 1978 "stable_cronet_base_anchor_functions_buildflags__testing", 1979 "stable_cronet_base_build_date__testing", 1980 "stable_cronet_base_cfi_buildflags__testing", 1981 "stable_cronet_base_check_version_internal_action__testing", 1982 "stable_cronet_base_clang_profiling_buildflags__testing", 1983 "stable_cronet_base_debugging_buildflags__testing", 1984 "stable_cronet_base_feature_list_buildflags__testing", 1985 "stable_cronet_base_fuzzing_buildflags__testing", 1986 "stable_cronet_base_ios_cronet_buildflags__testing", 1987 "stable_cronet_base_orderfile_buildflags__testing", 1988 "stable_cronet_base_power_monitor_buildflags__testing", 1989 "stable_cronet_base_profiler_buildflags__testing", 1990 "stable_cronet_base_protected_memory_buildflags__testing", 1991 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 1992 "stable_cronet_base_sanitizer_buildflags__testing", 1993 "stable_cronet_base_synchronization_buildflags__testing", 1994 "stable_cronet_base_tracing_buildflags__testing", 1995 "stable_cronet_build_blink_buildflags__testing", 1996 "stable_cronet_build_branding_buildflags__testing", 1997 "stable_cronet_build_chromecast_buildflags__testing", 1998 "stable_cronet_build_chromeos_buildflags__testing", 1999 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 2000 "stable_cronet_build_ios_buildflags__testing", 2001 "stable_cronet_build_robolectric_buildflags__testing", 2002 "stable_cronet_crypto_buildflags__testing", 2003 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains__testing", 2004 "stable_cronet_net_buildflags__testing", 2005 "stable_cronet_net_cronet_buildflags__testing", 2006 "stable_cronet_net_isolation_info_proto_gen__testing_headers", 2007 "stable_cronet_net_net_jni_headers__action__testing", 2008 "stable_cronet_net_net_nqe_proto_gen__testing_headers", 2009 "stable_cronet_net_third_party_quiche_net_quic_proto_gen__testing_headers", 2010 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers", 2011 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 2012 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 2013 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 2014 "stable_cronet_url_buildflags__testing", 2015 "stable_cronet_url_url_jni_headers__action__testing", 2016 ], 2017 defaults: [ 2018 "stable_cronet_cc_defaults", 2019 ], 2020 cflags: [ 2021 "-DANDROID", 2022 "-DANDROID_NDK_VERSION_ROLL=r27_1", 2023 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 2024 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 2025 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 2026 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 2027 "-DENABLE_BUILT_IN_DNS", 2028 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 2029 "-DGOOGLE_PROTOBUF_NO_RTTI", 2030 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 2031 "-DHAVE_PTHREAD", 2032 "-DHAVE_SYS_UIO_H", 2033 "-DNDEBUG", 2034 "-DNET_IMPLEMENTATION", 2035 "-DNVALGRIND", 2036 "-DOFFICIAL_BUILD", 2037 "-DTMP_REBUILD_HACK", 2038 "-D_GNU_SOURCE", 2039 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 2040 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 2041 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 2042 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 2043 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 2044 "-D__STDC_CONSTANT_MACROS", 2045 "-D__STDC_FORMAT_MACROS", 2046 "-fdata-sections", 2047 "-ffunction-sections", 2048 "-fstack-protector", 2049 "-fvisibility-inlines-hidden", 2050 "-fvisibility=hidden", 2051 "-g1", 2052 ], 2053 include_dirs: [ 2054 "external/cronet/stable/", 2055 "external/cronet/stable/base/allocator/partition_allocator/src/", 2056 "external/cronet/stable/buildtools/third_party/libc++/", 2057 "external/cronet/stable/net/third_party/quiche/overrides/", 2058 "external/cronet/stable/net/third_party/quiche/src/", 2059 "external/cronet/stable/net/third_party/quiche/src/quiche/common/platform/default/", 2060 "external/cronet/stable/third_party/abseil-cpp/", 2061 "external/cronet/stable/third_party/boringssl/src/include/", 2062 "external/cronet/stable/third_party/brotli/include/", 2063 "external/cronet/stable/third_party/libc++/src/include", 2064 "external/cronet/stable/third_party/libc++abi/src/include", 2065 "external/cronet/stable/third_party/protobuf/src/", 2066 ], 2067 cpp_std: "c++20", 2068 ldflags: [ 2069 "-Wl,--as-needed", 2070 "-Wl,--gc-sections", 2071 "-Wl,--icf=all", 2072 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 2073 ], 2074 visibility: [ 2075 "//external/cronet:__subpackages__", 2076 ], 2077 target: { 2078 android_arm: { 2079 cflags: [ 2080 "-D_FORTIFY_SOURCE=2", 2081 ], 2082 }, 2083 android_arm64: { 2084 cflags: [ 2085 "-D_FORTIFY_SOURCE=2", 2086 "-D__ARM_NEON__=1", 2087 "-O2", 2088 "-mno-outline", 2089 ], 2090 }, 2091 android_x86: { 2092 cflags: [ 2093 "-D_FORTIFY_SOURCE=2", 2094 "-msse3", 2095 ], 2096 }, 2097 android_x86_64: { 2098 cflags: [ 2099 "-D_FORTIFY_SOURCE=2", 2100 "-O2", 2101 "-msse3", 2102 ], 2103 }, 2104 }, 2105} 2106 2107// GN: //net/dns:test_support__testing 2108cc_library_static { 2109 name: "stable_cronet_net_dns_test_support__testing", 2110 srcs: [ 2111 "dns_test_util.cc", 2112 "host_resolver_internal_result_test_util.cc", 2113 "host_resolver_results_test_util.cc", 2114 "mock_host_resolver.cc", 2115 ], 2116 shared_libs: [ 2117 "libandroid", 2118 "liblog", 2119 "libprotobuf-cpp-lite", 2120 "libz", 2121 ], 2122 host_cross_supported: false, 2123 generated_headers: [ 2124 "stable_cronet_base_allocator_buildflags__testing", 2125 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 2126 "stable_cronet_base_anchor_functions_buildflags__testing", 2127 "stable_cronet_base_build_date__testing", 2128 "stable_cronet_base_cfi_buildflags__testing", 2129 "stable_cronet_base_check_version_internal_action__testing", 2130 "stable_cronet_base_clang_profiling_buildflags__testing", 2131 "stable_cronet_base_debugging_buildflags__testing", 2132 "stable_cronet_base_feature_list_buildflags__testing", 2133 "stable_cronet_base_fuzzing_buildflags__testing", 2134 "stable_cronet_base_ios_cronet_buildflags__testing", 2135 "stable_cronet_base_orderfile_buildflags__testing", 2136 "stable_cronet_base_power_monitor_buildflags__testing", 2137 "stable_cronet_base_profiler_buildflags__testing", 2138 "stable_cronet_base_protected_memory_buildflags__testing", 2139 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 2140 "stable_cronet_base_sanitizer_buildflags__testing", 2141 "stable_cronet_base_synchronization_buildflags__testing", 2142 "stable_cronet_base_test_base_unittests_jni_headers__action__testing", 2143 "stable_cronet_base_test_test_rust_logger_consumer_cxx_generated_gen__testing_header", 2144 "stable_cronet_base_test_test_support_jni_headers__action__testing", 2145 "stable_cronet_base_tracing_buildflags__testing", 2146 "stable_cronet_build_blink_buildflags__testing", 2147 "stable_cronet_build_branding_buildflags__testing", 2148 "stable_cronet_build_chromecast_buildflags__testing", 2149 "stable_cronet_build_chromeos_buildflags__testing", 2150 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 2151 "stable_cronet_build_ios_buildflags__testing", 2152 "stable_cronet_build_robolectric_buildflags__testing", 2153 "stable_cronet_crypto_buildflags__testing", 2154 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains__testing", 2155 "stable_cronet_net_buildflags__testing", 2156 "stable_cronet_net_cronet_buildflags__testing", 2157 "stable_cronet_net_isolation_info_proto_gen__testing_headers", 2158 "stable_cronet_net_net_jni_headers__action__testing", 2159 "stable_cronet_net_net_nqe_proto_gen__testing_headers", 2160 "stable_cronet_net_third_party_quiche_net_quic_proto_gen__testing_headers", 2161 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers", 2162 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 2163 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 2164 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 2165 "stable_cronet_url_buildflags__testing", 2166 "stable_cronet_url_url_jni_headers__action__testing", 2167 ], 2168 export_generated_headers: [ 2169 "stable_cronet_base_allocator_buildflags__testing", 2170 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 2171 "stable_cronet_base_anchor_functions_buildflags__testing", 2172 "stable_cronet_base_build_date__testing", 2173 "stable_cronet_base_cfi_buildflags__testing", 2174 "stable_cronet_base_check_version_internal_action__testing", 2175 "stable_cronet_base_clang_profiling_buildflags__testing", 2176 "stable_cronet_base_debugging_buildflags__testing", 2177 "stable_cronet_base_feature_list_buildflags__testing", 2178 "stable_cronet_base_fuzzing_buildflags__testing", 2179 "stable_cronet_base_ios_cronet_buildflags__testing", 2180 "stable_cronet_base_orderfile_buildflags__testing", 2181 "stable_cronet_base_power_monitor_buildflags__testing", 2182 "stable_cronet_base_profiler_buildflags__testing", 2183 "stable_cronet_base_protected_memory_buildflags__testing", 2184 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 2185 "stable_cronet_base_sanitizer_buildflags__testing", 2186 "stable_cronet_base_synchronization_buildflags__testing", 2187 "stable_cronet_base_test_base_unittests_jni_headers__action__testing", 2188 "stable_cronet_base_test_test_rust_logger_consumer_cxx_generated_gen__testing_header", 2189 "stable_cronet_base_test_test_support_jni_headers__action__testing", 2190 "stable_cronet_base_tracing_buildflags__testing", 2191 "stable_cronet_build_blink_buildflags__testing", 2192 "stable_cronet_build_branding_buildflags__testing", 2193 "stable_cronet_build_chromecast_buildflags__testing", 2194 "stable_cronet_build_chromeos_buildflags__testing", 2195 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 2196 "stable_cronet_build_ios_buildflags__testing", 2197 "stable_cronet_build_robolectric_buildflags__testing", 2198 "stable_cronet_crypto_buildflags__testing", 2199 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains__testing", 2200 "stable_cronet_net_buildflags__testing", 2201 "stable_cronet_net_cronet_buildflags__testing", 2202 "stable_cronet_net_isolation_info_proto_gen__testing_headers", 2203 "stable_cronet_net_net_jni_headers__action__testing", 2204 "stable_cronet_net_net_nqe_proto_gen__testing_headers", 2205 "stable_cronet_net_third_party_quiche_net_quic_proto_gen__testing_headers", 2206 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers", 2207 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 2208 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 2209 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 2210 "stable_cronet_url_buildflags__testing", 2211 "stable_cronet_url_url_jni_headers__action__testing", 2212 ], 2213 defaults: [ 2214 "stable_cronet_cc_defaults", 2215 ], 2216 cflags: [ 2217 "-DANDROID", 2218 "-DANDROID_NDK_VERSION_ROLL=r27_1", 2219 "-DBENCHMARK_STATIC_DEFINE", 2220 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 2221 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 2222 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 2223 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 2224 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 2225 "-DGOOGLE_PROTOBUF_NO_RTTI", 2226 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 2227 "-DGTEST_API_=", 2228 "-DGTEST_HAS_ABSL", 2229 "-DGTEST_HAS_POSIX_RE=0", 2230 "-DGTEST_HAS_TR1_TUPLE=0", 2231 "-DGTEST_LANG_CXX11=1", 2232 "-DGTEST_NO_ABSL_FLAGS", 2233 "-DHAVE_PTHREAD", 2234 "-DHAVE_SYS_UIO_H", 2235 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", 2236 "-DNDEBUG", 2237 "-DNVALGRIND", 2238 "-DOFFICIAL_BUILD", 2239 "-DTMP_REBUILD_HACK", 2240 "-DUNIT_TEST", 2241 "-DUSE_CHROMIUM_ICU=1", 2242 "-DU_ENABLE_DYLOAD=0", 2243 "-DU_ENABLE_RESOURCE_TRACING=0", 2244 "-DU_ENABLE_TRACING=1", 2245 "-DU_STATIC_IMPLEMENTATION", 2246 "-DU_USING_ICU_NAMESPACE=0", 2247 "-D_GNU_SOURCE", 2248 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 2249 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 2250 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 2251 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 2252 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 2253 "-D__STDC_CONSTANT_MACROS", 2254 "-D__STDC_FORMAT_MACROS", 2255 "-fdata-sections", 2256 "-ffunction-sections", 2257 "-fstack-protector", 2258 "-fvisibility-inlines-hidden", 2259 "-fvisibility=hidden", 2260 "-g1", 2261 ], 2262 include_dirs: [ 2263 "external/cronet/stable/", 2264 "external/cronet/stable/base/allocator/partition_allocator/src/", 2265 "external/cronet/stable/buildtools/third_party/libc++/", 2266 "external/cronet/stable/net/third_party/quiche/overrides/", 2267 "external/cronet/stable/net/third_party/quiche/src/", 2268 "external/cronet/stable/net/third_party/quiche/src/quiche/common/platform/default/", 2269 "external/cronet/stable/third_party/abseil-cpp/", 2270 "external/cronet/stable/third_party/boringssl/src/include/", 2271 "external/cronet/stable/third_party/ced/src/", 2272 "external/cronet/stable/third_party/google_benchmark/src/include/", 2273 "external/cronet/stable/third_party/googletest/custom/", 2274 "external/cronet/stable/third_party/googletest/src/googlemock/include/", 2275 "external/cronet/stable/third_party/googletest/src/googletest/include/", 2276 "external/cronet/stable/third_party/icu/source/common/", 2277 "external/cronet/stable/third_party/icu/source/i18n/", 2278 "external/cronet/stable/third_party/libc++/src/include", 2279 "external/cronet/stable/third_party/libc++abi/src/include", 2280 "external/cronet/stable/third_party/protobuf/src/", 2281 "external/cronet/stable/third_party/re2/src/", 2282 ], 2283 cpp_std: "c++20", 2284 ldflags: [ 2285 "-Wl,--as-needed", 2286 "-Wl,--gc-sections", 2287 "-Wl,--icf=all", 2288 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 2289 ], 2290 visibility: [ 2291 "//external/cronet:__subpackages__", 2292 ], 2293 target: { 2294 android_arm: { 2295 cflags: [ 2296 "-D_FORTIFY_SOURCE=2", 2297 ], 2298 }, 2299 android_arm64: { 2300 cflags: [ 2301 "-D_FORTIFY_SOURCE=2", 2302 "-D__ARM_NEON__=1", 2303 "-O2", 2304 "-mno-outline", 2305 ], 2306 }, 2307 android_x86: { 2308 cflags: [ 2309 "-D_FORTIFY_SOURCE=2", 2310 "-msse3", 2311 ], 2312 }, 2313 android_x86_64: { 2314 cflags: [ 2315 "-D_FORTIFY_SOURCE=2", 2316 "-O2", 2317 "-msse3", 2318 ], 2319 }, 2320 }, 2321} 2322 2323// GN: //net/dns:tests__testing 2324cc_library_static { 2325 name: "stable_cronet_net_dns_tests__testing", 2326 srcs: [ 2327 "address_info_unittest.cc", 2328 "address_sorter_posix_unittest.cc", 2329 "address_sorter_unittest.cc", 2330 "context_host_resolver_unittest.cc", 2331 "dns_alias_utility_unittest.cc", 2332 "dns_client_unittest.cc", 2333 "dns_config_service_android_unittest.cc", 2334 "dns_config_service_unittest.cc", 2335 "dns_hosts_unittest.cc", 2336 "dns_names_util_unittest.cc", 2337 "dns_query_unittest.cc", 2338 "dns_response_result_extractor_unittest.cc", 2339 "dns_response_unittest.cc", 2340 "dns_task_results_manager_unittest.cc", 2341 "dns_transaction_unittest.cc", 2342 "dns_udp_tracker_unittest.cc", 2343 "dns_util_unittest.cc", 2344 "host_cache_unittest.cc", 2345 "host_resolver_cache_unittest.cc", 2346 "host_resolver_internal_result_unittest.cc", 2347 "host_resolver_manager_ipv6_reachability_override_unittest.cc", 2348 "host_resolver_manager_unittest.cc", 2349 "host_resolver_service_endpoint_request_unittest.cc", 2350 "https_record_rdata_unittest.cc", 2351 "httpssvc_metrics_unittest.cc", 2352 "loopback_only_unittest.cc", 2353 "mapped_host_resolver_unittest.cc", 2354 "nsswitch_reader_unittest.cc", 2355 "opt_record_rdata_unittest.cc", 2356 "record_parsed_unittest.cc", 2357 "record_rdata_unittest.cc", 2358 "resolve_context_unittest.cc", 2359 "serial_worker_unittest.cc", 2360 "stale_host_resolver_unittest.cc", 2361 "system_dns_config_change_notifier_unittest.cc", 2362 ], 2363 shared_libs: [ 2364 "libandroid", 2365 "liblog", 2366 "libprotobuf-cpp-lite", 2367 "libz", 2368 ], 2369 host_cross_supported: false, 2370 generated_headers: [ 2371 "stable_cronet_base_allocator_buildflags__testing", 2372 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 2373 "stable_cronet_base_anchor_functions_buildflags__testing", 2374 "stable_cronet_base_build_date__testing", 2375 "stable_cronet_base_cfi_buildflags__testing", 2376 "stable_cronet_base_check_version_internal_action__testing", 2377 "stable_cronet_base_clang_profiling_buildflags__testing", 2378 "stable_cronet_base_debugging_buildflags__testing", 2379 "stable_cronet_base_feature_list_buildflags__testing", 2380 "stable_cronet_base_fuzzing_buildflags__testing", 2381 "stable_cronet_base_ios_cronet_buildflags__testing", 2382 "stable_cronet_base_orderfile_buildflags__testing", 2383 "stable_cronet_base_power_monitor_buildflags__testing", 2384 "stable_cronet_base_profiler_buildflags__testing", 2385 "stable_cronet_base_protected_memory_buildflags__testing", 2386 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 2387 "stable_cronet_base_sanitizer_buildflags__testing", 2388 "stable_cronet_base_synchronization_buildflags__testing", 2389 "stable_cronet_base_test_base_unittests_jni_headers__action__testing", 2390 "stable_cronet_base_test_test_rust_logger_consumer_cxx_generated_gen__testing_header", 2391 "stable_cronet_base_test_test_support_jni_headers__action__testing", 2392 "stable_cronet_base_tracing_buildflags__testing", 2393 "stable_cronet_build_blink_buildflags__testing", 2394 "stable_cronet_build_branding_buildflags__testing", 2395 "stable_cronet_build_chromecast_buildflags__testing", 2396 "stable_cronet_build_chromeos_buildflags__testing", 2397 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 2398 "stable_cronet_build_ios_buildflags__testing", 2399 "stable_cronet_build_robolectric_buildflags__testing", 2400 "stable_cronet_crypto_buildflags__testing", 2401 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains__testing", 2402 "stable_cronet_net_buildflags__testing", 2403 "stable_cronet_net_cronet_buildflags__testing", 2404 "stable_cronet_net_http_transport_security_state_unittest_data_default__testing", 2405 "stable_cronet_net_isolation_info_proto_gen__testing_headers", 2406 "stable_cronet_net_net_jni_headers__action__testing", 2407 "stable_cronet_net_net_nqe_proto_gen__testing_headers", 2408 "stable_cronet_net_third_party_quiche_net_quic_proto_gen__testing_headers", 2409 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers", 2410 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 2411 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 2412 "stable_cronet_third_party_quic_trace_quic_trace_proto_gen__testing_headers", 2413 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 2414 "stable_cronet_url_buildflags__testing", 2415 "stable_cronet_url_url_jni_headers__action__testing", 2416 ], 2417 export_generated_headers: [ 2418 "stable_cronet_base_allocator_buildflags__testing", 2419 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 2420 "stable_cronet_base_anchor_functions_buildflags__testing", 2421 "stable_cronet_base_build_date__testing", 2422 "stable_cronet_base_cfi_buildflags__testing", 2423 "stable_cronet_base_check_version_internal_action__testing", 2424 "stable_cronet_base_clang_profiling_buildflags__testing", 2425 "stable_cronet_base_debugging_buildflags__testing", 2426 "stable_cronet_base_feature_list_buildflags__testing", 2427 "stable_cronet_base_fuzzing_buildflags__testing", 2428 "stable_cronet_base_ios_cronet_buildflags__testing", 2429 "stable_cronet_base_orderfile_buildflags__testing", 2430 "stable_cronet_base_power_monitor_buildflags__testing", 2431 "stable_cronet_base_profiler_buildflags__testing", 2432 "stable_cronet_base_protected_memory_buildflags__testing", 2433 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 2434 "stable_cronet_base_sanitizer_buildflags__testing", 2435 "stable_cronet_base_synchronization_buildflags__testing", 2436 "stable_cronet_base_test_base_unittests_jni_headers__action__testing", 2437 "stable_cronet_base_test_test_rust_logger_consumer_cxx_generated_gen__testing_header", 2438 "stable_cronet_base_test_test_support_jni_headers__action__testing", 2439 "stable_cronet_base_tracing_buildflags__testing", 2440 "stable_cronet_build_blink_buildflags__testing", 2441 "stable_cronet_build_branding_buildflags__testing", 2442 "stable_cronet_build_chromecast_buildflags__testing", 2443 "stable_cronet_build_chromeos_buildflags__testing", 2444 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 2445 "stable_cronet_build_ios_buildflags__testing", 2446 "stable_cronet_build_robolectric_buildflags__testing", 2447 "stable_cronet_crypto_buildflags__testing", 2448 "stable_cronet_net_base_registry_controlled_domains_registry_controlled_domains__testing", 2449 "stable_cronet_net_buildflags__testing", 2450 "stable_cronet_net_cronet_buildflags__testing", 2451 "stable_cronet_net_http_transport_security_state_unittest_data_default__testing", 2452 "stable_cronet_net_isolation_info_proto_gen__testing_headers", 2453 "stable_cronet_net_net_jni_headers__action__testing", 2454 "stable_cronet_net_net_nqe_proto_gen__testing_headers", 2455 "stable_cronet_net_third_party_quiche_net_quic_proto_gen__testing_headers", 2456 "stable_cronet_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers", 2457 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 2458 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 2459 "stable_cronet_third_party_quic_trace_quic_trace_proto_gen__testing_headers", 2460 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 2461 "stable_cronet_url_buildflags__testing", 2462 "stable_cronet_url_url_jni_headers__action__testing", 2463 ], 2464 defaults: [ 2465 "stable_cronet_cc_defaults", 2466 ], 2467 cflags: [ 2468 "-DANDROID", 2469 "-DANDROID_NDK_VERSION_ROLL=r27_1", 2470 "-DBENCHMARK_STATIC_DEFINE", 2471 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 2472 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 2473 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 2474 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 2475 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 2476 "-DGOOGLE_PROTOBUF_NO_RTTI", 2477 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 2478 "-DGTEST_API_=", 2479 "-DGTEST_HAS_ABSL", 2480 "-DGTEST_HAS_POSIX_RE=0", 2481 "-DGTEST_HAS_TR1_TUPLE=0", 2482 "-DGTEST_LANG_CXX11=1", 2483 "-DGTEST_NO_ABSL_FLAGS", 2484 "-DHAVE_PTHREAD", 2485 "-DHAVE_SYS_UIO_H", 2486 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE", 2487 "-DNDEBUG", 2488 "-DNVALGRIND", 2489 "-DOFFICIAL_BUILD", 2490 "-DTMP_REBUILD_HACK", 2491 "-DUNIT_TEST", 2492 "-DUSE_CHROMIUM_ICU=1", 2493 "-DUSE_REMOTE_TEST_SERVER", 2494 "-DU_ENABLE_DYLOAD=0", 2495 "-DU_ENABLE_RESOURCE_TRACING=0", 2496 "-DU_ENABLE_TRACING=1", 2497 "-DU_STATIC_IMPLEMENTATION", 2498 "-DU_USING_ICU_NAMESPACE=0", 2499 "-D_GNU_SOURCE", 2500 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 2501 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 2502 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 2503 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 2504 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 2505 "-D__STDC_CONSTANT_MACROS", 2506 "-D__STDC_FORMAT_MACROS", 2507 "-fdata-sections", 2508 "-ffunction-sections", 2509 "-fstack-protector", 2510 "-fvisibility-inlines-hidden", 2511 "-fvisibility=hidden", 2512 "-g1", 2513 ], 2514 include_dirs: [ 2515 "external/cronet/stable/", 2516 "external/cronet/stable/base/allocator/partition_allocator/src/", 2517 "external/cronet/stable/buildtools/third_party/libc++/", 2518 "external/cronet/stable/net/third_party/quiche/overrides/", 2519 "external/cronet/stable/net/third_party/quiche/src/", 2520 "external/cronet/stable/net/third_party/quiche/src/quiche/common/platform/default/", 2521 "external/cronet/stable/third_party/abseil-cpp/", 2522 "external/cronet/stable/third_party/boringssl/src/include/", 2523 "external/cronet/stable/third_party/ced/src/", 2524 "external/cronet/stable/third_party/google_benchmark/src/include/", 2525 "external/cronet/stable/third_party/googletest/custom/", 2526 "external/cronet/stable/third_party/googletest/src/googlemock/include/", 2527 "external/cronet/stable/third_party/googletest/src/googletest/include/", 2528 "external/cronet/stable/third_party/icu/source/common/", 2529 "external/cronet/stable/third_party/icu/source/i18n/", 2530 "external/cronet/stable/third_party/libc++/src/include", 2531 "external/cronet/stable/third_party/libc++abi/src/include", 2532 "external/cronet/stable/third_party/protobuf/src/", 2533 "external/cronet/stable/third_party/re2/src/", 2534 ], 2535 cpp_std: "c++20", 2536 ldflags: [ 2537 "-Wl,--as-needed", 2538 "-Wl,--gc-sections", 2539 "-Wl,--icf=all", 2540 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 2541 ], 2542 visibility: [ 2543 "//external/cronet:__subpackages__", 2544 ], 2545 target: { 2546 android_arm: { 2547 cflags: [ 2548 "-D_FORTIFY_SOURCE=2", 2549 ], 2550 }, 2551 android_arm64: { 2552 cflags: [ 2553 "-D_FORTIFY_SOURCE=2", 2554 "-D__ARM_NEON__=1", 2555 "-O2", 2556 "-mno-outline", 2557 ], 2558 }, 2559 android_x86: { 2560 cflags: [ 2561 "-D_FORTIFY_SOURCE=2", 2562 "-msse3", 2563 ], 2564 }, 2565 android_x86_64: { 2566 cflags: [ 2567 "-D_FORTIFY_SOURCE=2", 2568 "-O2", 2569 "-msse3", 2570 ], 2571 }, 2572 }, 2573} 2574