• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        "stable_cronet_third_party_abseil-cpp_license",
21    ],
22}
23
24// GN: //third_party/abseil-cpp/absl/debugging:debugging_internal
25cc_library_static {
26    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_debugging_internal",
27    srcs: [
28        "internal/address_is_readable.cc",
29        "internal/elf_mem_image.cc",
30        "internal/vdso_support.cc",
31    ],
32    host_cross_supported: false,
33    defaults: [
34        "stable_cronet_cc_defaults",
35    ],
36    cflags: [
37        "-DABSL_ALLOCATOR_NOTHROW=1",
38        "-DANDROID",
39        "-DANDROID_NDK_VERSION_ROLL=r27_1",
40        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
41        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
42        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
43        "-DHAVE_SYS_UIO_H",
44        "-DNDEBUG",
45        "-DNVALGRIND",
46        "-DOFFICIAL_BUILD",
47        "-DTMP_REBUILD_HACK",
48        "-D_GNU_SOURCE",
49        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
50        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
51        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
52        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
53        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
54        "-fdata-sections",
55        "-ffunction-sections",
56        "-fstack-protector",
57        "-fvisibility-inlines-hidden",
58        "-fvisibility=hidden",
59        "-g1",
60    ],
61    include_dirs: [
62        "external/cronet/stable/",
63        "external/cronet/stable/buildtools/third_party/libc++/",
64        "external/cronet/stable/third_party/abseil-cpp/",
65        "external/cronet/stable/third_party/libc++/src/include",
66        "external/cronet/stable/third_party/libc++abi/src/include",
67    ],
68    cpp_std: "c++20",
69    ldflags: [
70        "-Wl,--as-needed",
71        "-Wl,--gc-sections",
72        "-Wl,--icf=all",
73    ],
74    visibility: [
75        "//external/cronet:__subpackages__",
76    ],
77    target: {
78        android_arm64: {
79            cflags: [
80                "-D__ARM_NEON__=1",
81                "-O2",
82                "-mno-outline",
83            ],
84        },
85        android_x86: {
86            cflags: [
87                "-msse3",
88            ],
89        },
90        android_x86_64: {
91            cflags: [
92                "-O2",
93                "-msse3",
94            ],
95        },
96    },
97}
98
99// GN: //third_party/abseil-cpp/absl/debugging:debugging_internal__testing
100cc_library_static {
101    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
102    srcs: [
103        "internal/address_is_readable.cc",
104        "internal/elf_mem_image.cc",
105        "internal/vdso_support.cc",
106    ],
107    host_supported: true,
108    host_cross_supported: false,
109    defaults: [
110        "stable_cronet_cc_defaults",
111    ],
112    cflags: [
113        "-DABSL_ALLOCATOR_NOTHROW=1",
114        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
115        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
116        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
117        "-DNDEBUG",
118        "-DNVALGRIND",
119        "-DOFFICIAL_BUILD",
120        "-DTMP_REBUILD_HACK",
121        "-D_GNU_SOURCE",
122        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
123        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
124        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
125        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
126        "-fdata-sections",
127        "-ffunction-sections",
128        "-fstack-protector",
129        "-fvisibility-inlines-hidden",
130        "-fvisibility=hidden",
131        "-g1",
132    ],
133    include_dirs: [
134        "external/cronet/stable/",
135        "external/cronet/stable/buildtools/third_party/libc++/",
136        "external/cronet/stable/third_party/abseil-cpp/",
137        "external/cronet/stable/third_party/libc++/src/include",
138        "external/cronet/stable/third_party/libc++abi/src/include",
139    ],
140    cpp_std: "c++20",
141    ldflags: [
142        "-Wl,--as-needed",
143        "-Wl,--gc-sections",
144        "-Wl,--icf=all",
145    ],
146    visibility: [
147        "//external/cronet:__subpackages__",
148    ],
149    target: {
150        android_arm: {
151            cflags: [
152                "-DANDROID",
153                "-DANDROID_NDK_VERSION_ROLL=r27_1",
154                "-DHAVE_SYS_UIO_H",
155                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
156            ],
157        },
158        android_arm64: {
159            cflags: [
160                "-DANDROID",
161                "-DANDROID_NDK_VERSION_ROLL=r27_1",
162                "-DHAVE_SYS_UIO_H",
163                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
164                "-D__ARM_NEON__=1",
165                "-O2",
166                "-mno-outline",
167            ],
168        },
169        android_riscv64: {
170            cflags: [
171                "-DANDROID",
172                "-DANDROID_NDK_VERSION_ROLL=r27_1",
173                "-DHAVE_SYS_UIO_H",
174                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
175            ],
176        },
177        android_x86: {
178            cflags: [
179                "-DANDROID",
180                "-DANDROID_NDK_VERSION_ROLL=r27_1",
181                "-DHAVE_SYS_UIO_H",
182                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
183                "-msse3",
184            ],
185        },
186        android_x86_64: {
187            cflags: [
188                "-DANDROID",
189                "-DANDROID_NDK_VERSION_ROLL=r27_1",
190                "-DHAVE_SYS_UIO_H",
191                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
192                "-O2",
193                "-msse3",
194            ],
195        },
196        host: {
197            cflags: [
198                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
199                "-DNO_UNWIND_TABLES",
200                "-DUSE_AURA=1",
201                "-DUSE_OZONE=1",
202                "-DUSE_UDEV",
203                "-D_FILE_OFFSET_BITS=64",
204                "-D_LARGEFILE64_SOURCE",
205                "-D_LARGEFILE_SOURCE",
206                "-O2",
207                "-fno-asynchronous-unwind-tables",
208                "-fno-unwind-tables",
209                "-msse3",
210            ],
211        },
212    },
213}
214
215// GN: //third_party/abseil-cpp/absl/debugging:decode_rust_punycode
216cc_library_static {
217    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_decode_rust_punycode",
218    srcs: [
219        "internal/decode_rust_punycode.cc",
220    ],
221    host_cross_supported: false,
222    defaults: [
223        "stable_cronet_cc_defaults",
224    ],
225    cflags: [
226        "-DABSL_ALLOCATOR_NOTHROW=1",
227        "-DANDROID",
228        "-DANDROID_NDK_VERSION_ROLL=r27_1",
229        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
230        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
231        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
232        "-DHAVE_SYS_UIO_H",
233        "-DNDEBUG",
234        "-DNVALGRIND",
235        "-DOFFICIAL_BUILD",
236        "-DTMP_REBUILD_HACK",
237        "-D_GNU_SOURCE",
238        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
239        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
240        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
241        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
242        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
243        "-fdata-sections",
244        "-ffunction-sections",
245        "-fstack-protector",
246        "-fvisibility-inlines-hidden",
247        "-fvisibility=hidden",
248        "-g1",
249    ],
250    include_dirs: [
251        "external/cronet/stable/",
252        "external/cronet/stable/buildtools/third_party/libc++/",
253        "external/cronet/stable/third_party/abseil-cpp/",
254        "external/cronet/stable/third_party/libc++/src/include",
255        "external/cronet/stable/third_party/libc++abi/src/include",
256    ],
257    cpp_std: "c++20",
258    ldflags: [
259        "-Wl,--as-needed",
260        "-Wl,--gc-sections",
261        "-Wl,--icf=all",
262    ],
263    visibility: [
264        "//external/cronet:__subpackages__",
265    ],
266    target: {
267        android_arm64: {
268            cflags: [
269                "-D__ARM_NEON__=1",
270                "-O2",
271                "-mno-outline",
272            ],
273        },
274        android_x86: {
275            cflags: [
276                "-msse3",
277            ],
278        },
279        android_x86_64: {
280            cflags: [
281                "-O2",
282                "-msse3",
283            ],
284        },
285    },
286}
287
288// GN: //third_party/abseil-cpp/absl/debugging:decode_rust_punycode__testing
289cc_library_static {
290    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_decode_rust_punycode__testing",
291    srcs: [
292        "internal/decode_rust_punycode.cc",
293    ],
294    host_supported: true,
295    host_cross_supported: false,
296    defaults: [
297        "stable_cronet_cc_defaults",
298    ],
299    cflags: [
300        "-DABSL_ALLOCATOR_NOTHROW=1",
301        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
302        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
303        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
304        "-DNDEBUG",
305        "-DNVALGRIND",
306        "-DOFFICIAL_BUILD",
307        "-DTMP_REBUILD_HACK",
308        "-D_GNU_SOURCE",
309        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
310        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
311        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
312        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
313        "-fdata-sections",
314        "-ffunction-sections",
315        "-fstack-protector",
316        "-fvisibility-inlines-hidden",
317        "-fvisibility=hidden",
318        "-g1",
319    ],
320    include_dirs: [
321        "external/cronet/stable/",
322        "external/cronet/stable/buildtools/third_party/libc++/",
323        "external/cronet/stable/third_party/abseil-cpp/",
324        "external/cronet/stable/third_party/libc++/src/include",
325        "external/cronet/stable/third_party/libc++abi/src/include",
326    ],
327    cpp_std: "c++20",
328    ldflags: [
329        "-Wl,--as-needed",
330        "-Wl,--gc-sections",
331        "-Wl,--icf=all",
332    ],
333    visibility: [
334        "//external/cronet:__subpackages__",
335    ],
336    target: {
337        android_arm: {
338            cflags: [
339                "-DANDROID",
340                "-DANDROID_NDK_VERSION_ROLL=r27_1",
341                "-DHAVE_SYS_UIO_H",
342                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
343            ],
344        },
345        android_arm64: {
346            cflags: [
347                "-DANDROID",
348                "-DANDROID_NDK_VERSION_ROLL=r27_1",
349                "-DHAVE_SYS_UIO_H",
350                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
351                "-D__ARM_NEON__=1",
352                "-O2",
353                "-mno-outline",
354            ],
355        },
356        android_riscv64: {
357            cflags: [
358                "-DANDROID",
359                "-DANDROID_NDK_VERSION_ROLL=r27_1",
360                "-DHAVE_SYS_UIO_H",
361                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
362            ],
363        },
364        android_x86: {
365            cflags: [
366                "-DANDROID",
367                "-DANDROID_NDK_VERSION_ROLL=r27_1",
368                "-DHAVE_SYS_UIO_H",
369                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
370                "-msse3",
371            ],
372        },
373        android_x86_64: {
374            cflags: [
375                "-DANDROID",
376                "-DANDROID_NDK_VERSION_ROLL=r27_1",
377                "-DHAVE_SYS_UIO_H",
378                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
379                "-O2",
380                "-msse3",
381            ],
382        },
383        host: {
384            cflags: [
385                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
386                "-DNO_UNWIND_TABLES",
387                "-DUSE_AURA=1",
388                "-DUSE_OZONE=1",
389                "-DUSE_UDEV",
390                "-D_FILE_OFFSET_BITS=64",
391                "-D_LARGEFILE64_SOURCE",
392                "-D_LARGEFILE_SOURCE",
393                "-O2",
394                "-fno-asynchronous-unwind-tables",
395                "-fno-unwind-tables",
396                "-msse3",
397            ],
398        },
399    },
400}
401
402// GN: //third_party/abseil-cpp/absl/debugging:demangle_internal
403cc_library_static {
404    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_demangle_internal",
405    srcs: [
406        "internal/demangle.cc",
407    ],
408    host_cross_supported: false,
409    defaults: [
410        "stable_cronet_cc_defaults",
411    ],
412    cflags: [
413        "-DABSL_ALLOCATOR_NOTHROW=1",
414        "-DANDROID",
415        "-DANDROID_NDK_VERSION_ROLL=r27_1",
416        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
417        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
418        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
419        "-DHAVE_SYS_UIO_H",
420        "-DNDEBUG",
421        "-DNVALGRIND",
422        "-DOFFICIAL_BUILD",
423        "-DTMP_REBUILD_HACK",
424        "-D_GNU_SOURCE",
425        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
426        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
427        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
428        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
429        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
430        "-fdata-sections",
431        "-ffunction-sections",
432        "-fstack-protector",
433        "-fvisibility-inlines-hidden",
434        "-fvisibility=hidden",
435        "-g1",
436    ],
437    include_dirs: [
438        "external/cronet/stable/",
439        "external/cronet/stable/buildtools/third_party/libc++/",
440        "external/cronet/stable/third_party/abseil-cpp/",
441        "external/cronet/stable/third_party/libc++/src/include",
442        "external/cronet/stable/third_party/libc++abi/src/include",
443    ],
444    cpp_std: "c++20",
445    ldflags: [
446        "-Wl,--as-needed",
447        "-Wl,--gc-sections",
448        "-Wl,--icf=all",
449    ],
450    visibility: [
451        "//external/cronet:__subpackages__",
452    ],
453    target: {
454        android_arm64: {
455            cflags: [
456                "-D__ARM_NEON__=1",
457                "-O2",
458                "-mno-outline",
459            ],
460        },
461        android_x86: {
462            cflags: [
463                "-msse3",
464            ],
465        },
466        android_x86_64: {
467            cflags: [
468                "-O2",
469                "-msse3",
470            ],
471        },
472    },
473}
474
475// GN: //third_party/abseil-cpp/absl/debugging:demangle_internal__testing
476cc_library_static {
477    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
478    srcs: [
479        "internal/demangle.cc",
480    ],
481    host_supported: true,
482    host_cross_supported: false,
483    defaults: [
484        "stable_cronet_cc_defaults",
485    ],
486    cflags: [
487        "-DABSL_ALLOCATOR_NOTHROW=1",
488        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
489        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
490        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
491        "-DNDEBUG",
492        "-DNVALGRIND",
493        "-DOFFICIAL_BUILD",
494        "-DTMP_REBUILD_HACK",
495        "-D_GNU_SOURCE",
496        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
497        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
498        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
499        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
500        "-fdata-sections",
501        "-ffunction-sections",
502        "-fstack-protector",
503        "-fvisibility-inlines-hidden",
504        "-fvisibility=hidden",
505        "-g1",
506    ],
507    include_dirs: [
508        "external/cronet/stable/",
509        "external/cronet/stable/buildtools/third_party/libc++/",
510        "external/cronet/stable/third_party/abseil-cpp/",
511        "external/cronet/stable/third_party/libc++/src/include",
512        "external/cronet/stable/third_party/libc++abi/src/include",
513    ],
514    cpp_std: "c++20",
515    ldflags: [
516        "-Wl,--as-needed",
517        "-Wl,--gc-sections",
518        "-Wl,--icf=all",
519    ],
520    visibility: [
521        "//external/cronet:__subpackages__",
522    ],
523    target: {
524        android_arm: {
525            cflags: [
526                "-DANDROID",
527                "-DANDROID_NDK_VERSION_ROLL=r27_1",
528                "-DHAVE_SYS_UIO_H",
529                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
530            ],
531        },
532        android_arm64: {
533            cflags: [
534                "-DANDROID",
535                "-DANDROID_NDK_VERSION_ROLL=r27_1",
536                "-DHAVE_SYS_UIO_H",
537                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
538                "-D__ARM_NEON__=1",
539                "-O2",
540                "-mno-outline",
541            ],
542        },
543        android_riscv64: {
544            cflags: [
545                "-DANDROID",
546                "-DANDROID_NDK_VERSION_ROLL=r27_1",
547                "-DHAVE_SYS_UIO_H",
548                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
549            ],
550        },
551        android_x86: {
552            cflags: [
553                "-DANDROID",
554                "-DANDROID_NDK_VERSION_ROLL=r27_1",
555                "-DHAVE_SYS_UIO_H",
556                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
557                "-msse3",
558            ],
559        },
560        android_x86_64: {
561            cflags: [
562                "-DANDROID",
563                "-DANDROID_NDK_VERSION_ROLL=r27_1",
564                "-DHAVE_SYS_UIO_H",
565                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
566                "-O2",
567                "-msse3",
568            ],
569        },
570        host: {
571            cflags: [
572                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
573                "-DNO_UNWIND_TABLES",
574                "-DUSE_AURA=1",
575                "-DUSE_OZONE=1",
576                "-DUSE_UDEV",
577                "-D_FILE_OFFSET_BITS=64",
578                "-D_LARGEFILE64_SOURCE",
579                "-D_LARGEFILE_SOURCE",
580                "-O2",
581                "-fno-asynchronous-unwind-tables",
582                "-fno-unwind-tables",
583                "-msse3",
584            ],
585        },
586    },
587}
588
589// GN: //third_party/abseil-cpp/absl/debugging:demangle_rust
590cc_library_static {
591    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_demangle_rust",
592    srcs: [
593        "internal/demangle_rust.cc",
594    ],
595    host_cross_supported: false,
596    defaults: [
597        "stable_cronet_cc_defaults",
598    ],
599    cflags: [
600        "-DABSL_ALLOCATOR_NOTHROW=1",
601        "-DANDROID",
602        "-DANDROID_NDK_VERSION_ROLL=r27_1",
603        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
604        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
605        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
606        "-DHAVE_SYS_UIO_H",
607        "-DNDEBUG",
608        "-DNVALGRIND",
609        "-DOFFICIAL_BUILD",
610        "-DTMP_REBUILD_HACK",
611        "-D_GNU_SOURCE",
612        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
613        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
614        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
615        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
616        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
617        "-fdata-sections",
618        "-ffunction-sections",
619        "-fstack-protector",
620        "-fvisibility-inlines-hidden",
621        "-fvisibility=hidden",
622        "-g1",
623    ],
624    include_dirs: [
625        "external/cronet/stable/",
626        "external/cronet/stable/buildtools/third_party/libc++/",
627        "external/cronet/stable/third_party/abseil-cpp/",
628        "external/cronet/stable/third_party/libc++/src/include",
629        "external/cronet/stable/third_party/libc++abi/src/include",
630    ],
631    cpp_std: "c++20",
632    ldflags: [
633        "-Wl,--as-needed",
634        "-Wl,--gc-sections",
635        "-Wl,--icf=all",
636    ],
637    visibility: [
638        "//external/cronet:__subpackages__",
639    ],
640    target: {
641        android_arm64: {
642            cflags: [
643                "-D__ARM_NEON__=1",
644                "-O2",
645                "-mno-outline",
646            ],
647        },
648        android_x86: {
649            cflags: [
650                "-msse3",
651            ],
652        },
653        android_x86_64: {
654            cflags: [
655                "-O2",
656                "-msse3",
657            ],
658        },
659    },
660}
661
662// GN: //third_party/abseil-cpp/absl/debugging:demangle_rust__testing
663cc_library_static {
664    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_demangle_rust__testing",
665    srcs: [
666        "internal/demangle_rust.cc",
667    ],
668    host_supported: true,
669    host_cross_supported: false,
670    defaults: [
671        "stable_cronet_cc_defaults",
672    ],
673    cflags: [
674        "-DABSL_ALLOCATOR_NOTHROW=1",
675        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
676        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
677        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
678        "-DNDEBUG",
679        "-DNVALGRIND",
680        "-DOFFICIAL_BUILD",
681        "-DTMP_REBUILD_HACK",
682        "-D_GNU_SOURCE",
683        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
684        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
685        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
686        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
687        "-fdata-sections",
688        "-ffunction-sections",
689        "-fstack-protector",
690        "-fvisibility-inlines-hidden",
691        "-fvisibility=hidden",
692        "-g1",
693    ],
694    include_dirs: [
695        "external/cronet/stable/",
696        "external/cronet/stable/buildtools/third_party/libc++/",
697        "external/cronet/stable/third_party/abseil-cpp/",
698        "external/cronet/stable/third_party/libc++/src/include",
699        "external/cronet/stable/third_party/libc++abi/src/include",
700    ],
701    cpp_std: "c++20",
702    ldflags: [
703        "-Wl,--as-needed",
704        "-Wl,--gc-sections",
705        "-Wl,--icf=all",
706    ],
707    visibility: [
708        "//external/cronet:__subpackages__",
709    ],
710    target: {
711        android_arm: {
712            cflags: [
713                "-DANDROID",
714                "-DANDROID_NDK_VERSION_ROLL=r27_1",
715                "-DHAVE_SYS_UIO_H",
716                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
717            ],
718        },
719        android_arm64: {
720            cflags: [
721                "-DANDROID",
722                "-DANDROID_NDK_VERSION_ROLL=r27_1",
723                "-DHAVE_SYS_UIO_H",
724                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
725                "-D__ARM_NEON__=1",
726                "-O2",
727                "-mno-outline",
728            ],
729        },
730        android_riscv64: {
731            cflags: [
732                "-DANDROID",
733                "-DANDROID_NDK_VERSION_ROLL=r27_1",
734                "-DHAVE_SYS_UIO_H",
735                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
736            ],
737        },
738        android_x86: {
739            cflags: [
740                "-DANDROID",
741                "-DANDROID_NDK_VERSION_ROLL=r27_1",
742                "-DHAVE_SYS_UIO_H",
743                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
744                "-msse3",
745            ],
746        },
747        android_x86_64: {
748            cflags: [
749                "-DANDROID",
750                "-DANDROID_NDK_VERSION_ROLL=r27_1",
751                "-DHAVE_SYS_UIO_H",
752                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
753                "-O2",
754                "-msse3",
755            ],
756        },
757        host: {
758            cflags: [
759                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
760                "-DNO_UNWIND_TABLES",
761                "-DUSE_AURA=1",
762                "-DUSE_OZONE=1",
763                "-DUSE_UDEV",
764                "-D_FILE_OFFSET_BITS=64",
765                "-D_LARGEFILE64_SOURCE",
766                "-D_LARGEFILE_SOURCE",
767                "-O2",
768                "-fno-asynchronous-unwind-tables",
769                "-fno-unwind-tables",
770                "-msse3",
771            ],
772        },
773    },
774}
775
776// GN: //third_party/abseil-cpp/absl/debugging:examine_stack
777cc_library_static {
778    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_examine_stack",
779    srcs: [
780        "internal/examine_stack.cc",
781    ],
782    host_cross_supported: false,
783    defaults: [
784        "stable_cronet_cc_defaults",
785    ],
786    cflags: [
787        "-DABSL_ALLOCATOR_NOTHROW=1",
788        "-DANDROID",
789        "-DANDROID_NDK_VERSION_ROLL=r27_1",
790        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
791        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
792        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
793        "-DHAVE_SYS_UIO_H",
794        "-DNDEBUG",
795        "-DNVALGRIND",
796        "-DOFFICIAL_BUILD",
797        "-DTMP_REBUILD_HACK",
798        "-D_GNU_SOURCE",
799        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
800        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
801        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
802        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
803        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
804        "-fdata-sections",
805        "-ffunction-sections",
806        "-fstack-protector",
807        "-fvisibility-inlines-hidden",
808        "-fvisibility=hidden",
809        "-g1",
810    ],
811    include_dirs: [
812        "external/cronet/stable/",
813        "external/cronet/stable/buildtools/third_party/libc++/",
814        "external/cronet/stable/third_party/abseil-cpp/",
815        "external/cronet/stable/third_party/libc++/src/include",
816        "external/cronet/stable/third_party/libc++abi/src/include",
817    ],
818    cpp_std: "c++20",
819    ldflags: [
820        "-Wl,--as-needed",
821        "-Wl,--gc-sections",
822        "-Wl,--icf=all",
823    ],
824    visibility: [
825        "//external/cronet:__subpackages__",
826    ],
827    target: {
828        android_arm64: {
829            cflags: [
830                "-D__ARM_NEON__=1",
831                "-O2",
832                "-mno-outline",
833            ],
834        },
835        android_x86: {
836            cflags: [
837                "-msse3",
838            ],
839        },
840        android_x86_64: {
841            cflags: [
842                "-O2",
843                "-msse3",
844            ],
845        },
846    },
847}
848
849// GN: //third_party/abseil-cpp/absl/debugging:examine_stack__testing
850cc_library_static {
851    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
852    srcs: [
853        "internal/examine_stack.cc",
854    ],
855    host_supported: true,
856    host_cross_supported: false,
857    defaults: [
858        "stable_cronet_cc_defaults",
859    ],
860    cflags: [
861        "-DABSL_ALLOCATOR_NOTHROW=1",
862        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
863        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
864        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
865        "-DNDEBUG",
866        "-DNVALGRIND",
867        "-DOFFICIAL_BUILD",
868        "-DTMP_REBUILD_HACK",
869        "-D_GNU_SOURCE",
870        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
871        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
872        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
873        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
874        "-fdata-sections",
875        "-ffunction-sections",
876        "-fstack-protector",
877        "-fvisibility-inlines-hidden",
878        "-fvisibility=hidden",
879        "-g1",
880    ],
881    include_dirs: [
882        "external/cronet/stable/",
883        "external/cronet/stable/buildtools/third_party/libc++/",
884        "external/cronet/stable/third_party/abseil-cpp/",
885        "external/cronet/stable/third_party/libc++/src/include",
886        "external/cronet/stable/third_party/libc++abi/src/include",
887    ],
888    cpp_std: "c++20",
889    ldflags: [
890        "-Wl,--as-needed",
891        "-Wl,--gc-sections",
892        "-Wl,--icf=all",
893    ],
894    visibility: [
895        "//external/cronet:__subpackages__",
896    ],
897    target: {
898        android_arm: {
899            cflags: [
900                "-DANDROID",
901                "-DANDROID_NDK_VERSION_ROLL=r27_1",
902                "-DHAVE_SYS_UIO_H",
903                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
904            ],
905        },
906        android_arm64: {
907            cflags: [
908                "-DANDROID",
909                "-DANDROID_NDK_VERSION_ROLL=r27_1",
910                "-DHAVE_SYS_UIO_H",
911                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
912                "-D__ARM_NEON__=1",
913                "-O2",
914                "-mno-outline",
915            ],
916        },
917        android_riscv64: {
918            cflags: [
919                "-DANDROID",
920                "-DANDROID_NDK_VERSION_ROLL=r27_1",
921                "-DHAVE_SYS_UIO_H",
922                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
923            ],
924        },
925        android_x86: {
926            cflags: [
927                "-DANDROID",
928                "-DANDROID_NDK_VERSION_ROLL=r27_1",
929                "-DHAVE_SYS_UIO_H",
930                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
931                "-msse3",
932            ],
933        },
934        android_x86_64: {
935            cflags: [
936                "-DANDROID",
937                "-DANDROID_NDK_VERSION_ROLL=r27_1",
938                "-DHAVE_SYS_UIO_H",
939                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
940                "-O2",
941                "-msse3",
942            ],
943        },
944        host: {
945            cflags: [
946                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
947                "-DNO_UNWIND_TABLES",
948                "-DUSE_AURA=1",
949                "-DUSE_OZONE=1",
950                "-DUSE_UDEV",
951                "-D_FILE_OFFSET_BITS=64",
952                "-D_LARGEFILE64_SOURCE",
953                "-D_LARGEFILE_SOURCE",
954                "-O2",
955                "-fno-asynchronous-unwind-tables",
956                "-fno-unwind-tables",
957                "-msse3",
958            ],
959        },
960    },
961}
962
963// GN: //third_party/abseil-cpp/absl/debugging:failure_signal_handler
964cc_library_static {
965    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
966    srcs: [
967        "failure_signal_handler.cc",
968    ],
969    host_cross_supported: false,
970    defaults: [
971        "stable_cronet_cc_defaults",
972    ],
973    cflags: [
974        "-DABSL_ALLOCATOR_NOTHROW=1",
975        "-DANDROID",
976        "-DANDROID_NDK_VERSION_ROLL=r27_1",
977        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
978        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
979        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
980        "-DHAVE_SYS_UIO_H",
981        "-DNDEBUG",
982        "-DNVALGRIND",
983        "-DOFFICIAL_BUILD",
984        "-DTMP_REBUILD_HACK",
985        "-D_GNU_SOURCE",
986        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
987        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
988        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
989        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
990        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
991        "-fdata-sections",
992        "-ffunction-sections",
993        "-fstack-protector",
994        "-fvisibility-inlines-hidden",
995        "-fvisibility=hidden",
996        "-g1",
997    ],
998    include_dirs: [
999        "external/cronet/stable/",
1000        "external/cronet/stable/buildtools/third_party/libc++/",
1001        "external/cronet/stable/third_party/abseil-cpp/",
1002        "external/cronet/stable/third_party/libc++/src/include",
1003        "external/cronet/stable/third_party/libc++abi/src/include",
1004    ],
1005    cpp_std: "c++20",
1006    ldflags: [
1007        "-Wl,--as-needed",
1008        "-Wl,--gc-sections",
1009        "-Wl,--icf=all",
1010    ],
1011    visibility: [
1012        "//external/cronet:__subpackages__",
1013    ],
1014    target: {
1015        android_arm64: {
1016            cflags: [
1017                "-D__ARM_NEON__=1",
1018                "-O2",
1019                "-mno-outline",
1020            ],
1021        },
1022        android_x86: {
1023            cflags: [
1024                "-msse3",
1025            ],
1026        },
1027        android_x86_64: {
1028            cflags: [
1029                "-O2",
1030                "-msse3",
1031            ],
1032        },
1033    },
1034}
1035
1036// GN: //third_party/abseil-cpp/absl/debugging:failure_signal_handler__testing
1037cc_library_static {
1038    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
1039    srcs: [
1040        "failure_signal_handler.cc",
1041    ],
1042    host_supported: true,
1043    host_cross_supported: false,
1044    defaults: [
1045        "stable_cronet_cc_defaults",
1046    ],
1047    cflags: [
1048        "-DABSL_ALLOCATOR_NOTHROW=1",
1049        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
1050        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
1051        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
1052        "-DNDEBUG",
1053        "-DNVALGRIND",
1054        "-DOFFICIAL_BUILD",
1055        "-DTMP_REBUILD_HACK",
1056        "-D_GNU_SOURCE",
1057        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1058        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
1059        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
1060        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1061        "-fdata-sections",
1062        "-ffunction-sections",
1063        "-fstack-protector",
1064        "-fvisibility-inlines-hidden",
1065        "-fvisibility=hidden",
1066        "-g1",
1067    ],
1068    include_dirs: [
1069        "external/cronet/stable/",
1070        "external/cronet/stable/buildtools/third_party/libc++/",
1071        "external/cronet/stable/third_party/abseil-cpp/",
1072        "external/cronet/stable/third_party/libc++/src/include",
1073        "external/cronet/stable/third_party/libc++abi/src/include",
1074    ],
1075    cpp_std: "c++20",
1076    ldflags: [
1077        "-Wl,--as-needed",
1078        "-Wl,--gc-sections",
1079        "-Wl,--icf=all",
1080    ],
1081    visibility: [
1082        "//external/cronet:__subpackages__",
1083    ],
1084    target: {
1085        android_arm: {
1086            cflags: [
1087                "-DANDROID",
1088                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1089                "-DHAVE_SYS_UIO_H",
1090                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1091            ],
1092        },
1093        android_arm64: {
1094            cflags: [
1095                "-DANDROID",
1096                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1097                "-DHAVE_SYS_UIO_H",
1098                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1099                "-D__ARM_NEON__=1",
1100                "-O2",
1101                "-mno-outline",
1102            ],
1103        },
1104        android_riscv64: {
1105            cflags: [
1106                "-DANDROID",
1107                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1108                "-DHAVE_SYS_UIO_H",
1109                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1110            ],
1111        },
1112        android_x86: {
1113            cflags: [
1114                "-DANDROID",
1115                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1116                "-DHAVE_SYS_UIO_H",
1117                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1118                "-msse3",
1119            ],
1120        },
1121        android_x86_64: {
1122            cflags: [
1123                "-DANDROID",
1124                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1125                "-DHAVE_SYS_UIO_H",
1126                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1127                "-O2",
1128                "-msse3",
1129            ],
1130        },
1131        host: {
1132            cflags: [
1133                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
1134                "-DNO_UNWIND_TABLES",
1135                "-DUSE_AURA=1",
1136                "-DUSE_OZONE=1",
1137                "-DUSE_UDEV",
1138                "-D_FILE_OFFSET_BITS=64",
1139                "-D_LARGEFILE64_SOURCE",
1140                "-D_LARGEFILE_SOURCE",
1141                "-O2",
1142                "-fno-asynchronous-unwind-tables",
1143                "-fno-unwind-tables",
1144                "-msse3",
1145            ],
1146        },
1147    },
1148}
1149
1150// GN: //third_party/abseil-cpp/absl/debugging:stacktrace
1151cc_library_static {
1152    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_stacktrace",
1153    srcs: [
1154        "stacktrace.cc",
1155    ],
1156    host_cross_supported: false,
1157    defaults: [
1158        "stable_cronet_cc_defaults",
1159    ],
1160    cflags: [
1161        "-DABSL_ALLOCATOR_NOTHROW=1",
1162        "-DANDROID",
1163        "-DANDROID_NDK_VERSION_ROLL=r27_1",
1164        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
1165        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
1166        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
1167        "-DHAVE_SYS_UIO_H",
1168        "-DNDEBUG",
1169        "-DNVALGRIND",
1170        "-DOFFICIAL_BUILD",
1171        "-DTMP_REBUILD_HACK",
1172        "-D_GNU_SOURCE",
1173        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1174        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
1175        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
1176        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1177        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1178        "-fdata-sections",
1179        "-ffunction-sections",
1180        "-fstack-protector",
1181        "-fvisibility-inlines-hidden",
1182        "-fvisibility=hidden",
1183        "-g1",
1184    ],
1185    include_dirs: [
1186        "external/cronet/stable/",
1187        "external/cronet/stable/buildtools/third_party/libc++/",
1188        "external/cronet/stable/third_party/abseil-cpp/",
1189        "external/cronet/stable/third_party/libc++/src/include",
1190        "external/cronet/stable/third_party/libc++abi/src/include",
1191    ],
1192    cpp_std: "c++20",
1193    ldflags: [
1194        "-Wl,--as-needed",
1195        "-Wl,--gc-sections",
1196        "-Wl,--icf=all",
1197    ],
1198    visibility: [
1199        "//external/cronet:__subpackages__",
1200    ],
1201    target: {
1202        android_arm64: {
1203            cflags: [
1204                "-D__ARM_NEON__=1",
1205                "-O2",
1206                "-mno-outline",
1207            ],
1208        },
1209        android_x86: {
1210            cflags: [
1211                "-msse3",
1212            ],
1213        },
1214        android_x86_64: {
1215            cflags: [
1216                "-O2",
1217                "-msse3",
1218            ],
1219        },
1220    },
1221}
1222
1223// GN: //third_party/abseil-cpp/absl/debugging:stacktrace__testing
1224cc_library_static {
1225    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
1226    srcs: [
1227        "stacktrace.cc",
1228    ],
1229    host_supported: true,
1230    host_cross_supported: false,
1231    defaults: [
1232        "stable_cronet_cc_defaults",
1233    ],
1234    cflags: [
1235        "-DABSL_ALLOCATOR_NOTHROW=1",
1236        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
1237        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
1238        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
1239        "-DNDEBUG",
1240        "-DNVALGRIND",
1241        "-DOFFICIAL_BUILD",
1242        "-DTMP_REBUILD_HACK",
1243        "-D_GNU_SOURCE",
1244        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1245        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
1246        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
1247        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1248        "-fdata-sections",
1249        "-ffunction-sections",
1250        "-fstack-protector",
1251        "-fvisibility-inlines-hidden",
1252        "-fvisibility=hidden",
1253        "-g1",
1254    ],
1255    include_dirs: [
1256        "external/cronet/stable/",
1257        "external/cronet/stable/buildtools/third_party/libc++/",
1258        "external/cronet/stable/third_party/abseil-cpp/",
1259        "external/cronet/stable/third_party/libc++/src/include",
1260        "external/cronet/stable/third_party/libc++abi/src/include",
1261    ],
1262    cpp_std: "c++20",
1263    ldflags: [
1264        "-Wl,--as-needed",
1265        "-Wl,--gc-sections",
1266        "-Wl,--icf=all",
1267    ],
1268    visibility: [
1269        "//external/cronet:__subpackages__",
1270    ],
1271    target: {
1272        android_arm: {
1273            cflags: [
1274                "-DANDROID",
1275                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1276                "-DHAVE_SYS_UIO_H",
1277                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1278            ],
1279        },
1280        android_arm64: {
1281            cflags: [
1282                "-DANDROID",
1283                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1284                "-DHAVE_SYS_UIO_H",
1285                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1286                "-D__ARM_NEON__=1",
1287                "-O2",
1288                "-mno-outline",
1289            ],
1290        },
1291        android_riscv64: {
1292            cflags: [
1293                "-DANDROID",
1294                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1295                "-DHAVE_SYS_UIO_H",
1296                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1297            ],
1298        },
1299        android_x86: {
1300            cflags: [
1301                "-DANDROID",
1302                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1303                "-DHAVE_SYS_UIO_H",
1304                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1305                "-msse3",
1306            ],
1307        },
1308        android_x86_64: {
1309            cflags: [
1310                "-DANDROID",
1311                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1312                "-DHAVE_SYS_UIO_H",
1313                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1314                "-O2",
1315                "-msse3",
1316            ],
1317        },
1318        host: {
1319            cflags: [
1320                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
1321                "-DNO_UNWIND_TABLES",
1322                "-DUSE_AURA=1",
1323                "-DUSE_OZONE=1",
1324                "-DUSE_UDEV",
1325                "-D_FILE_OFFSET_BITS=64",
1326                "-D_LARGEFILE64_SOURCE",
1327                "-D_LARGEFILE_SOURCE",
1328                "-O2",
1329                "-fno-asynchronous-unwind-tables",
1330                "-fno-unwind-tables",
1331                "-msse3",
1332            ],
1333        },
1334    },
1335}
1336
1337// GN: //third_party/abseil-cpp/absl/debugging:symbolize
1338cc_library_static {
1339    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_symbolize",
1340    srcs: [
1341        "symbolize.cc",
1342    ],
1343    host_cross_supported: false,
1344    defaults: [
1345        "stable_cronet_cc_defaults",
1346    ],
1347    cflags: [
1348        "-DABSL_ALLOCATOR_NOTHROW=1",
1349        "-DANDROID",
1350        "-DANDROID_NDK_VERSION_ROLL=r27_1",
1351        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
1352        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
1353        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
1354        "-DHAVE_SYS_UIO_H",
1355        "-DNDEBUG",
1356        "-DNVALGRIND",
1357        "-DOFFICIAL_BUILD",
1358        "-DTMP_REBUILD_HACK",
1359        "-D_GNU_SOURCE",
1360        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1361        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
1362        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
1363        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1364        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1365        "-fdata-sections",
1366        "-ffunction-sections",
1367        "-fstack-protector",
1368        "-fvisibility-inlines-hidden",
1369        "-fvisibility=hidden",
1370        "-g1",
1371    ],
1372    include_dirs: [
1373        "external/cronet/stable/",
1374        "external/cronet/stable/buildtools/third_party/libc++/",
1375        "external/cronet/stable/third_party/abseil-cpp/",
1376        "external/cronet/stable/third_party/libc++/src/include",
1377        "external/cronet/stable/third_party/libc++abi/src/include",
1378    ],
1379    cpp_std: "c++20",
1380    ldflags: [
1381        "-Wl,--as-needed",
1382        "-Wl,--gc-sections",
1383        "-Wl,--icf=all",
1384    ],
1385    visibility: [
1386        "//external/cronet:__subpackages__",
1387    ],
1388    target: {
1389        android_arm64: {
1390            cflags: [
1391                "-D__ARM_NEON__=1",
1392                "-O2",
1393                "-mno-outline",
1394            ],
1395        },
1396        android_x86: {
1397            cflags: [
1398                "-msse3",
1399            ],
1400        },
1401        android_x86_64: {
1402            cflags: [
1403                "-O2",
1404                "-msse3",
1405            ],
1406        },
1407    },
1408}
1409
1410// GN: //third_party/abseil-cpp/absl/debugging:symbolize__testing
1411cc_library_static {
1412    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_symbolize__testing",
1413    srcs: [
1414        "symbolize.cc",
1415    ],
1416    host_supported: true,
1417    host_cross_supported: false,
1418    defaults: [
1419        "stable_cronet_cc_defaults",
1420    ],
1421    cflags: [
1422        "-DABSL_ALLOCATOR_NOTHROW=1",
1423        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
1424        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
1425        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
1426        "-DNDEBUG",
1427        "-DNVALGRIND",
1428        "-DOFFICIAL_BUILD",
1429        "-DTMP_REBUILD_HACK",
1430        "-D_GNU_SOURCE",
1431        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1432        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
1433        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
1434        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1435        "-fdata-sections",
1436        "-ffunction-sections",
1437        "-fstack-protector",
1438        "-fvisibility-inlines-hidden",
1439        "-fvisibility=hidden",
1440        "-g1",
1441    ],
1442    include_dirs: [
1443        "external/cronet/stable/",
1444        "external/cronet/stable/buildtools/third_party/libc++/",
1445        "external/cronet/stable/third_party/abseil-cpp/",
1446        "external/cronet/stable/third_party/libc++/src/include",
1447        "external/cronet/stable/third_party/libc++abi/src/include",
1448    ],
1449    cpp_std: "c++20",
1450    ldflags: [
1451        "-Wl,--as-needed",
1452        "-Wl,--gc-sections",
1453        "-Wl,--icf=all",
1454    ],
1455    visibility: [
1456        "//external/cronet:__subpackages__",
1457    ],
1458    target: {
1459        android_arm: {
1460            cflags: [
1461                "-DANDROID",
1462                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1463                "-DHAVE_SYS_UIO_H",
1464                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1465            ],
1466        },
1467        android_arm64: {
1468            cflags: [
1469                "-DANDROID",
1470                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1471                "-DHAVE_SYS_UIO_H",
1472                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1473                "-D__ARM_NEON__=1",
1474                "-O2",
1475                "-mno-outline",
1476            ],
1477        },
1478        android_riscv64: {
1479            cflags: [
1480                "-DANDROID",
1481                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1482                "-DHAVE_SYS_UIO_H",
1483                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1484            ],
1485        },
1486        android_x86: {
1487            cflags: [
1488                "-DANDROID",
1489                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1490                "-DHAVE_SYS_UIO_H",
1491                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1492                "-msse3",
1493            ],
1494        },
1495        android_x86_64: {
1496            cflags: [
1497                "-DANDROID",
1498                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1499                "-DHAVE_SYS_UIO_H",
1500                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1501                "-O2",
1502                "-msse3",
1503            ],
1504        },
1505        host: {
1506            cflags: [
1507                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
1508                "-DNO_UNWIND_TABLES",
1509                "-DUSE_AURA=1",
1510                "-DUSE_OZONE=1",
1511                "-DUSE_UDEV",
1512                "-D_FILE_OFFSET_BITS=64",
1513                "-D_LARGEFILE64_SOURCE",
1514                "-D_LARGEFILE_SOURCE",
1515                "-O2",
1516                "-fno-asynchronous-unwind-tables",
1517                "-fno-unwind-tables",
1518                "-msse3",
1519            ],
1520        },
1521    },
1522}
1523
1524// GN: //third_party/abseil-cpp/absl/debugging:utf8_for_code_point
1525cc_library_static {
1526    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_utf8_for_code_point",
1527    srcs: [
1528        "internal/utf8_for_code_point.cc",
1529    ],
1530    host_cross_supported: false,
1531    defaults: [
1532        "stable_cronet_cc_defaults",
1533    ],
1534    cflags: [
1535        "-DABSL_ALLOCATOR_NOTHROW=1",
1536        "-DANDROID",
1537        "-DANDROID_NDK_VERSION_ROLL=r27_1",
1538        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
1539        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
1540        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
1541        "-DHAVE_SYS_UIO_H",
1542        "-DNDEBUG",
1543        "-DNVALGRIND",
1544        "-DOFFICIAL_BUILD",
1545        "-DTMP_REBUILD_HACK",
1546        "-D_GNU_SOURCE",
1547        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1548        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
1549        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
1550        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1551        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1552        "-fdata-sections",
1553        "-ffunction-sections",
1554        "-fstack-protector",
1555        "-fvisibility-inlines-hidden",
1556        "-fvisibility=hidden",
1557        "-g1",
1558    ],
1559    include_dirs: [
1560        "external/cronet/stable/",
1561        "external/cronet/stable/buildtools/third_party/libc++/",
1562        "external/cronet/stable/third_party/abseil-cpp/",
1563        "external/cronet/stable/third_party/libc++/src/include",
1564        "external/cronet/stable/third_party/libc++abi/src/include",
1565    ],
1566    cpp_std: "c++20",
1567    ldflags: [
1568        "-Wl,--as-needed",
1569        "-Wl,--gc-sections",
1570        "-Wl,--icf=all",
1571    ],
1572    visibility: [
1573        "//external/cronet:__subpackages__",
1574    ],
1575    target: {
1576        android_arm64: {
1577            cflags: [
1578                "-D__ARM_NEON__=1",
1579                "-O2",
1580                "-mno-outline",
1581            ],
1582        },
1583        android_x86: {
1584            cflags: [
1585                "-msse3",
1586            ],
1587        },
1588        android_x86_64: {
1589            cflags: [
1590                "-O2",
1591                "-msse3",
1592            ],
1593        },
1594    },
1595}
1596
1597// GN: //third_party/abseil-cpp/absl/debugging:utf8_for_code_point__testing
1598cc_library_static {
1599    name: "stable_cronet_third_party_abseil_cpp_absl_debugging_utf8_for_code_point__testing",
1600    srcs: [
1601        "internal/utf8_for_code_point.cc",
1602    ],
1603    host_supported: true,
1604    host_cross_supported: false,
1605    defaults: [
1606        "stable_cronet_cc_defaults",
1607    ],
1608    cflags: [
1609        "-DABSL_ALLOCATOR_NOTHROW=1",
1610        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
1611        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
1612        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
1613        "-DNDEBUG",
1614        "-DNVALGRIND",
1615        "-DOFFICIAL_BUILD",
1616        "-DTMP_REBUILD_HACK",
1617        "-D_GNU_SOURCE",
1618        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1619        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
1620        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
1621        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1622        "-fdata-sections",
1623        "-ffunction-sections",
1624        "-fstack-protector",
1625        "-fvisibility-inlines-hidden",
1626        "-fvisibility=hidden",
1627        "-g1",
1628    ],
1629    include_dirs: [
1630        "external/cronet/stable/",
1631        "external/cronet/stable/buildtools/third_party/libc++/",
1632        "external/cronet/stable/third_party/abseil-cpp/",
1633        "external/cronet/stable/third_party/libc++/src/include",
1634        "external/cronet/stable/third_party/libc++abi/src/include",
1635    ],
1636    cpp_std: "c++20",
1637    ldflags: [
1638        "-Wl,--as-needed",
1639        "-Wl,--gc-sections",
1640        "-Wl,--icf=all",
1641    ],
1642    visibility: [
1643        "//external/cronet:__subpackages__",
1644    ],
1645    target: {
1646        android_arm: {
1647            cflags: [
1648                "-DANDROID",
1649                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1650                "-DHAVE_SYS_UIO_H",
1651                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1652            ],
1653        },
1654        android_arm64: {
1655            cflags: [
1656                "-DANDROID",
1657                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1658                "-DHAVE_SYS_UIO_H",
1659                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1660                "-D__ARM_NEON__=1",
1661                "-O2",
1662                "-mno-outline",
1663            ],
1664        },
1665        android_riscv64: {
1666            cflags: [
1667                "-DANDROID",
1668                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1669                "-DHAVE_SYS_UIO_H",
1670                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1671            ],
1672        },
1673        android_x86: {
1674            cflags: [
1675                "-DANDROID",
1676                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1677                "-DHAVE_SYS_UIO_H",
1678                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1679                "-msse3",
1680            ],
1681        },
1682        android_x86_64: {
1683            cflags: [
1684                "-DANDROID",
1685                "-DANDROID_NDK_VERSION_ROLL=r27_1",
1686                "-DHAVE_SYS_UIO_H",
1687                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1688                "-O2",
1689                "-msse3",
1690            ],
1691        },
1692        host: {
1693            cflags: [
1694                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
1695                "-DNO_UNWIND_TABLES",
1696                "-DUSE_AURA=1",
1697                "-DUSE_OZONE=1",
1698                "-DUSE_UDEV",
1699                "-D_FILE_OFFSET_BITS=64",
1700                "-D_LARGEFILE64_SOURCE",
1701                "-D_LARGEFILE_SOURCE",
1702                "-O2",
1703                "-fno-asynchronous-unwind-tables",
1704                "-fno-unwind-tables",
1705                "-msse3",
1706            ],
1707        },
1708    },
1709}
1710