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 gn2bp/gen_android_bp.py. Do not edit. 16 17// GN: Package-Artificial 18package { 19 default_applicable_licenses: [ 20 "external_cronet_third_party_protobuf_license", 21 ], 22} 23 24// GN: License-Artificial 25license { 26 name: "external_cronet_third_party_protobuf_license", 27 visibility: [ 28 ":__subpackages__", 29 ], 30 license_text: [ 31 "LICENSE", 32 ], 33 license_kinds: [ 34 "SPDX-license-identifier-BSD", 35 ], 36} 37 38// GN: //third_party/protobuf:protobuf_full 39cc_library_static { 40 name: "cronet_aml_third_party_protobuf_protobuf_full", 41 srcs: [ 42 "src/google/protobuf/any.cc", 43 "src/google/protobuf/any.pb.cc", 44 "src/google/protobuf/api.pb.cc", 45 "src/google/protobuf/compiler/importer.cc", 46 "src/google/protobuf/compiler/parser.cc", 47 "src/google/protobuf/descriptor.cc", 48 "src/google/protobuf/descriptor.pb.cc", 49 "src/google/protobuf/descriptor_database.cc", 50 "src/google/protobuf/duration.pb.cc", 51 "src/google/protobuf/dynamic_message.cc", 52 "src/google/protobuf/empty.pb.cc", 53 "src/google/protobuf/extension_set_heavy.cc", 54 "src/google/protobuf/field_mask.pb.cc", 55 "src/google/protobuf/generated_message_bases.cc", 56 "src/google/protobuf/generated_message_reflection.cc", 57 "src/google/protobuf/generated_message_tctable_full.cc", 58 "src/google/protobuf/io/gzip_stream.cc", 59 "src/google/protobuf/io/printer.cc", 60 "src/google/protobuf/io/tokenizer.cc", 61 "src/google/protobuf/map_field.cc", 62 "src/google/protobuf/message.cc", 63 "src/google/protobuf/reflection_ops.cc", 64 "src/google/protobuf/service.cc", 65 "src/google/protobuf/source_context.pb.cc", 66 "src/google/protobuf/struct.pb.cc", 67 "src/google/protobuf/stubs/substitute.cc", 68 "src/google/protobuf/text_format.cc", 69 "src/google/protobuf/timestamp.pb.cc", 70 "src/google/protobuf/type.pb.cc", 71 "src/google/protobuf/unknown_field_set.cc", 72 "src/google/protobuf/util/delimited_message_util.cc", 73 "src/google/protobuf/util/field_comparator.cc", 74 "src/google/protobuf/util/field_mask_util.cc", 75 "src/google/protobuf/util/internal/datapiece.cc", 76 "src/google/protobuf/util/internal/default_value_objectwriter.cc", 77 "src/google/protobuf/util/internal/error_listener.cc", 78 "src/google/protobuf/util/internal/field_mask_utility.cc", 79 "src/google/protobuf/util/internal/json_escaping.cc", 80 "src/google/protobuf/util/internal/json_objectwriter.cc", 81 "src/google/protobuf/util/internal/json_stream_parser.cc", 82 "src/google/protobuf/util/internal/object_writer.cc", 83 "src/google/protobuf/util/internal/proto_writer.cc", 84 "src/google/protobuf/util/internal/protostream_objectsource.cc", 85 "src/google/protobuf/util/internal/protostream_objectwriter.cc", 86 "src/google/protobuf/util/internal/type_info.cc", 87 "src/google/protobuf/util/internal/utility.cc", 88 "src/google/protobuf/util/json_util.cc", 89 "src/google/protobuf/util/message_differencer.cc", 90 "src/google/protobuf/util/time_util.cc", 91 "src/google/protobuf/util/type_resolver_util.cc", 92 "src/google/protobuf/wire_format.cc", 93 "src/google/protobuf/wrappers.pb.cc", 94 ], 95 shared_libs: [ 96 "libz", 97 ], 98 host_supported: true, 99 device_supported: false, 100 defaults: [ 101 "cronet_aml_cc_defaults", 102 ], 103 cflags: [ 104 "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", 105 "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", 106 "-DCR_SYSROOT_KEY=20230611T210420Z-2", 107 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 108 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 109 "-DGOOGLE_PROTOBUF_NO_RTTI", 110 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 111 "-DHAVE_PTHREAD", 112 "-DHAVE_ZLIB", 113 "-DNDEBUG", 114 "-DNO_UNWIND_TABLES", 115 "-DNVALGRIND", 116 "-DOFFICIAL_BUILD", 117 "-DUSE_AURA=1", 118 "-DUSE_OZONE=1", 119 "-DUSE_UDEV", 120 "-D_FILE_OFFSET_BITS=64", 121 "-D_GNU_SOURCE", 122 "-D_LARGEFILE64_SOURCE", 123 "-D_LARGEFILE_SOURCE", 124 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 125 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 126 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 127 "-O2", 128 "-fdata-sections", 129 "-ffunction-sections", 130 "-fno-asynchronous-unwind-tables", 131 "-fno-unwind-tables", 132 "-fstack-protector", 133 "-fvisibility-inlines-hidden", 134 "-fvisibility=hidden", 135 "-g1", 136 "-msse3", 137 ], 138 include_dirs: [ 139 "external/cronet/", 140 "external/cronet/buildtools/third_party/libc++/", 141 "external/cronet/third_party/libc++/src/include", 142 "external/cronet/third_party/libc++abi/src/include", 143 "external/cronet/third_party/protobuf/src/", 144 ], 145 cpp_std: "c++20", 146 ldflags: [ 147 "-Wl,--as-needed", 148 "-Wl,--gc-sections", 149 "-Wl,--icf=all", 150 ], 151 visibility: [ 152 "//external/cronet:__subpackages__", 153 ], 154} 155 156// GN: //third_party/protobuf:protobuf_full__testing 157cc_library_static { 158 name: "cronet_aml_third_party_protobuf_protobuf_full__testing", 159 srcs: [ 160 "src/google/protobuf/any.cc", 161 "src/google/protobuf/any.pb.cc", 162 "src/google/protobuf/api.pb.cc", 163 "src/google/protobuf/compiler/importer.cc", 164 "src/google/protobuf/compiler/parser.cc", 165 "src/google/protobuf/descriptor.cc", 166 "src/google/protobuf/descriptor.pb.cc", 167 "src/google/protobuf/descriptor_database.cc", 168 "src/google/protobuf/duration.pb.cc", 169 "src/google/protobuf/dynamic_message.cc", 170 "src/google/protobuf/empty.pb.cc", 171 "src/google/protobuf/extension_set_heavy.cc", 172 "src/google/protobuf/field_mask.pb.cc", 173 "src/google/protobuf/generated_message_bases.cc", 174 "src/google/protobuf/generated_message_reflection.cc", 175 "src/google/protobuf/generated_message_tctable_full.cc", 176 "src/google/protobuf/io/gzip_stream.cc", 177 "src/google/protobuf/io/printer.cc", 178 "src/google/protobuf/io/tokenizer.cc", 179 "src/google/protobuf/map_field.cc", 180 "src/google/protobuf/message.cc", 181 "src/google/protobuf/reflection_ops.cc", 182 "src/google/protobuf/service.cc", 183 "src/google/protobuf/source_context.pb.cc", 184 "src/google/protobuf/struct.pb.cc", 185 "src/google/protobuf/stubs/substitute.cc", 186 "src/google/protobuf/text_format.cc", 187 "src/google/protobuf/timestamp.pb.cc", 188 "src/google/protobuf/type.pb.cc", 189 "src/google/protobuf/unknown_field_set.cc", 190 "src/google/protobuf/util/delimited_message_util.cc", 191 "src/google/protobuf/util/field_comparator.cc", 192 "src/google/protobuf/util/field_mask_util.cc", 193 "src/google/protobuf/util/internal/datapiece.cc", 194 "src/google/protobuf/util/internal/default_value_objectwriter.cc", 195 "src/google/protobuf/util/internal/error_listener.cc", 196 "src/google/protobuf/util/internal/field_mask_utility.cc", 197 "src/google/protobuf/util/internal/json_escaping.cc", 198 "src/google/protobuf/util/internal/json_objectwriter.cc", 199 "src/google/protobuf/util/internal/json_stream_parser.cc", 200 "src/google/protobuf/util/internal/object_writer.cc", 201 "src/google/protobuf/util/internal/proto_writer.cc", 202 "src/google/protobuf/util/internal/protostream_objectsource.cc", 203 "src/google/protobuf/util/internal/protostream_objectwriter.cc", 204 "src/google/protobuf/util/internal/type_info.cc", 205 "src/google/protobuf/util/internal/utility.cc", 206 "src/google/protobuf/util/json_util.cc", 207 "src/google/protobuf/util/message_differencer.cc", 208 "src/google/protobuf/util/time_util.cc", 209 "src/google/protobuf/util/type_resolver_util.cc", 210 "src/google/protobuf/wire_format.cc", 211 "src/google/protobuf/wrappers.pb.cc", 212 ], 213 shared_libs: [ 214 "libz", 215 ], 216 host_supported: true, 217 defaults: [ 218 "cronet_aml_cc_defaults", 219 ], 220 cflags: [ 221 "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", 222 "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", 223 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 224 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 225 "-DGOOGLE_PROTOBUF_NO_RTTI", 226 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 227 "-DHAVE_PTHREAD", 228 "-DHAVE_ZLIB", 229 "-DNDEBUG", 230 "-DNO_UNWIND_TABLES", 231 "-DNVALGRIND", 232 "-DOFFICIAL_BUILD", 233 "-D_GNU_SOURCE", 234 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 235 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 236 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 237 "-fdata-sections", 238 "-ffunction-sections", 239 "-fno-asynchronous-unwind-tables", 240 "-fno-unwind-tables", 241 "-fstack-protector", 242 "-fvisibility-inlines-hidden", 243 "-fvisibility=hidden", 244 "-g1", 245 ], 246 include_dirs: [ 247 "external/cronet/", 248 "external/cronet/buildtools/third_party/libc++/", 249 "external/cronet/third_party/libc++/src/include", 250 "external/cronet/third_party/libc++abi/src/include", 251 "external/cronet/third_party/protobuf/src/", 252 ], 253 cpp_std: "c++20", 254 ldflags: [ 255 "-Wl,--as-needed", 256 "-Wl,--gc-sections", 257 "-Wl,--icf=all", 258 ], 259 visibility: [ 260 "//external/cronet:__subpackages__", 261 ], 262 target: { 263 android: { 264 shared_libs: [ 265 "liblog", 266 ], 267 }, 268 android_arm: { 269 cflags: [ 270 "-DANDROID", 271 "-DANDROID_NDK_VERSION_ROLL=r26b_1", 272 "-DHAVE_SYS_UIO_H", 273 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 274 ], 275 }, 276 android_arm64: { 277 cflags: [ 278 "-DANDROID", 279 "-DANDROID_NDK_VERSION_ROLL=r26b_1", 280 "-DHAVE_SYS_UIO_H", 281 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 282 "-O2", 283 "-mno-outline", 284 ], 285 }, 286 android_riscv64: { 287 cflags: [ 288 "-DANDROID", 289 "-DANDROID_NDK_VERSION_ROLL=r26b_1", 290 "-DHAVE_SYS_UIO_H", 291 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 292 ], 293 }, 294 android_x86: { 295 cflags: [ 296 "-DANDROID", 297 "-DANDROID_NDK_VERSION_ROLL=r26b_1", 298 "-DHAVE_SYS_UIO_H", 299 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 300 "-msse3", 301 ], 302 }, 303 android_x86_64: { 304 cflags: [ 305 "-DANDROID", 306 "-DANDROID_NDK_VERSION_ROLL=r26b_1", 307 "-DHAVE_SYS_UIO_H", 308 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 309 "-msse3", 310 ], 311 }, 312 host: { 313 cflags: [ 314 "-DCR_SYSROOT_KEY=20230611T210420Z-2", 315 "-DUSE_AURA=1", 316 "-DUSE_OZONE=1", 317 "-DUSE_UDEV", 318 "-D_FILE_OFFSET_BITS=64", 319 "-D_LARGEFILE64_SOURCE", 320 "-D_LARGEFILE_SOURCE", 321 "-O2", 322 "-msse3", 323 ], 324 compile_multilib: "64", 325 }, 326 }, 327} 328 329// GN: //third_party/protobuf:protobuf_lite 330cc_library_static { 331 name: "cronet_aml_third_party_protobuf_protobuf_lite", 332 srcs: [ 333 "src/google/protobuf/any_lite.cc", 334 "src/google/protobuf/arena.cc", 335 "src/google/protobuf/arenastring.cc", 336 "src/google/protobuf/arenaz_sampler.cc", 337 "src/google/protobuf/extension_set.cc", 338 "src/google/protobuf/generated_enum_util.cc", 339 "src/google/protobuf/generated_message_tctable_lite.cc", 340 "src/google/protobuf/generated_message_util.cc", 341 "src/google/protobuf/implicit_weak_message.cc", 342 "src/google/protobuf/inlined_string_field.cc", 343 "src/google/protobuf/io/coded_stream.cc", 344 "src/google/protobuf/io/io_win32.cc", 345 "src/google/protobuf/io/strtod.cc", 346 "src/google/protobuf/io/zero_copy_stream.cc", 347 "src/google/protobuf/io/zero_copy_stream_impl.cc", 348 "src/google/protobuf/io/zero_copy_stream_impl_lite.cc", 349 "src/google/protobuf/map.cc", 350 "src/google/protobuf/message_lite.cc", 351 "src/google/protobuf/parse_context.cc", 352 "src/google/protobuf/repeated_field.cc", 353 "src/google/protobuf/repeated_ptr_field.cc", 354 "src/google/protobuf/stubs/bytestream.cc", 355 "src/google/protobuf/stubs/common.cc", 356 "src/google/protobuf/stubs/int128.cc", 357 "src/google/protobuf/stubs/status.cc", 358 "src/google/protobuf/stubs/statusor.cc", 359 "src/google/protobuf/stubs/stringpiece.cc", 360 "src/google/protobuf/stubs/stringprintf.cc", 361 "src/google/protobuf/stubs/structurally_valid.cc", 362 "src/google/protobuf/stubs/strutil.cc", 363 "src/google/protobuf/stubs/time.cc", 364 "src/google/protobuf/wire_format_lite.cc", 365 ], 366 host_supported: true, 367 defaults: [ 368 "cronet_aml_cc_defaults", 369 ], 370 cflags: [ 371 "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", 372 "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", 373 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 374 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 375 "-DGOOGLE_PROTOBUF_NO_RTTI", 376 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 377 "-DHAVE_PTHREAD", 378 "-DNDEBUG", 379 "-DNO_UNWIND_TABLES", 380 "-DNVALGRIND", 381 "-DOFFICIAL_BUILD", 382 "-D_GNU_SOURCE", 383 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 384 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 385 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 386 "-O2", 387 "-fdata-sections", 388 "-ffunction-sections", 389 "-fno-asynchronous-unwind-tables", 390 "-fno-unwind-tables", 391 "-fstack-protector", 392 "-fvisibility-inlines-hidden", 393 "-fvisibility=hidden", 394 "-g1", 395 ], 396 include_dirs: [ 397 "external/cronet/", 398 "external/cronet/buildtools/third_party/libc++/", 399 "external/cronet/third_party/libc++/src/include", 400 "external/cronet/third_party/libc++abi/src/include", 401 "external/cronet/third_party/protobuf/src/", 402 ], 403 cpp_std: "c++20", 404 ldflags: [ 405 "-Wl,--as-needed", 406 "-Wl,--gc-sections", 407 "-Wl,--icf=all", 408 ], 409 visibility: [ 410 "//external/cronet:__subpackages__", 411 ], 412 target: { 413 android: { 414 shared_libs: [ 415 "liblog", 416 ], 417 }, 418 android_arm: { 419 cflags: [ 420 "-DANDROID", 421 "-DANDROID_NDK_VERSION_ROLL=r26b_1", 422 "-DHAVE_SYS_UIO_H", 423 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 424 ], 425 }, 426 android_arm64: { 427 cflags: [ 428 "-DANDROID", 429 "-DANDROID_NDK_VERSION_ROLL=r26b_1", 430 "-DHAVE_SYS_UIO_H", 431 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 432 "-mno-outline", 433 ], 434 }, 435 android_riscv64: { 436 cflags: [ 437 "-DANDROID", 438 "-DANDROID_NDK_VERSION_ROLL=r26b_1", 439 "-DHAVE_SYS_UIO_H", 440 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 441 ], 442 }, 443 android_x86: { 444 cflags: [ 445 "-DANDROID", 446 "-DANDROID_NDK_VERSION_ROLL=r26b_1", 447 "-DHAVE_SYS_UIO_H", 448 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 449 "-msse3", 450 ], 451 }, 452 android_x86_64: { 453 cflags: [ 454 "-DANDROID", 455 "-DANDROID_NDK_VERSION_ROLL=r26b_1", 456 "-DHAVE_SYS_UIO_H", 457 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 458 "-msse3", 459 ], 460 }, 461 host: { 462 cflags: [ 463 "-DCR_SYSROOT_KEY=20230611T210420Z-2", 464 "-DUSE_AURA=1", 465 "-DUSE_OZONE=1", 466 "-DUSE_UDEV", 467 "-D_FILE_OFFSET_BITS=64", 468 "-D_LARGEFILE64_SOURCE", 469 "-D_LARGEFILE_SOURCE", 470 "-msse3", 471 ], 472 compile_multilib: "64", 473 }, 474 }, 475} 476 477// GN: //third_party/protobuf:protobuf_lite__testing 478cc_library_static { 479 name: "cronet_aml_third_party_protobuf_protobuf_lite__testing", 480 srcs: [ 481 "src/google/protobuf/any_lite.cc", 482 "src/google/protobuf/arena.cc", 483 "src/google/protobuf/arenastring.cc", 484 "src/google/protobuf/arenaz_sampler.cc", 485 "src/google/protobuf/extension_set.cc", 486 "src/google/protobuf/generated_enum_util.cc", 487 "src/google/protobuf/generated_message_tctable_lite.cc", 488 "src/google/protobuf/generated_message_util.cc", 489 "src/google/protobuf/implicit_weak_message.cc", 490 "src/google/protobuf/inlined_string_field.cc", 491 "src/google/protobuf/io/coded_stream.cc", 492 "src/google/protobuf/io/io_win32.cc", 493 "src/google/protobuf/io/strtod.cc", 494 "src/google/protobuf/io/zero_copy_stream.cc", 495 "src/google/protobuf/io/zero_copy_stream_impl.cc", 496 "src/google/protobuf/io/zero_copy_stream_impl_lite.cc", 497 "src/google/protobuf/map.cc", 498 "src/google/protobuf/message_lite.cc", 499 "src/google/protobuf/parse_context.cc", 500 "src/google/protobuf/repeated_field.cc", 501 "src/google/protobuf/repeated_ptr_field.cc", 502 "src/google/protobuf/stubs/bytestream.cc", 503 "src/google/protobuf/stubs/common.cc", 504 "src/google/protobuf/stubs/int128.cc", 505 "src/google/protobuf/stubs/status.cc", 506 "src/google/protobuf/stubs/statusor.cc", 507 "src/google/protobuf/stubs/stringpiece.cc", 508 "src/google/protobuf/stubs/stringprintf.cc", 509 "src/google/protobuf/stubs/structurally_valid.cc", 510 "src/google/protobuf/stubs/strutil.cc", 511 "src/google/protobuf/stubs/time.cc", 512 "src/google/protobuf/wire_format_lite.cc", 513 ], 514 host_supported: true, 515 defaults: [ 516 "cronet_aml_cc_defaults", 517 ], 518 cflags: [ 519 "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", 520 "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", 521 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 522 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 523 "-DGOOGLE_PROTOBUF_NO_RTTI", 524 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 525 "-DHAVE_PTHREAD", 526 "-DNDEBUG", 527 "-DNO_UNWIND_TABLES", 528 "-DNVALGRIND", 529 "-DOFFICIAL_BUILD", 530 "-D_GNU_SOURCE", 531 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 532 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 533 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 534 "-O2", 535 "-fdata-sections", 536 "-ffunction-sections", 537 "-fno-asynchronous-unwind-tables", 538 "-fno-unwind-tables", 539 "-fstack-protector", 540 "-fvisibility-inlines-hidden", 541 "-fvisibility=hidden", 542 "-g1", 543 ], 544 include_dirs: [ 545 "external/cronet/", 546 "external/cronet/buildtools/third_party/libc++/", 547 "external/cronet/third_party/libc++/src/include", 548 "external/cronet/third_party/libc++abi/src/include", 549 "external/cronet/third_party/protobuf/src/", 550 ], 551 cpp_std: "c++20", 552 ldflags: [ 553 "-Wl,--as-needed", 554 "-Wl,--gc-sections", 555 "-Wl,--icf=all", 556 ], 557 visibility: [ 558 "//external/cronet:__subpackages__", 559 ], 560 target: { 561 android: { 562 shared_libs: [ 563 "liblog", 564 ], 565 }, 566 android_arm: { 567 cflags: [ 568 "-DANDROID", 569 "-DANDROID_NDK_VERSION_ROLL=r26b_1", 570 "-DHAVE_SYS_UIO_H", 571 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 572 ], 573 }, 574 android_arm64: { 575 cflags: [ 576 "-DANDROID", 577 "-DANDROID_NDK_VERSION_ROLL=r26b_1", 578 "-DHAVE_SYS_UIO_H", 579 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 580 "-mno-outline", 581 ], 582 }, 583 android_riscv64: { 584 cflags: [ 585 "-DANDROID", 586 "-DANDROID_NDK_VERSION_ROLL=r26b_1", 587 "-DHAVE_SYS_UIO_H", 588 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 589 ], 590 }, 591 android_x86: { 592 cflags: [ 593 "-DANDROID", 594 "-DANDROID_NDK_VERSION_ROLL=r26b_1", 595 "-DHAVE_SYS_UIO_H", 596 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 597 "-msse3", 598 ], 599 }, 600 android_x86_64: { 601 cflags: [ 602 "-DANDROID", 603 "-DANDROID_NDK_VERSION_ROLL=r26b_1", 604 "-DHAVE_SYS_UIO_H", 605 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 606 "-msse3", 607 ], 608 }, 609 host: { 610 cflags: [ 611 "-DCR_SYSROOT_KEY=20230611T210420Z-2", 612 "-DUSE_AURA=1", 613 "-DUSE_OZONE=1", 614 "-DUSE_UDEV", 615 "-D_FILE_OFFSET_BITS=64", 616 "-D_LARGEFILE64_SOURCE", 617 "-D_LARGEFILE_SOURCE", 618 "-msse3", 619 ], 620 compile_multilib: "64", 621 }, 622 }, 623} 624 625// GN: //third_party/protobuf:protoc 626cc_binary { 627 name: "cronet_aml_third_party_protobuf_protoc", 628 srcs: [ 629 "src/google/protobuf/compiler/main.cc", 630 ], 631 shared_libs: [ 632 "libz", 633 ], 634 whole_static_libs: [ 635 "cronet_aml_buildtools_third_party_libc___libc__", 636 "cronet_aml_buildtools_third_party_libc__abi_libc__abi", 637 "cronet_aml_third_party_protobuf_protobuf_full", 638 "cronet_aml_third_party_protobuf_protobuf_lite", 639 "cronet_aml_third_party_protobuf_protoc_java", 640 "cronet_aml_third_party_protobuf_protoc_lib", 641 "cronet_aml_third_party_protobuf_protoc_python", 642 ], 643 host_supported: true, 644 device_supported: false, 645 defaults: [ 646 "cronet_aml_cc_defaults", 647 ], 648 cflags: [ 649 "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", 650 "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", 651 "-DCR_SYSROOT_KEY=20230611T210420Z-2", 652 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 653 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 654 "-DGOOGLE_PROTOBUF_NO_RTTI", 655 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 656 "-DHAVE_PTHREAD", 657 "-DNDEBUG", 658 "-DNO_UNWIND_TABLES", 659 "-DNVALGRIND", 660 "-DOFFICIAL_BUILD", 661 "-DUSE_AURA=1", 662 "-DUSE_OZONE=1", 663 "-DUSE_UDEV", 664 "-D_FILE_OFFSET_BITS=64", 665 "-D_GNU_SOURCE", 666 "-D_LARGEFILE64_SOURCE", 667 "-D_LARGEFILE_SOURCE", 668 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 669 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 670 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 671 "-O2", 672 "-fdata-sections", 673 "-ffunction-sections", 674 "-fno-asynchronous-unwind-tables", 675 "-fno-unwind-tables", 676 "-fstack-protector", 677 "-fvisibility-inlines-hidden", 678 "-fvisibility=hidden", 679 "-g1", 680 "-msse3", 681 ], 682 include_dirs: [ 683 "external/cronet/", 684 "external/cronet/buildtools/third_party/libc++/", 685 "external/cronet/third_party/libc++/src/include", 686 "external/cronet/third_party/libc++abi/src/include", 687 "external/cronet/third_party/protobuf/src/", 688 ], 689 cpp_std: "c++20", 690 ldflags: [ 691 "-Wl,--as-needed", 692 "-Wl,--gc-sections", 693 "-Wl,--icf=all", 694 ], 695 visibility: [ 696 "//external/cronet:__subpackages__", 697 ], 698} 699 700// GN: //third_party/protobuf:protoc__testing 701cc_binary { 702 name: "cronet_aml_third_party_protobuf_protoc__testing", 703 srcs: [ 704 "src/google/protobuf/compiler/main.cc", 705 ], 706 shared_libs: [ 707 "libz", 708 ], 709 whole_static_libs: [ 710 "cronet_aml_buildtools_third_party_libc___libc____testing", 711 "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing", 712 "cronet_aml_third_party_protobuf_protobuf_full__testing", 713 "cronet_aml_third_party_protobuf_protobuf_lite__testing", 714 "cronet_aml_third_party_protobuf_protoc_java__testing", 715 "cronet_aml_third_party_protobuf_protoc_lib__testing", 716 "cronet_aml_third_party_protobuf_protoc_python__testing", 717 ], 718 host_supported: true, 719 device_supported: false, 720 defaults: [ 721 "cronet_aml_cc_defaults", 722 ], 723 cflags: [ 724 "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", 725 "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", 726 "-DCR_SYSROOT_KEY=20230611T210420Z-2", 727 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 728 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 729 "-DGOOGLE_PROTOBUF_NO_RTTI", 730 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 731 "-DHAVE_PTHREAD", 732 "-DNDEBUG", 733 "-DNO_UNWIND_TABLES", 734 "-DNVALGRIND", 735 "-DOFFICIAL_BUILD", 736 "-DUSE_AURA=1", 737 "-DUSE_OZONE=1", 738 "-DUSE_UDEV", 739 "-D_FILE_OFFSET_BITS=64", 740 "-D_GNU_SOURCE", 741 "-D_LARGEFILE64_SOURCE", 742 "-D_LARGEFILE_SOURCE", 743 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 744 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 745 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 746 "-O2", 747 "-fdata-sections", 748 "-ffunction-sections", 749 "-fno-asynchronous-unwind-tables", 750 "-fno-unwind-tables", 751 "-fstack-protector", 752 "-fvisibility-inlines-hidden", 753 "-fvisibility=hidden", 754 "-g1", 755 "-msse3", 756 ], 757 include_dirs: [ 758 "external/cronet/", 759 "external/cronet/buildtools/third_party/libc++/", 760 "external/cronet/third_party/libc++/src/include", 761 "external/cronet/third_party/libc++abi/src/include", 762 "external/cronet/third_party/protobuf/src/", 763 ], 764 cpp_std: "c++20", 765 ldflags: [ 766 "-Wl,--as-needed", 767 "-Wl,--gc-sections", 768 "-Wl,--icf=all", 769 ], 770 visibility: [ 771 "//external/cronet:__subpackages__", 772 ], 773} 774 775// GN: //third_party/protobuf:protoc_java 776cc_library_static { 777 name: "cronet_aml_third_party_protobuf_protoc_java", 778 srcs: [ 779 "src/google/protobuf/compiler/java/context.cc", 780 "src/google/protobuf/compiler/java/doc_comment.cc", 781 "src/google/protobuf/compiler/java/enum.cc", 782 "src/google/protobuf/compiler/java/enum_field.cc", 783 "src/google/protobuf/compiler/java/enum_field_lite.cc", 784 "src/google/protobuf/compiler/java/enum_lite.cc", 785 "src/google/protobuf/compiler/java/extension.cc", 786 "src/google/protobuf/compiler/java/extension_lite.cc", 787 "src/google/protobuf/compiler/java/field.cc", 788 "src/google/protobuf/compiler/java/file.cc", 789 "src/google/protobuf/compiler/java/generator.cc", 790 "src/google/protobuf/compiler/java/generator_factory.cc", 791 "src/google/protobuf/compiler/java/helpers.cc", 792 "src/google/protobuf/compiler/java/kotlin_generator.cc", 793 "src/google/protobuf/compiler/java/map_field.cc", 794 "src/google/protobuf/compiler/java/map_field_lite.cc", 795 "src/google/protobuf/compiler/java/message.cc", 796 "src/google/protobuf/compiler/java/message_builder.cc", 797 "src/google/protobuf/compiler/java/message_builder_lite.cc", 798 "src/google/protobuf/compiler/java/message_field.cc", 799 "src/google/protobuf/compiler/java/message_field_lite.cc", 800 "src/google/protobuf/compiler/java/message_lite.cc", 801 "src/google/protobuf/compiler/java/name_resolver.cc", 802 "src/google/protobuf/compiler/java/primitive_field.cc", 803 "src/google/protobuf/compiler/java/primitive_field_lite.cc", 804 "src/google/protobuf/compiler/java/service.cc", 805 "src/google/protobuf/compiler/java/shared_code_generator.cc", 806 "src/google/protobuf/compiler/java/string_field.cc", 807 "src/google/protobuf/compiler/java/string_field_lite.cc", 808 ], 809 shared_libs: [ 810 "libz", 811 ], 812 host_supported: true, 813 device_supported: false, 814 defaults: [ 815 "cronet_aml_cc_defaults", 816 ], 817 cflags: [ 818 "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", 819 "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", 820 "-DCR_SYSROOT_KEY=20230611T210420Z-2", 821 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 822 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 823 "-DGOOGLE_PROTOBUF_NO_RTTI", 824 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 825 "-DHAVE_PTHREAD", 826 "-DNDEBUG", 827 "-DNO_UNWIND_TABLES", 828 "-DNVALGRIND", 829 "-DOFFICIAL_BUILD", 830 "-DUSE_AURA=1", 831 "-DUSE_OZONE=1", 832 "-DUSE_UDEV", 833 "-D_FILE_OFFSET_BITS=64", 834 "-D_GNU_SOURCE", 835 "-D_LARGEFILE64_SOURCE", 836 "-D_LARGEFILE_SOURCE", 837 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 838 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 839 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 840 "-O2", 841 "-fdata-sections", 842 "-ffunction-sections", 843 "-fno-asynchronous-unwind-tables", 844 "-fno-unwind-tables", 845 "-fstack-protector", 846 "-fvisibility-inlines-hidden", 847 "-fvisibility=hidden", 848 "-g1", 849 "-msse3", 850 ], 851 include_dirs: [ 852 "external/cronet/", 853 "external/cronet/buildtools/third_party/libc++/", 854 "external/cronet/third_party/libc++/src/include", 855 "external/cronet/third_party/libc++abi/src/include", 856 "external/cronet/third_party/protobuf/src/", 857 ], 858 cpp_std: "c++20", 859 ldflags: [ 860 "-Wl,--as-needed", 861 "-Wl,--gc-sections", 862 "-Wl,--icf=all", 863 ], 864 visibility: [ 865 "//external/cronet:__subpackages__", 866 ], 867} 868 869// GN: //third_party/protobuf:protoc_java__testing 870cc_library_static { 871 name: "cronet_aml_third_party_protobuf_protoc_java__testing", 872 srcs: [ 873 "src/google/protobuf/compiler/java/context.cc", 874 "src/google/protobuf/compiler/java/doc_comment.cc", 875 "src/google/protobuf/compiler/java/enum.cc", 876 "src/google/protobuf/compiler/java/enum_field.cc", 877 "src/google/protobuf/compiler/java/enum_field_lite.cc", 878 "src/google/protobuf/compiler/java/enum_lite.cc", 879 "src/google/protobuf/compiler/java/extension.cc", 880 "src/google/protobuf/compiler/java/extension_lite.cc", 881 "src/google/protobuf/compiler/java/field.cc", 882 "src/google/protobuf/compiler/java/file.cc", 883 "src/google/protobuf/compiler/java/generator.cc", 884 "src/google/protobuf/compiler/java/generator_factory.cc", 885 "src/google/protobuf/compiler/java/helpers.cc", 886 "src/google/protobuf/compiler/java/kotlin_generator.cc", 887 "src/google/protobuf/compiler/java/map_field.cc", 888 "src/google/protobuf/compiler/java/map_field_lite.cc", 889 "src/google/protobuf/compiler/java/message.cc", 890 "src/google/protobuf/compiler/java/message_builder.cc", 891 "src/google/protobuf/compiler/java/message_builder_lite.cc", 892 "src/google/protobuf/compiler/java/message_field.cc", 893 "src/google/protobuf/compiler/java/message_field_lite.cc", 894 "src/google/protobuf/compiler/java/message_lite.cc", 895 "src/google/protobuf/compiler/java/name_resolver.cc", 896 "src/google/protobuf/compiler/java/primitive_field.cc", 897 "src/google/protobuf/compiler/java/primitive_field_lite.cc", 898 "src/google/protobuf/compiler/java/service.cc", 899 "src/google/protobuf/compiler/java/shared_code_generator.cc", 900 "src/google/protobuf/compiler/java/string_field.cc", 901 "src/google/protobuf/compiler/java/string_field_lite.cc", 902 ], 903 shared_libs: [ 904 "libz", 905 ], 906 host_supported: true, 907 device_supported: false, 908 defaults: [ 909 "cronet_aml_cc_defaults", 910 ], 911 cflags: [ 912 "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", 913 "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", 914 "-DCR_SYSROOT_KEY=20230611T210420Z-2", 915 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 916 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 917 "-DGOOGLE_PROTOBUF_NO_RTTI", 918 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 919 "-DHAVE_PTHREAD", 920 "-DNDEBUG", 921 "-DNO_UNWIND_TABLES", 922 "-DNVALGRIND", 923 "-DOFFICIAL_BUILD", 924 "-DUSE_AURA=1", 925 "-DUSE_OZONE=1", 926 "-DUSE_UDEV", 927 "-D_FILE_OFFSET_BITS=64", 928 "-D_GNU_SOURCE", 929 "-D_LARGEFILE64_SOURCE", 930 "-D_LARGEFILE_SOURCE", 931 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 932 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 933 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 934 "-O2", 935 "-fdata-sections", 936 "-ffunction-sections", 937 "-fno-asynchronous-unwind-tables", 938 "-fno-unwind-tables", 939 "-fstack-protector", 940 "-fvisibility-inlines-hidden", 941 "-fvisibility=hidden", 942 "-g1", 943 "-msse3", 944 ], 945 include_dirs: [ 946 "external/cronet/", 947 "external/cronet/buildtools/third_party/libc++/", 948 "external/cronet/third_party/libc++/src/include", 949 "external/cronet/third_party/libc++abi/src/include", 950 "external/cronet/third_party/protobuf/src/", 951 ], 952 cpp_std: "c++20", 953 ldflags: [ 954 "-Wl,--as-needed", 955 "-Wl,--gc-sections", 956 "-Wl,--icf=all", 957 ], 958 visibility: [ 959 "//external/cronet:__subpackages__", 960 ], 961} 962 963// GN: //third_party/protobuf:protoc_lib 964cc_library_static { 965 name: "cronet_aml_third_party_protobuf_protoc_lib", 966 srcs: [ 967 "src/google/protobuf/compiler/code_generator.cc", 968 "src/google/protobuf/compiler/command_line_interface.cc", 969 "src/google/protobuf/compiler/cpp/enum.cc", 970 "src/google/protobuf/compiler/cpp/enum_field.cc", 971 "src/google/protobuf/compiler/cpp/extension.cc", 972 "src/google/protobuf/compiler/cpp/field.cc", 973 "src/google/protobuf/compiler/cpp/file.cc", 974 "src/google/protobuf/compiler/cpp/generator.cc", 975 "src/google/protobuf/compiler/cpp/helpers.cc", 976 "src/google/protobuf/compiler/cpp/map_field.cc", 977 "src/google/protobuf/compiler/cpp/message.cc", 978 "src/google/protobuf/compiler/cpp/message_field.cc", 979 "src/google/protobuf/compiler/cpp/padding_optimizer.cc", 980 "src/google/protobuf/compiler/cpp/parse_function_generator.cc", 981 "src/google/protobuf/compiler/cpp/primitive_field.cc", 982 "src/google/protobuf/compiler/cpp/service.cc", 983 "src/google/protobuf/compiler/cpp/string_field.cc", 984 "src/google/protobuf/compiler/csharp/csharp_doc_comment.cc", 985 "src/google/protobuf/compiler/csharp/csharp_enum.cc", 986 "src/google/protobuf/compiler/csharp/csharp_enum_field.cc", 987 "src/google/protobuf/compiler/csharp/csharp_field_base.cc", 988 "src/google/protobuf/compiler/csharp/csharp_generator.cc", 989 "src/google/protobuf/compiler/csharp/csharp_helpers.cc", 990 "src/google/protobuf/compiler/csharp/csharp_map_field.cc", 991 "src/google/protobuf/compiler/csharp/csharp_message.cc", 992 "src/google/protobuf/compiler/csharp/csharp_message_field.cc", 993 "src/google/protobuf/compiler/csharp/csharp_primitive_field.cc", 994 "src/google/protobuf/compiler/csharp/csharp_reflection_class.cc", 995 "src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc", 996 "src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc", 997 "src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc", 998 "src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc", 999 "src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc", 1000 "src/google/protobuf/compiler/objectivec/objectivec_enum.cc", 1001 "src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc", 1002 "src/google/protobuf/compiler/objectivec/objectivec_extension.cc", 1003 "src/google/protobuf/compiler/objectivec/objectivec_field.cc", 1004 "src/google/protobuf/compiler/objectivec/objectivec_file.cc", 1005 "src/google/protobuf/compiler/objectivec/objectivec_generator.cc", 1006 "src/google/protobuf/compiler/objectivec/objectivec_helpers.cc", 1007 "src/google/protobuf/compiler/objectivec/objectivec_map_field.cc", 1008 "src/google/protobuf/compiler/objectivec/objectivec_message.cc", 1009 "src/google/protobuf/compiler/objectivec/objectivec_message_field.cc", 1010 "src/google/protobuf/compiler/objectivec/objectivec_oneof.cc", 1011 "src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc", 1012 "src/google/protobuf/compiler/php/php_generator.cc", 1013 "src/google/protobuf/compiler/plugin.cc", 1014 "src/google/protobuf/compiler/plugin.pb.cc", 1015 "src/google/protobuf/compiler/ruby/ruby_generator.cc", 1016 "src/google/protobuf/compiler/subprocess.cc", 1017 "src/google/protobuf/compiler/zip_writer.cc", 1018 ], 1019 shared_libs: [ 1020 "libz", 1021 ], 1022 host_supported: true, 1023 device_supported: false, 1024 defaults: [ 1025 "cronet_aml_cc_defaults", 1026 ], 1027 cflags: [ 1028 "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", 1029 "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", 1030 "-DCR_SYSROOT_KEY=20230611T210420Z-2", 1031 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 1032 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 1033 "-DGOOGLE_PROTOBUF_NO_RTTI", 1034 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 1035 "-DHAVE_PTHREAD", 1036 "-DNDEBUG", 1037 "-DNO_UNWIND_TABLES", 1038 "-DNVALGRIND", 1039 "-DOFFICIAL_BUILD", 1040 "-DUSE_AURA=1", 1041 "-DUSE_OZONE=1", 1042 "-DUSE_UDEV", 1043 "-D_FILE_OFFSET_BITS=64", 1044 "-D_GNU_SOURCE", 1045 "-D_LARGEFILE64_SOURCE", 1046 "-D_LARGEFILE_SOURCE", 1047 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 1048 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 1049 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 1050 "-O2", 1051 "-fdata-sections", 1052 "-ffunction-sections", 1053 "-fno-asynchronous-unwind-tables", 1054 "-fno-unwind-tables", 1055 "-fstack-protector", 1056 "-fvisibility-inlines-hidden", 1057 "-fvisibility=hidden", 1058 "-g1", 1059 "-msse3", 1060 ], 1061 include_dirs: [ 1062 "external/cronet/", 1063 "external/cronet/buildtools/third_party/libc++/", 1064 "external/cronet/third_party/libc++/src/include", 1065 "external/cronet/third_party/libc++abi/src/include", 1066 "external/cronet/third_party/protobuf/src/", 1067 ], 1068 cpp_std: "c++20", 1069 ldflags: [ 1070 "-Wl,--as-needed", 1071 "-Wl,--gc-sections", 1072 "-Wl,--icf=all", 1073 ], 1074 visibility: [ 1075 "//external/cronet:__subpackages__", 1076 ], 1077} 1078 1079// GN: //third_party/protobuf:protoc_lib__testing 1080cc_library_static { 1081 name: "cronet_aml_third_party_protobuf_protoc_lib__testing", 1082 srcs: [ 1083 "src/google/protobuf/compiler/code_generator.cc", 1084 "src/google/protobuf/compiler/command_line_interface.cc", 1085 "src/google/protobuf/compiler/cpp/enum.cc", 1086 "src/google/protobuf/compiler/cpp/enum_field.cc", 1087 "src/google/protobuf/compiler/cpp/extension.cc", 1088 "src/google/protobuf/compiler/cpp/field.cc", 1089 "src/google/protobuf/compiler/cpp/file.cc", 1090 "src/google/protobuf/compiler/cpp/generator.cc", 1091 "src/google/protobuf/compiler/cpp/helpers.cc", 1092 "src/google/protobuf/compiler/cpp/map_field.cc", 1093 "src/google/protobuf/compiler/cpp/message.cc", 1094 "src/google/protobuf/compiler/cpp/message_field.cc", 1095 "src/google/protobuf/compiler/cpp/padding_optimizer.cc", 1096 "src/google/protobuf/compiler/cpp/parse_function_generator.cc", 1097 "src/google/protobuf/compiler/cpp/primitive_field.cc", 1098 "src/google/protobuf/compiler/cpp/service.cc", 1099 "src/google/protobuf/compiler/cpp/string_field.cc", 1100 "src/google/protobuf/compiler/csharp/csharp_doc_comment.cc", 1101 "src/google/protobuf/compiler/csharp/csharp_enum.cc", 1102 "src/google/protobuf/compiler/csharp/csharp_enum_field.cc", 1103 "src/google/protobuf/compiler/csharp/csharp_field_base.cc", 1104 "src/google/protobuf/compiler/csharp/csharp_generator.cc", 1105 "src/google/protobuf/compiler/csharp/csharp_helpers.cc", 1106 "src/google/protobuf/compiler/csharp/csharp_map_field.cc", 1107 "src/google/protobuf/compiler/csharp/csharp_message.cc", 1108 "src/google/protobuf/compiler/csharp/csharp_message_field.cc", 1109 "src/google/protobuf/compiler/csharp/csharp_primitive_field.cc", 1110 "src/google/protobuf/compiler/csharp/csharp_reflection_class.cc", 1111 "src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc", 1112 "src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc", 1113 "src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc", 1114 "src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc", 1115 "src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc", 1116 "src/google/protobuf/compiler/objectivec/objectivec_enum.cc", 1117 "src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc", 1118 "src/google/protobuf/compiler/objectivec/objectivec_extension.cc", 1119 "src/google/protobuf/compiler/objectivec/objectivec_field.cc", 1120 "src/google/protobuf/compiler/objectivec/objectivec_file.cc", 1121 "src/google/protobuf/compiler/objectivec/objectivec_generator.cc", 1122 "src/google/protobuf/compiler/objectivec/objectivec_helpers.cc", 1123 "src/google/protobuf/compiler/objectivec/objectivec_map_field.cc", 1124 "src/google/protobuf/compiler/objectivec/objectivec_message.cc", 1125 "src/google/protobuf/compiler/objectivec/objectivec_message_field.cc", 1126 "src/google/protobuf/compiler/objectivec/objectivec_oneof.cc", 1127 "src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc", 1128 "src/google/protobuf/compiler/php/php_generator.cc", 1129 "src/google/protobuf/compiler/plugin.cc", 1130 "src/google/protobuf/compiler/plugin.pb.cc", 1131 "src/google/protobuf/compiler/ruby/ruby_generator.cc", 1132 "src/google/protobuf/compiler/subprocess.cc", 1133 "src/google/protobuf/compiler/zip_writer.cc", 1134 ], 1135 shared_libs: [ 1136 "libz", 1137 ], 1138 host_supported: true, 1139 device_supported: false, 1140 defaults: [ 1141 "cronet_aml_cc_defaults", 1142 ], 1143 cflags: [ 1144 "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", 1145 "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", 1146 "-DCR_SYSROOT_KEY=20230611T210420Z-2", 1147 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 1148 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 1149 "-DGOOGLE_PROTOBUF_NO_RTTI", 1150 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 1151 "-DHAVE_PTHREAD", 1152 "-DNDEBUG", 1153 "-DNO_UNWIND_TABLES", 1154 "-DNVALGRIND", 1155 "-DOFFICIAL_BUILD", 1156 "-DUSE_AURA=1", 1157 "-DUSE_OZONE=1", 1158 "-DUSE_UDEV", 1159 "-D_FILE_OFFSET_BITS=64", 1160 "-D_GNU_SOURCE", 1161 "-D_LARGEFILE64_SOURCE", 1162 "-D_LARGEFILE_SOURCE", 1163 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 1164 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 1165 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 1166 "-O2", 1167 "-fdata-sections", 1168 "-ffunction-sections", 1169 "-fno-asynchronous-unwind-tables", 1170 "-fno-unwind-tables", 1171 "-fstack-protector", 1172 "-fvisibility-inlines-hidden", 1173 "-fvisibility=hidden", 1174 "-g1", 1175 "-msse3", 1176 ], 1177 include_dirs: [ 1178 "external/cronet/", 1179 "external/cronet/buildtools/third_party/libc++/", 1180 "external/cronet/third_party/libc++/src/include", 1181 "external/cronet/third_party/libc++abi/src/include", 1182 "external/cronet/third_party/protobuf/src/", 1183 ], 1184 cpp_std: "c++20", 1185 ldflags: [ 1186 "-Wl,--as-needed", 1187 "-Wl,--gc-sections", 1188 "-Wl,--icf=all", 1189 ], 1190 visibility: [ 1191 "//external/cronet:__subpackages__", 1192 ], 1193} 1194 1195// GN: //third_party/protobuf:protoc_python 1196cc_library_static { 1197 name: "cronet_aml_third_party_protobuf_protoc_python", 1198 srcs: [ 1199 "src/google/protobuf/compiler/python/generator.cc", 1200 "src/google/protobuf/compiler/python/helpers.cc", 1201 "src/google/protobuf/compiler/python/pyi_generator.cc", 1202 ], 1203 shared_libs: [ 1204 "libz", 1205 ], 1206 host_supported: true, 1207 device_supported: false, 1208 defaults: [ 1209 "cronet_aml_cc_defaults", 1210 ], 1211 cflags: [ 1212 "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", 1213 "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", 1214 "-DCR_SYSROOT_KEY=20230611T210420Z-2", 1215 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 1216 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 1217 "-DGOOGLE_PROTOBUF_NO_RTTI", 1218 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 1219 "-DHAVE_PTHREAD", 1220 "-DNDEBUG", 1221 "-DNO_UNWIND_TABLES", 1222 "-DNVALGRIND", 1223 "-DOFFICIAL_BUILD", 1224 "-DUSE_AURA=1", 1225 "-DUSE_OZONE=1", 1226 "-DUSE_UDEV", 1227 "-D_FILE_OFFSET_BITS=64", 1228 "-D_GNU_SOURCE", 1229 "-D_LARGEFILE64_SOURCE", 1230 "-D_LARGEFILE_SOURCE", 1231 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 1232 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 1233 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 1234 "-O2", 1235 "-fdata-sections", 1236 "-ffunction-sections", 1237 "-fno-asynchronous-unwind-tables", 1238 "-fno-unwind-tables", 1239 "-fstack-protector", 1240 "-fvisibility-inlines-hidden", 1241 "-fvisibility=hidden", 1242 "-g1", 1243 "-msse3", 1244 ], 1245 include_dirs: [ 1246 "external/cronet/", 1247 "external/cronet/buildtools/third_party/libc++/", 1248 "external/cronet/third_party/libc++/src/include", 1249 "external/cronet/third_party/libc++abi/src/include", 1250 "external/cronet/third_party/protobuf/src/", 1251 ], 1252 cpp_std: "c++20", 1253 ldflags: [ 1254 "-Wl,--as-needed", 1255 "-Wl,--gc-sections", 1256 "-Wl,--icf=all", 1257 ], 1258 visibility: [ 1259 "//external/cronet:__subpackages__", 1260 ], 1261} 1262 1263// GN: //third_party/protobuf:protoc_python__testing 1264cc_library_static { 1265 name: "cronet_aml_third_party_protobuf_protoc_python__testing", 1266 srcs: [ 1267 "src/google/protobuf/compiler/python/generator.cc", 1268 "src/google/protobuf/compiler/python/helpers.cc", 1269 "src/google/protobuf/compiler/python/pyi_generator.cc", 1270 ], 1271 shared_libs: [ 1272 "libz", 1273 ], 1274 host_supported: true, 1275 device_supported: false, 1276 defaults: [ 1277 "cronet_aml_cc_defaults", 1278 ], 1279 cflags: [ 1280 "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", 1281 "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", 1282 "-DCR_SYSROOT_KEY=20230611T210420Z-2", 1283 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 1284 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0", 1285 "-DGOOGLE_PROTOBUF_NO_RTTI", 1286 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 1287 "-DHAVE_PTHREAD", 1288 "-DNDEBUG", 1289 "-DNO_UNWIND_TABLES", 1290 "-DNVALGRIND", 1291 "-DOFFICIAL_BUILD", 1292 "-DUSE_AURA=1", 1293 "-DUSE_OZONE=1", 1294 "-DUSE_UDEV", 1295 "-D_FILE_OFFSET_BITS=64", 1296 "-D_GNU_SOURCE", 1297 "-D_LARGEFILE64_SOURCE", 1298 "-D_LARGEFILE_SOURCE", 1299 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 1300 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 1301 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 1302 "-O2", 1303 "-fdata-sections", 1304 "-ffunction-sections", 1305 "-fno-asynchronous-unwind-tables", 1306 "-fno-unwind-tables", 1307 "-fstack-protector", 1308 "-fvisibility-inlines-hidden", 1309 "-fvisibility=hidden", 1310 "-g1", 1311 "-msse3", 1312 ], 1313 include_dirs: [ 1314 "external/cronet/", 1315 "external/cronet/buildtools/third_party/libc++/", 1316 "external/cronet/third_party/libc++/src/include", 1317 "external/cronet/third_party/libc++abi/src/include", 1318 "external/cronet/third_party/protobuf/src/", 1319 ], 1320 cpp_std: "c++20", 1321 ldflags: [ 1322 "-Wl,--as-needed", 1323 "-Wl,--gc-sections", 1324 "-Wl,--icf=all", 1325 ], 1326 visibility: [ 1327 "//external/cronet:__subpackages__", 1328 ], 1329} 1330