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