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