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/traffic_annotation:test_support__testing 25cc_library_static { 26 name: "tot_cronet_net_traffic_annotation_test_support__testing", 27 shared_libs: [ 28 "libandroid", 29 "liblog", 30 "libz", 31 ], 32 host_cross_supported: false, 33 generated_headers: [ 34 "tot_cronet_base_allocator_buildflags__testing", 35 "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 36 "tot_cronet_base_anchor_functions_buildflags__testing", 37 "tot_cronet_base_build_date__testing", 38 "tot_cronet_base_cfi_buildflags__testing", 39 "tot_cronet_base_check_version_internal_action__testing", 40 "tot_cronet_base_clang_profiling_buildflags__testing", 41 "tot_cronet_base_debugging_buildflags__testing", 42 "tot_cronet_base_feature_list_buildflags__testing", 43 "tot_cronet_base_fuzzing_buildflags__testing", 44 "tot_cronet_base_ios_cronet_buildflags__testing", 45 "tot_cronet_base_orderfile_buildflags__testing", 46 "tot_cronet_base_power_monitor_buildflags__testing", 47 "tot_cronet_base_profiler_buildflags__testing", 48 "tot_cronet_base_protected_memory_buildflags__testing", 49 "tot_cronet_base_rust_logger_cxx_generated_gen__testing_header", 50 "tot_cronet_base_sanitizer_buildflags__testing", 51 "tot_cronet_base_synchronization_buildflags__testing", 52 "tot_cronet_base_tracing_buildflags__testing", 53 "tot_cronet_build_blink_buildflags__testing", 54 "tot_cronet_build_branding_buildflags__testing", 55 "tot_cronet_build_chromecast_buildflags__testing", 56 "tot_cronet_build_chromeos_buildflags__testing", 57 "tot_cronet_build_config_compiler_compiler_buildflags__testing", 58 "tot_cronet_build_ios_buildflags__testing", 59 "tot_cronet_third_party_jni_zero_generate_jni__action__testing", 60 "tot_cronet_third_party_jni_zero_system_jni__action__testing", 61 "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 62 ], 63 export_generated_headers: [ 64 "tot_cronet_base_allocator_buildflags__testing", 65 "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 66 "tot_cronet_base_anchor_functions_buildflags__testing", 67 "tot_cronet_base_build_date__testing", 68 "tot_cronet_base_cfi_buildflags__testing", 69 "tot_cronet_base_check_version_internal_action__testing", 70 "tot_cronet_base_clang_profiling_buildflags__testing", 71 "tot_cronet_base_debugging_buildflags__testing", 72 "tot_cronet_base_feature_list_buildflags__testing", 73 "tot_cronet_base_fuzzing_buildflags__testing", 74 "tot_cronet_base_ios_cronet_buildflags__testing", 75 "tot_cronet_base_orderfile_buildflags__testing", 76 "tot_cronet_base_power_monitor_buildflags__testing", 77 "tot_cronet_base_profiler_buildflags__testing", 78 "tot_cronet_base_protected_memory_buildflags__testing", 79 "tot_cronet_base_rust_logger_cxx_generated_gen__testing_header", 80 "tot_cronet_base_sanitizer_buildflags__testing", 81 "tot_cronet_base_synchronization_buildflags__testing", 82 "tot_cronet_base_tracing_buildflags__testing", 83 "tot_cronet_build_blink_buildflags__testing", 84 "tot_cronet_build_branding_buildflags__testing", 85 "tot_cronet_build_chromecast_buildflags__testing", 86 "tot_cronet_build_chromeos_buildflags__testing", 87 "tot_cronet_build_config_compiler_compiler_buildflags__testing", 88 "tot_cronet_build_ios_buildflags__testing", 89 "tot_cronet_third_party_jni_zero_generate_jni__action__testing", 90 "tot_cronet_third_party_jni_zero_system_jni__action__testing", 91 "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 92 ], 93 defaults: [ 94 "tot_cronet_cc_defaults", 95 ], 96 cflags: [ 97 "-DANDROID", 98 "-DANDROID_NDK_VERSION_ROLL=r27_1", 99 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 100 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 101 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 102 "-DHAVE_SYS_UIO_H", 103 "-DNDEBUG", 104 "-DNVALGRIND", 105 "-DOFFICIAL_BUILD", 106 "-DTMP_REBUILD_HACK", 107 "-D_GNU_SOURCE", 108 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 109 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 110 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 111 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 112 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 113 "-D__STDC_CONSTANT_MACROS", 114 "-D__STDC_FORMAT_MACROS", 115 "-fdata-sections", 116 "-ffunction-sections", 117 "-fstack-protector", 118 "-fvisibility-inlines-hidden", 119 "-fvisibility=hidden", 120 "-g1", 121 ], 122 include_dirs: [ 123 "external/cronet/tot/", 124 "external/cronet/tot/buildtools/third_party/libc++/", 125 "external/cronet/tot/third_party/libc++/src/include", 126 "external/cronet/tot/third_party/libc++abi/src/include", 127 ], 128 cpp_std: "c++20", 129 ldflags: [ 130 "-Wl,--as-needed", 131 "-Wl,--gc-sections", 132 "-Wl,--icf=all", 133 "-Wl,--script,external/cronet/tot/base/android/library_loader/anchor_functions.lds", 134 ], 135 visibility: [ 136 "//external/cronet:__subpackages__", 137 ], 138 target: { 139 android_arm: { 140 cflags: [ 141 "-D_FORTIFY_SOURCE=2", 142 ], 143 }, 144 android_arm64: { 145 cflags: [ 146 "-D_FORTIFY_SOURCE=2", 147 "-D__ARM_NEON__=1", 148 "-O2", 149 "-mno-outline", 150 ], 151 }, 152 android_x86: { 153 cflags: [ 154 "-D_FORTIFY_SOURCE=2", 155 "-msse3", 156 ], 157 }, 158 android_x86_64: { 159 cflags: [ 160 "-D_FORTIFY_SOURCE=2", 161 "-O2", 162 "-msse3", 163 ], 164 }, 165 }, 166} 167 168// GN: //net/traffic_annotation:traffic_annotation 169cc_library_static { 170 name: "tot_cronet_net_traffic_annotation_traffic_annotation", 171 srcs: [ 172 "network_traffic_annotation_android.cc", 173 ], 174 shared_libs: [ 175 "libandroid", 176 "liblog", 177 "libz", 178 "tot_cronet_libcrypto", 179 "tot_cronet_libpki", 180 "tot_cronet_libssl", 181 ], 182 host_cross_supported: false, 183 generated_headers: [ 184 "tot_cronet_base_allocator_buildflags", 185 "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 186 "tot_cronet_base_anchor_functions_buildflags", 187 "tot_cronet_base_android_runtime_jni_headers__action", 188 "tot_cronet_base_base_jni__action", 189 "tot_cronet_base_base_shared_preferences_jni__action", 190 "tot_cronet_base_build_date", 191 "tot_cronet_base_callback_jni__action", 192 "tot_cronet_base_cfi_buildflags", 193 "tot_cronet_base_check_version_internal_action", 194 "tot_cronet_base_clang_profiling_buildflags", 195 "tot_cronet_base_command_line_jni__action", 196 "tot_cronet_base_content_uri_utils_jni__action", 197 "tot_cronet_base_debugging_buildflags", 198 "tot_cronet_base_feature_list_buildflags", 199 "tot_cronet_base_fuzzing_buildflags", 200 "tot_cronet_base_ios_cronet_buildflags", 201 "tot_cronet_base_jank_tracker_jni__action", 202 "tot_cronet_base_library_loader_jni__action", 203 "tot_cronet_base_memory_jni__action", 204 "tot_cronet_base_metrics_jni__action", 205 "tot_cronet_base_orderfile_buildflags", 206 "tot_cronet_base_power_monitor_buildflags", 207 "tot_cronet_base_process_launcher_jni__action", 208 "tot_cronet_base_profiler_buildflags", 209 "tot_cronet_base_protected_memory_buildflags", 210 "tot_cronet_base_rust_logger_cxx_generated_gen_header", 211 "tot_cronet_base_sanitizer_buildflags", 212 "tot_cronet_base_synchronization_buildflags", 213 "tot_cronet_base_sys_utils_jni__action", 214 "tot_cronet_base_tasks_jni__action", 215 "tot_cronet_base_tracing_buildflags", 216 "tot_cronet_build_blink_buildflags", 217 "tot_cronet_build_branding_buildflags", 218 "tot_cronet_build_chromecast_buildflags", 219 "tot_cronet_build_chromeos_buildflags", 220 "tot_cronet_build_config_compiler_compiler_buildflags", 221 "tot_cronet_build_ios_buildflags", 222 "tot_cronet_build_robolectric_buildflags", 223 "tot_cronet_third_party_jni_zero_generate_jni__action", 224 "tot_cronet_third_party_jni_zero_system_jni__action", 225 "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 226 ], 227 export_generated_headers: [ 228 "tot_cronet_base_allocator_buildflags", 229 "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 230 "tot_cronet_base_anchor_functions_buildflags", 231 "tot_cronet_base_android_runtime_jni_headers__action", 232 "tot_cronet_base_base_jni__action", 233 "tot_cronet_base_base_shared_preferences_jni__action", 234 "tot_cronet_base_build_date", 235 "tot_cronet_base_callback_jni__action", 236 "tot_cronet_base_cfi_buildflags", 237 "tot_cronet_base_check_version_internal_action", 238 "tot_cronet_base_clang_profiling_buildflags", 239 "tot_cronet_base_command_line_jni__action", 240 "tot_cronet_base_content_uri_utils_jni__action", 241 "tot_cronet_base_debugging_buildflags", 242 "tot_cronet_base_feature_list_buildflags", 243 "tot_cronet_base_fuzzing_buildflags", 244 "tot_cronet_base_ios_cronet_buildflags", 245 "tot_cronet_base_jank_tracker_jni__action", 246 "tot_cronet_base_library_loader_jni__action", 247 "tot_cronet_base_memory_jni__action", 248 "tot_cronet_base_metrics_jni__action", 249 "tot_cronet_base_orderfile_buildflags", 250 "tot_cronet_base_power_monitor_buildflags", 251 "tot_cronet_base_process_launcher_jni__action", 252 "tot_cronet_base_profiler_buildflags", 253 "tot_cronet_base_protected_memory_buildflags", 254 "tot_cronet_base_rust_logger_cxx_generated_gen_header", 255 "tot_cronet_base_sanitizer_buildflags", 256 "tot_cronet_base_synchronization_buildflags", 257 "tot_cronet_base_sys_utils_jni__action", 258 "tot_cronet_base_tasks_jni__action", 259 "tot_cronet_base_tracing_buildflags", 260 "tot_cronet_build_blink_buildflags", 261 "tot_cronet_build_branding_buildflags", 262 "tot_cronet_build_chromecast_buildflags", 263 "tot_cronet_build_chromeos_buildflags", 264 "tot_cronet_build_config_compiler_compiler_buildflags", 265 "tot_cronet_build_ios_buildflags", 266 "tot_cronet_build_robolectric_buildflags", 267 "tot_cronet_third_party_jni_zero_generate_jni__action", 268 "tot_cronet_third_party_jni_zero_system_jni__action", 269 "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 270 ], 271 defaults: [ 272 "tot_cronet_cc_defaults", 273 ], 274 cflags: [ 275 "-DANDROID", 276 "-DANDROID_NDK_VERSION_ROLL=r27_1", 277 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 278 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 279 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 280 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 281 "-DHAVE_SYS_UIO_H", 282 "-DNDEBUG", 283 "-DNVALGRIND", 284 "-DOFFICIAL_BUILD", 285 "-DTMP_REBUILD_HACK", 286 "-D_GNU_SOURCE", 287 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 288 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 289 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 290 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 291 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 292 "-D__STDC_CONSTANT_MACROS", 293 "-D__STDC_FORMAT_MACROS", 294 "-fdata-sections", 295 "-ffunction-sections", 296 "-fstack-protector", 297 "-fvisibility-inlines-hidden", 298 "-fvisibility=hidden", 299 "-g1", 300 ], 301 include_dirs: [ 302 "external/cronet/tot/", 303 "external/cronet/tot/base/allocator/partition_allocator/src/", 304 "external/cronet/tot/buildtools/third_party/libc++/", 305 "external/cronet/tot/third_party/abseil-cpp/", 306 "external/cronet/tot/third_party/boringssl/src/include/", 307 "external/cronet/tot/third_party/libc++/src/include", 308 "external/cronet/tot/third_party/libc++abi/src/include", 309 ], 310 cpp_std: "c++20", 311 ldflags: [ 312 "-Wl,--as-needed", 313 "-Wl,--gc-sections", 314 "-Wl,--icf=all", 315 "-Wl,--script,external/cronet/tot/base/android/library_loader/anchor_functions.lds", 316 ], 317 visibility: [ 318 "//external/cronet:__subpackages__", 319 ], 320 target: { 321 android_arm: { 322 cflags: [ 323 "-D_FORTIFY_SOURCE=2", 324 ], 325 }, 326 android_arm64: { 327 cflags: [ 328 "-D_FORTIFY_SOURCE=2", 329 "-D__ARM_NEON__=1", 330 "-O2", 331 "-mno-outline", 332 ], 333 }, 334 android_x86: { 335 cflags: [ 336 "-D_FORTIFY_SOURCE=2", 337 "-msse3", 338 ], 339 }, 340 android_x86_64: { 341 cflags: [ 342 "-D_FORTIFY_SOURCE=2", 343 "-O2", 344 "-msse3", 345 ], 346 }, 347 }, 348} 349 350// GN: //net/traffic_annotation:traffic_annotation__testing 351cc_library_static { 352 name: "tot_cronet_net_traffic_annotation_traffic_annotation__testing", 353 srcs: [ 354 "network_traffic_annotation_android.cc", 355 ], 356 shared_libs: [ 357 "libandroid", 358 "liblog", 359 "libz", 360 ], 361 host_cross_supported: false, 362 generated_headers: [ 363 "tot_cronet_base_allocator_buildflags__testing", 364 "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 365 "tot_cronet_base_anchor_functions_buildflags__testing", 366 "tot_cronet_base_build_date__testing", 367 "tot_cronet_base_cfi_buildflags__testing", 368 "tot_cronet_base_check_version_internal_action__testing", 369 "tot_cronet_base_clang_profiling_buildflags__testing", 370 "tot_cronet_base_debugging_buildflags__testing", 371 "tot_cronet_base_feature_list_buildflags__testing", 372 "tot_cronet_base_fuzzing_buildflags__testing", 373 "tot_cronet_base_ios_cronet_buildflags__testing", 374 "tot_cronet_base_orderfile_buildflags__testing", 375 "tot_cronet_base_power_monitor_buildflags__testing", 376 "tot_cronet_base_profiler_buildflags__testing", 377 "tot_cronet_base_protected_memory_buildflags__testing", 378 "tot_cronet_base_rust_logger_cxx_generated_gen__testing_header", 379 "tot_cronet_base_sanitizer_buildflags__testing", 380 "tot_cronet_base_synchronization_buildflags__testing", 381 "tot_cronet_base_tracing_buildflags__testing", 382 "tot_cronet_build_blink_buildflags__testing", 383 "tot_cronet_build_branding_buildflags__testing", 384 "tot_cronet_build_chromecast_buildflags__testing", 385 "tot_cronet_build_chromeos_buildflags__testing", 386 "tot_cronet_build_config_compiler_compiler_buildflags__testing", 387 "tot_cronet_build_ios_buildflags__testing", 388 "tot_cronet_third_party_jni_zero_generate_jni__action__testing", 389 "tot_cronet_third_party_jni_zero_system_jni__action__testing", 390 "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 391 ], 392 export_generated_headers: [ 393 "tot_cronet_base_allocator_buildflags__testing", 394 "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 395 "tot_cronet_base_anchor_functions_buildflags__testing", 396 "tot_cronet_base_build_date__testing", 397 "tot_cronet_base_cfi_buildflags__testing", 398 "tot_cronet_base_check_version_internal_action__testing", 399 "tot_cronet_base_clang_profiling_buildflags__testing", 400 "tot_cronet_base_debugging_buildflags__testing", 401 "tot_cronet_base_feature_list_buildflags__testing", 402 "tot_cronet_base_fuzzing_buildflags__testing", 403 "tot_cronet_base_ios_cronet_buildflags__testing", 404 "tot_cronet_base_orderfile_buildflags__testing", 405 "tot_cronet_base_power_monitor_buildflags__testing", 406 "tot_cronet_base_profiler_buildflags__testing", 407 "tot_cronet_base_protected_memory_buildflags__testing", 408 "tot_cronet_base_rust_logger_cxx_generated_gen__testing_header", 409 "tot_cronet_base_sanitizer_buildflags__testing", 410 "tot_cronet_base_synchronization_buildflags__testing", 411 "tot_cronet_base_tracing_buildflags__testing", 412 "tot_cronet_build_blink_buildflags__testing", 413 "tot_cronet_build_branding_buildflags__testing", 414 "tot_cronet_build_chromecast_buildflags__testing", 415 "tot_cronet_build_chromeos_buildflags__testing", 416 "tot_cronet_build_config_compiler_compiler_buildflags__testing", 417 "tot_cronet_build_ios_buildflags__testing", 418 "tot_cronet_third_party_jni_zero_generate_jni__action__testing", 419 "tot_cronet_third_party_jni_zero_system_jni__action__testing", 420 "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 421 ], 422 defaults: [ 423 "tot_cronet_cc_defaults", 424 ], 425 cflags: [ 426 "-DANDROID", 427 "-DANDROID_NDK_VERSION_ROLL=r27_1", 428 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 429 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 430 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 431 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 432 "-DHAVE_SYS_UIO_H", 433 "-DNDEBUG", 434 "-DNVALGRIND", 435 "-DOFFICIAL_BUILD", 436 "-DTMP_REBUILD_HACK", 437 "-D_GNU_SOURCE", 438 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 439 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 440 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 441 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 442 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 443 "-D__STDC_CONSTANT_MACROS", 444 "-D__STDC_FORMAT_MACROS", 445 "-fdata-sections", 446 "-ffunction-sections", 447 "-fstack-protector", 448 "-fvisibility-inlines-hidden", 449 "-fvisibility=hidden", 450 "-g1", 451 ], 452 include_dirs: [ 453 "external/cronet/tot/", 454 "external/cronet/tot/base/allocator/partition_allocator/src/", 455 "external/cronet/tot/buildtools/third_party/libc++/", 456 "external/cronet/tot/third_party/abseil-cpp/", 457 "external/cronet/tot/third_party/boringssl/src/include/", 458 "external/cronet/tot/third_party/libc++/src/include", 459 "external/cronet/tot/third_party/libc++abi/src/include", 460 ], 461 cpp_std: "c++20", 462 ldflags: [ 463 "-Wl,--as-needed", 464 "-Wl,--gc-sections", 465 "-Wl,--icf=all", 466 "-Wl,--script,external/cronet/tot/base/android/library_loader/anchor_functions.lds", 467 ], 468 visibility: [ 469 "//external/cronet:__subpackages__", 470 ], 471 target: { 472 android_arm: { 473 cflags: [ 474 "-D_FORTIFY_SOURCE=2", 475 ], 476 }, 477 android_arm64: { 478 cflags: [ 479 "-D_FORTIFY_SOURCE=2", 480 "-D__ARM_NEON__=1", 481 "-O2", 482 "-mno-outline", 483 ], 484 }, 485 android_x86: { 486 cflags: [ 487 "-D_FORTIFY_SOURCE=2", 488 "-msse3", 489 ], 490 }, 491 android_x86_64: { 492 cflags: [ 493 "-D_FORTIFY_SOURCE=2", 494 "-O2", 495 "-msse3", 496 ], 497 }, 498 }, 499} 500